swagger.yaml 129 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.QueryNoticeRsp:
  22. properties:
  23. auditoruserid:
  24. description: 审核人
  25. type: integer
  26. auditremark:
  27. description: 审核备注
  28. type: string
  29. audittime:
  30. description: 审核日期
  31. type: string
  32. autoid:
  33. description: 自增ID
  34. type: integer
  35. content:
  36. description: 内容
  37. type: string
  38. createtime:
  39. description: 创建时间
  40. type: string
  41. creatorid:
  42. description: 建仓人
  43. type: integer
  44. endtime:
  45. description: 结束时间
  46. type: string
  47. istop:
  48. description: 是否置顶 - 0:不置顶 1:置顶
  49. type: integer
  50. msgtype:
  51. description: 消息类型 - 1:公告通知 2:系统消息
  52. type: integer
  53. publisher:
  54. description: 消息发布者
  55. type: string
  56. readed:
  57. description: 是否已读
  58. type: boolean
  59. scheduletime:
  60. description: 计划发送时间
  61. type: string
  62. sendtype:
  63. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  64. type: integer
  65. sentstatus:
  66. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  67. type: integer
  68. title:
  69. description: 标题
  70. type: string
  71. userid:
  72. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  73. type: integer
  74. required:
  75. - autoid
  76. type: object
  77. common.QueryProvincesAndCitiesRsp:
  78. properties:
  79. cities:
  80. description: 市
  81. items:
  82. $ref: '#/definitions/models.Division'
  83. type: array
  84. province:
  85. $ref: '#/definitions/models.Division'
  86. description: 省
  87. type: object
  88. common.QueryTableDefineRsp:
  89. properties:
  90. columns:
  91. description: 列头信息数组
  92. items:
  93. $ref: '#/definitions/models.Tablecolumnconfig'
  94. type: array
  95. remark:
  96. description: Remark
  97. type: string
  98. tabelmenu:
  99. description: 列表菜单
  100. type: string
  101. tablekey:
  102. description: 列表Key
  103. type: string
  104. tablename:
  105. description: 列表名称
  106. type: string
  107. tabletype:
  108. description: 列表类型 - 1:管理端 2:终端
  109. type: integer
  110. required:
  111. - tablekey
  112. type: object
  113. common.QueryTraderMenuRsp:
  114. properties:
  115. OperationMenu:
  116. description: 功能菜单
  117. items:
  118. $ref: '#/definitions/models.OperationPrimaryMenu'
  119. type: array
  120. QuoteMenu:
  121. description: 报价牌分类菜单
  122. items:
  123. $ref: '#/definitions/models.QuotePrimaryMenu'
  124. type: array
  125. type: object
  126. cptrade.Cptradepositioncancel:
  127. properties:
  128. accountid:
  129. description: 申请人账户ID
  130. type: integer
  131. applystatus:
  132. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  133. type: integer
  134. applytime:
  135. description: 申请时间
  136. type: string
  137. cancelid:
  138. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  139. type: integer
  140. cancelqty:
  141. description: 注销数量
  142. type: integer
  143. createtime:
  144. description: 创建时间
  145. type: string
  146. creatorid:
  147. description: 创建人ID
  148. type: integer
  149. creatorname:
  150. description: 创建人
  151. type: string
  152. goodscode:
  153. description: 订单商品代码
  154. type: string
  155. goodsid:
  156. description: 商品ID
  157. type: integer
  158. goodsname:
  159. description: 订单商品名称
  160. type: string
  161. goodunit:
  162. description: 报价单位
  163. type: string
  164. handlestatus:
  165. description: 处理状态
  166. type: integer
  167. marketid:
  168. description: 市场ID
  169. type: integer
  170. marketname:
  171. description: 市场名称
  172. type: string
  173. tradedate:
  174. description: 交易日(yyyyMMdd)
  175. type: string
  176. userid:
  177. description: 申请人ID
  178. type: integer
  179. required:
  180. - cancelid
  181. type: object
  182. cptrade.Cptradepresaleapply:
  183. properties:
  184. accountid:
  185. description: 申请人账户ID
  186. type: integer
  187. applyid:
  188. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  189. type: integer
  190. applyremark:
  191. description: 申请备注
  192. type: string
  193. applystatus:
  194. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  195. type: integer
  196. applytime:
  197. description: 申请时间
  198. type: string
  199. attachmenturl:
  200. description: 附件地址
  201. type: string
  202. endtime:
  203. description: 预售结束时间
  204. type: string
  205. goodscode:
  206. description: 商品代码
  207. type: string
  208. goodsid:
  209. description: 商品ID
  210. type: integer
  211. goodsname:
  212. description: 商品名称
  213. type: string
  214. goodunit:
  215. description: 报价单位
  216. type: string
  217. handlestatus:
  218. description: 处理状态
  219. type: integer
  220. marketid:
  221. description: 预售市场ID
  222. type: integer
  223. marketname:
  224. description: 预售市场名称
  225. type: string
  226. presaleqty:
  227. description: 预售数量
  228. type: integer
  229. relatedgoodscode:
  230. description: 关联交易合约代码
  231. type: string
  232. relatedgoodsid:
  233. description: 关联交易合约ID
  234. type: integer
  235. relatedgoodsname:
  236. description: 关联交易合约名称
  237. type: string
  238. starttime:
  239. description: 预售开始时间
  240. type: string
  241. tradedate:
  242. description: 交易日(yyyyMMdd)
  243. type: string
  244. trademode:
  245. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  246. type: integer
  247. userid:
  248. description: 申请人ID
  249. type: integer
  250. required:
  251. - applyid
  252. type: object
  253. cptrade.Cptradeusergoodsdata:
  254. properties:
  255. EnabledQty:
  256. description: 可用量
  257. type: integer
  258. GoodsCode:
  259. description: 订单商品代码
  260. type: string
  261. GoodsName:
  262. description: 订单商品名称
  263. type: string
  264. WRStandardCode:
  265. description: 仓单标准代码
  266. type: string
  267. WRStandardName:
  268. description: 仓单标准名称
  269. type: string
  270. accountid:
  271. description: 账户ID
  272. type: integer
  273. cancelqty:
  274. description: 注销量
  275. type: integer
  276. curpresaleqty:
  277. description: 当前预售量
  278. type: integer
  279. deliveryqty:
  280. description: 交割量
  281. type: integer
  282. freezeamount:
  283. description: 冻结金额
  284. type: number
  285. goodsid:
  286. description: 商品ID
  287. type: integer
  288. goodunit:
  289. description: 报价单位
  290. type: string
  291. hasspotfreeze:
  292. description: 是否有现货冻结 - 0:否 1:有
  293. type: integer
  294. inqty:
  295. description: 转入量(总数量)
  296. type: integer
  297. marketid:
  298. description: 市场ID
  299. type: integer
  300. presaledamount:
  301. description: 已预售总金额
  302. type: integer
  303. presaledqty:
  304. description: 已预售量
  305. type: integer
  306. userid:
  307. description: 用户ID
  308. type: integer
  309. wrstandardid:
  310. description: 仓单标准ID
  311. type: integer
  312. required:
  313. - accountid
  314. - goodsid
  315. type: object
  316. cptrade.QueryCPTradeMyBidRsp:
  317. properties:
  318. accountid:
  319. description: 账户ID[报价币种]
  320. type: integer
  321. goodsid:
  322. description: 商品ID
  323. type: integer
  324. goodunit:
  325. description: 报价单位
  326. type: string
  327. marketid:
  328. description: 市场ID
  329. type: integer
  330. orderid:
  331. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  332. type: integer
  333. orderprice:
  334. description: 委托价格
  335. type: number
  336. orderqty:
  337. description: 委托数量
  338. type: integer
  339. ordertime:
  340. description: 委托时间
  341. type: string
  342. ordertotalprice:
  343. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  344. type: number
  345. ordertotalweight:
  346. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  347. type: integer
  348. totaltotalprice:
  349. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  350. type: number
  351. tradeprice:
  352. description: 成交价格
  353. type: number
  354. tradeqty:
  355. description: 成交数量
  356. type: integer
  357. required:
  358. - accountid
  359. - goodsid
  360. - marketid
  361. - orderid
  362. - orderqty
  363. - ordertime
  364. - tradeprice
  365. - tradeqty
  366. type: object
  367. cptrade.QueryCPTradeOrderDetailRsq:
  368. properties:
  369. accountid:
  370. description: 账户ID[报价币种]
  371. type: integer
  372. buildtype:
  373. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  374. type: integer
  375. buyorsell:
  376. description: 买卖 - 0:买 1:卖
  377. type: integer
  378. cancelorderid:
  379. description: 撤单单号(撤单时填写)
  380. type: integer
  381. cancelqty:
  382. description: 撤单数量
  383. type: integer
  384. clientordertime:
  385. description: 客户端委托时间
  386. type: string
  387. clientticket:
  388. description: 客户端流水号
  389. type: string
  390. clienttype:
  391. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  392. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  393. type: integer
  394. closeexchagechargevalue:
  395. description: 平仓交易所手续费设置值
  396. type: number
  397. closefeealgorithm:
  398. description: 平仓手续费收取方式 1:比率 2:固定
  399. type: integer
  400. closefreezecharge:
  401. description: 平仓冻结手续费(先建后平操作,需要记录)
  402. type: number
  403. closememberchargevalue:
  404. description: 平仓会员手续费设置值
  405. type: number
  406. closeqty:
  407. description: 平仓数量(先建后平操作 需要记录)
  408. type: integer
  409. closetradeqty:
  410. description: 平仓成交数量(先建后平操作,需要记录)
  411. type: integer
  412. closeunfreezecharge:
  413. description: 平仓解冻手续费(先建后平操作,需要记录)
  414. type: number
  415. delistingtype:
  416. description: 摘牌类型 - 1:价格最优 2:点选成交
  417. type: integer
  418. freezecharge:
  419. description: 冻结手续费
  420. type: number
  421. freezemargin:
  422. description: 冻结保证金(冻结交易金额)
  423. type: number
  424. gcaccountid:
  425. description: 账户ID[合约币种]
  426. type: integer
  427. goodsid:
  428. description: 商品ID
  429. type: integer
  430. isconfirmexercise:
  431. description: 是否确认行权- 0:否 1:是
  432. type: integer
  433. ispreexercise:
  434. description: 是否预申报- 0:否 1:是
  435. type: integer
  436. listingselecttype:
  437. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  438. type: integer
  439. marginalgorithm:
  440. description: 保证金收取方式 1:比率 2:固定
  441. type: integer
  442. marginvalue:
  443. description: 即市保证金设置值
  444. type: number
  445. marketid:
  446. description: 市场ID
  447. type: integer
  448. marketmaxsub:
  449. description: 市价最大偏移范围
  450. type: number
  451. memberuserid:
  452. description: 所属会员UserID
  453. type: integer
  454. openexchagechargevalue:
  455. description: 建仓交易所手续费设置值
  456. type: number
  457. openfeealgorithm:
  458. description: 建仓手续费收取方式 1:比率 2:固定
  459. type: integer
  460. openfreezecharge:
  461. description: 开仓冻结手续费(先建后平操作,需要记录)
  462. type: number
  463. openmemberchargevalue:
  464. description: 建仓会员手续费设置值
  465. type: number
  466. openqty:
  467. description: 开仓数量(先建后平操作,需要记录)
  468. type: integer
  469. opentradeqty:
  470. description: 开仓成交数量(先建后平操作,需要记录)
  471. type: integer
  472. openunfreezecharge:
  473. description: 开仓解冻手续费(先建后平操作,需要记录)
  474. type: number
  475. operatetype:
  476. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  477. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  478. 15:管理端协议转让
  479. type: integer
  480. operatorid:
  481. description: 登录账号(LoginID)
  482. type: integer
  483. optiontype:
  484. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  485. type: integer
  486. orderprice:
  487. description: 委托价格
  488. type: number
  489. orderqty:
  490. description: 委托数量
  491. type: integer
  492. ordersrc:
  493. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  494. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  495. type: integer
  496. orderstatus:
  497. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  498. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  499. 16:成交失败违约(荷兰式竞拍专用)
  500. type: integer
  501. ordertime:
  502. description: 委托时间
  503. type: string
  504. preexerciseprice:
  505. description: 预申报价格
  506. type: number
  507. premium:
  508. description: 权利金
  509. type: number
  510. preorderid:
  511. description: 关联预埋单号(止盈止损单时填写)
  512. type: integer
  513. pricemode:
  514. description: '取价方式 - 1:市价 2: 限价'
  515. type: integer
  516. quoteid:
  517. description: 报价单ID
  518. type: integer
  519. relatedid:
  520. description: 关联单号(交割单)
  521. type: integer
  522. retcode:
  523. description: 错误代码
  524. type: integer
  525. sessionid:
  526. description: 会话ID
  527. type: integer
  528. strorderid:
  529. description: 委托单号
  530. type: string
  531. tradedate:
  532. description: 交易日(yyyyMMdd)
  533. type: string
  534. tradeproperty:
  535. description: 交易属性
  536. type: integer
  537. tradeqty:
  538. description: 成交数量
  539. type: integer
  540. unfreezecharge:
  541. description: 解冻手续费
  542. type: number
  543. unfreezemargin:
  544. description: 解冻保证金
  545. type: number
  546. updatetime:
  547. description: 更新时间
  548. type: string
  549. uuid:
  550. description: 发起端唯一id
  551. type: string
  552. validtime:
  553. description: 有效期限
  554. type: string
  555. validtype:
  556. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  557. type: integer
  558. volumetype:
  559. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  560. type: integer
  561. required:
  562. - accountid
  563. - buildtype
  564. - buyorsell
  565. - goodsid
  566. - marketid
  567. - memberuserid
  568. - operatetype
  569. - orderqty
  570. - ordertime
  571. - pricemode
  572. - strorderid
  573. - tradedate
  574. - validtype
  575. type: object
  576. cptrade.QueryMyCPTradeGoodsRsp:
  577. properties:
  578. accountid:
  579. description: 卖方账户ID
  580. type: integer
  581. agreeunit:
  582. description: 合约单位
  583. type: number
  584. applyid:
  585. description: 关联申请ID
  586. type: integer
  587. attachmenturl:
  588. description: 附件地址
  589. type: string
  590. createtime:
  591. description: 创建时间
  592. type: string
  593. currencyid:
  594. description: 报价货币ID
  595. type: integer
  596. decimalplace:
  597. description: 报价小数位
  598. type: integer
  599. endtime:
  600. description: 预售结束时间
  601. type: string
  602. floorprice:
  603. description: 底价[大宗式竞拍]
  604. type: number
  605. goodscode:
  606. description: 商品代码(预售)
  607. type: string
  608. goodsdetail:
  609. description: 详情[大宗]
  610. type: string
  611. goodsid:
  612. description: 商品ID(自增ID SEQ_GOODS)
  613. type: integer
  614. goodsname:
  615. description: 商品名称(预售)
  616. type: string
  617. goodunit:
  618. description: 报价单位
  619. type: string
  620. goodunitid:
  621. description: 报价单位ID
  622. type: integer
  623. marketid:
  624. description: 所属市场ID
  625. type: integer
  626. marketname:
  627. description: 预售市场名称
  628. type: string
  629. presaledamount:
  630. description: 已预售总金额(预售结束时更新)
  631. type: number
  632. presaledqty:
  633. description: 已预售量(预售结束时更新)
  634. type: integer
  635. presalemode:
  636. description: 预售模式 - 1:一口价 2:大宗式竞拍
  637. type: integer
  638. presaleqty:
  639. description: 预售数量
  640. type: integer
  641. refprice:
  642. description: 参考价格[一口价]
  643. type: number
  644. relatedgoodscode:
  645. description: 商品代码(订单)
  646. type: string
  647. relatedgoodsid:
  648. description: 关联交易合约ID
  649. type: integer
  650. relatedgoodsname:
  651. description: 商品名称(订单)
  652. type: string
  653. relatedmarketid:
  654. description: 关联交易合约市场ID
  655. type: integer
  656. sellstatus:
  657. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  658. type: integer
  659. startprice:
  660. description: 起拍价[大宗式竞拍]
  661. type: number
  662. starttime:
  663. description: 预售开始时间
  664. type: string
  665. tradedate:
  666. description: 交易日(yyyyMMdd)
  667. type: string
  668. tradeprice:
  669. description: 成交价[大宗]
  670. type: number
  671. userid:
  672. description: 卖方用户ID
  673. type: integer
  674. required:
  675. - goodscode
  676. - goodsid
  677. - goodsname
  678. - marketid
  679. - relatedgoodscode
  680. - relatedgoodsname
  681. type: object
  682. cptrade.QueryPresaleGoodsExRsp:
  683. properties:
  684. attachmenturl:
  685. description: 附件地址
  686. type: string
  687. createtime:
  688. description: 创建时间
  689. type: string
  690. endtime:
  691. description: 预售结束时间
  692. type: string
  693. floorprice:
  694. description: 底价[大宗式竞拍]
  695. type: number
  696. goodsdetail:
  697. description: 详情[大宗]
  698. type: string
  699. goodsid:
  700. description: 商品ID(预售)
  701. type: integer
  702. goodunit:
  703. description: 报价单位
  704. type: string
  705. marketid:
  706. description: 预售市场ID - 根据预售模式选择市场
  707. type: integer
  708. presaledamount:
  709. description: 已预售总金额(预售结束时更新)
  710. type: number
  711. presaledqty:
  712. description: 已预售量(预售结束时更新)
  713. type: integer
  714. presalemode:
  715. description: 预售模式 - 1:一口价 2:大宗式竞拍
  716. type: integer
  717. presaleqty:
  718. description: 预售数量
  719. type: integer
  720. refprice:
  721. description: 参考价格[一口价]
  722. type: number
  723. relatedgoodsid:
  724. description: 关联交易合约ID
  725. type: integer
  726. relatedmarketid:
  727. description: 关联交易合约市场ID
  728. type: integer
  729. sellstatus:
  730. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  731. type: integer
  732. startprice:
  733. description: 起拍价[大宗式竞拍]
  734. type: number
  735. starttime:
  736. description: 预售开始时间
  737. type: string
  738. tradedate:
  739. description: 交易日(yyyyMMdd)
  740. type: string
  741. tradeprice:
  742. description: 成交价[大宗]
  743. type: number
  744. required:
  745. - goodsid
  746. type: object
  747. delivery.QueryDeliveryRelationRsp:
  748. properties:
  749. begindate:
  750. description: 起始日期(yyyyMMdd)
  751. type: string
  752. buytemplateid:
  753. description: 买履约计划模板ID
  754. type: integer
  755. deliverygoodscode:
  756. description: 品种代码
  757. type: string
  758. deliverygoodsid:
  759. description: 交割商品
  760. type: integer
  761. deliverygoodsname:
  762. description: 品种名称
  763. type: string
  764. deliverymode:
  765. description: 交割方式 - 1:点选式 2:申报式
  766. type: integer
  767. deliverypricerule:
  768. description: 交割价规则- 1:行情价 2:建仓价
  769. type: integer
  770. deliverytype:
  771. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  772. type: integer
  773. enddate:
  774. description: 结束日期(yyyyMMdd)
  775. type: string
  776. goodscode:
  777. description: 商品代码
  778. type: string
  779. goodsid:
  780. description: 交易合约ID
  781. type: integer
  782. goodsname:
  783. description: 商品名称
  784. type: string
  785. marketid:
  786. description: 市场ID
  787. type: integer
  788. mindeliveryqty:
  789. description: 最小交割系数(K)
  790. type: integer
  791. p2deliveryprice:
  792. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  793. type: number
  794. p2deliveryratio:
  795. description: P2合约系数(p)
  796. type: integer
  797. p2goodsid:
  798. description: P2合约ID
  799. type: integer
  800. p2pricemode:
  801. description: P2合约价格方式 - 1:商品价 2:固定值
  802. type: integer
  803. pdeliveryprice:
  804. description: P合约价格(商品价时填写0,固定值时填写固定值)
  805. type: number
  806. pdeliveryratio:
  807. description: P合约系数(n)
  808. type: integer
  809. pgoodsid:
  810. description: P合约ID
  811. type: integer
  812. ppricemode:
  813. description: P合约价格方式 - 1:商品价 2:固定值
  814. type: integer
  815. rratio:
  816. description: 兑换系数(R)
  817. type: integer
  818. rratio1:
  819. description: 兑换系数(交易合约)(R1)
  820. type: integer
  821. rratio2:
  822. description: 兑换系数(仓单标准)(R2)
  823. type: integer
  824. selltemplateid:
  825. description: 卖履约计划模板ID
  826. type: integer
  827. wrstandardid:
  828. description: 仓单标准ID
  829. type: integer
  830. xdeliveryratio:
  831. description: 交易合约系数(m)
  832. type: integer
  833. required:
  834. - begindate
  835. - enddate
  836. - goodsid
  837. - mindeliveryqty
  838. - xdeliveryratio
  839. type: object
  840. erms2.QueryArbitrageStrategyRsp:
  841. properties:
  842. applybasis:
  843. description: 申请基差
  844. type: number
  845. asapplyid:
  846. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  847. type: string
  848. asname:
  849. description: 策略名称
  850. type: string
  851. asno:
  852. description: 策略编号
  853. type: string
  854. basischangepl:
  855. description: 基差变动损益[结算更新]
  856. type: number
  857. biztype:
  858. description: 业务类型 - 1:正向套利 -1:反向套利
  859. type: integer
  860. closetradedate:
  861. description: 完结交易日(yyyyMMdd)
  862. type: string
  863. curbasis:
  864. description: 当前基差[结算更新]
  865. type: number
  866. deliverygoodsid:
  867. description: 现货品种ID
  868. type: integer
  869. futureavgprice:
  870. description: 期货建仓均价
  871. type: number
  872. futurecloseamount:
  873. description: 期货平仓金额
  874. type: number
  875. futurecloseqty:
  876. description: 期货平仓数量
  877. type: number
  878. futureopenamount:
  879. description: 期货开仓金额
  880. type: number
  881. futureopenqty:
  882. description: 期货开仓数量
  883. type: number
  884. futurepl:
  885. description: 期货总盈亏[结算更新]
  886. type: number
  887. futureqty:
  888. description: 期货持仓数量
  889. type: number
  890. futurequote:
  891. description: 期货额度
  892. type: number
  893. goodsgroupid:
  894. description: 期货品种ID
  895. type: integer
  896. marketid:
  897. description: 市场ID
  898. type: integer
  899. netexposure:
  900. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  901. type: number
  902. netexposurepl:
  903. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  904. type: number
  905. netexposurerate:
  906. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  907. type: number
  908. openbasis:
  909. description: 建仓基差
  910. type: number
  911. pricedspotqty:
  912. description: 已定价现货数量
  913. type: number
  914. pricedspotqtynotax:
  915. description: 已定价现货不含税数量
  916. type: number
  917. remark:
  918. description: 备注
  919. type: string
  920. spotavgprice:
  921. description: 现货均价
  922. type: number
  923. spotbuyamount:
  924. description: 现货采购金额
  925. type: number
  926. spotbuyqty:
  927. description: 现货采购数量
  928. type: number
  929. spotpl:
  930. description: 现货总盈亏[结算更新]
  931. type: number
  932. spotquota:
  933. description: 现货额度
  934. type: number
  935. spotsellamount:
  936. description: 现货销售金额
  937. type: number
  938. spotsellqty:
  939. description: 现货销售数量
  940. type: number
  941. spotusedquota:
  942. description: 现货占用资金
  943. type: number
  944. strategystatus:
  945. description: 策略状态 - 0:未结束 1:已结束
  946. type: integer
  947. totalpl:
  948. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  949. type: number
  950. tradedate:
  951. description: 交易日(yyyyMMdd)
  952. type: string
  953. updatetime:
  954. description: 更新时间
  955. type: string
  956. usedquota:
  957. description: 已占用资金
  958. type: number
  959. userid:
  960. description: 所属机构
  961. type: integer
  962. required:
  963. - asapplyid
  964. type: object
  965. erms2.QueryInnerTradeDetailRsp:
  966. properties:
  967. accountid:
  968. description: 账号ID
  969. type: integer
  970. agreeunit:
  971. description: 合约单位
  972. type: number
  973. asapplyid:
  974. description: 策略申请ID
  975. type: integer
  976. asname:
  977. description: 策略名称
  978. type: string
  979. asno:
  980. description: 策略编号
  981. type: string
  982. buyorsell:
  983. description: 方向 - 0:买 1:卖
  984. type: integer
  985. channelbuildtype:
  986. description: 委托单据类型 0:无 1:建仓 2:平仓
  987. type: integer
  988. closetype:
  989. description: 平仓方式 - 0:无 1:平今 2:平昨
  990. type: integer
  991. decimalplace:
  992. description: 报价小数位
  993. type: integer
  994. detailtype:
  995. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  996. type: integer
  997. exexchangecode:
  998. description: 外部交易所代码
  999. type: string
  1000. exexchangename:
  1001. description: 外部交易所名称
  1002. type: string
  1003. goodscode:
  1004. description: 商品代码(合约)
  1005. type: string
  1006. goodsgroupid:
  1007. description: 商品组ID(品种ID)
  1008. type: integer
  1009. goodsgroupname:
  1010. description: 商品组名称(品种)
  1011. type: string
  1012. goodsid:
  1013. description: 商品ID
  1014. type: integer
  1015. goodsname:
  1016. description: 商品名称(合约)
  1017. type: string
  1018. goodunit:
  1019. description: 报价单位
  1020. type: string
  1021. marketid:
  1022. description: 市场ID
  1023. type: integer
  1024. orderid:
  1025. description: 委托单号
  1026. type: string
  1027. outgoodscode:
  1028. description: 商品代码(外部)
  1029. type: string
  1030. relatedouttradeid:
  1031. description: 关联外部成交单ID
  1032. type: string
  1033. remark:
  1034. description: 备注
  1035. type: string
  1036. spotcontractid:
  1037. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1038. type: integer
  1039. spotcontractno:
  1040. description: 现货合同编号
  1041. type: string
  1042. tradeid:
  1043. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1044. type: string
  1045. tradeprice:
  1046. description: 成交价格
  1047. type: number
  1048. tradeqty:
  1049. description: 成交数量
  1050. type: integer
  1051. tradetime:
  1052. description: 成交时间
  1053. type: string
  1054. updatetime:
  1055. description: 更新时间
  1056. type: string
  1057. required:
  1058. - asapplyid
  1059. - buyorsell
  1060. - goodscode
  1061. - goodsgroupid
  1062. - goodsgroupname
  1063. - goodsname
  1064. - tradeid
  1065. type: object
  1066. erms2.QuerySpotContractRsp:
  1067. properties:
  1068. accountid:
  1069. description: 资金账户ID
  1070. type: integer
  1071. areauserid:
  1072. description: 所属机构
  1073. type: integer
  1074. closedate:
  1075. description: 终止日期
  1076. type: string
  1077. closeremark:
  1078. description: 结束备注
  1079. type: string
  1080. closetradedate:
  1081. description: 完结交易日(yyyyMMdd)
  1082. type: string
  1083. closetype:
  1084. description: 终止类型 - 1:违约 2:提前终止
  1085. type: integer
  1086. contractamount:
  1087. description: 合同金额
  1088. type: number
  1089. contractattachment:
  1090. description: 合同附件
  1091. type: string
  1092. contractno:
  1093. description: 现货合同编号
  1094. type: string
  1095. contractqty:
  1096. description: 合同数量(数值) (用于计算)
  1097. type: number
  1098. contractqtychar:
  1099. description: 合同数量\已订价数量 (用于显示)
  1100. type: string
  1101. contractstatus:
  1102. description: 合同状态 - 0:未结束 1:已结束
  1103. type: integer
  1104. contracttype:
  1105. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1106. type: integer
  1107. customeraccountid:
  1108. description: 客户资金账户ID
  1109. type: integer
  1110. customeruserid:
  1111. description: 客户ID
  1112. type: integer
  1113. deliverygoodsdesc:
  1114. description: 品种说明
  1115. type: string
  1116. deliverygoodsid:
  1117. description: 现货品种ID
  1118. type: integer
  1119. handlestatus:
  1120. description: 处理状态
  1121. type: integer
  1122. invoiceatt:
  1123. description: 发票附件
  1124. type: string
  1125. invoicedatetime:
  1126. description: 开收票更新时间
  1127. type: string
  1128. invoiceopentime:
  1129. description: 开票时间
  1130. type: string
  1131. invoiceremark:
  1132. description: 发票备注
  1133. type: string
  1134. invoicestatus:
  1135. description: 开收票状态 - 0:未开票 1:已开票
  1136. type: integer
  1137. lastdate:
  1138. description: 交货时间
  1139. type: string
  1140. marketid:
  1141. description: 市场ID
  1142. type: integer
  1143. paydatetime:
  1144. description: 收付款更新时间
  1145. type: string
  1146. payremark:
  1147. description: 收付款备注
  1148. type: string
  1149. paystatus:
  1150. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1151. type: integer
  1152. positionqty:
  1153. description: 头寸数量 - 合同数量去小数部分
  1154. type: integer
  1155. producttype:
  1156. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1157. type: integer
  1158. relatedqty:
  1159. description: 已关联数量
  1160. type: number
  1161. relatedstatus:
  1162. description: 关联完结状态 - 0:未结束 1:已结束
  1163. type: integer
  1164. remark:
  1165. description: 备注
  1166. type: string
  1167. signdate:
  1168. description: 签订日期
  1169. type: string
  1170. spotcontractid:
  1171. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1172. type: string
  1173. spotdatetime:
  1174. description: 收发货更新时间
  1175. type: string
  1176. spotprice:
  1177. description: 价格
  1178. type: number
  1179. spotremark:
  1180. description: 收发货备注
  1181. type: string
  1182. spotstatus:
  1183. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1184. type: integer
  1185. tradedate:
  1186. description: 交易日(yyyyMMdd)
  1187. type: string
  1188. userid:
  1189. description: 业务员用户ID
  1190. type: integer
  1191. warehouseid:
  1192. description: 仓库ID
  1193. type: integer
  1194. wrfactortypeid:
  1195. description: 仓单要素类型ID
  1196. type: integer
  1197. wrstandardid:
  1198. description: 仓单标准ID(SEQ_WRSTANDARD)
  1199. type: integer
  1200. required:
  1201. - spotcontractid
  1202. type: object
  1203. models.Division:
  1204. properties:
  1205. autoid:
  1206. description: 自增ID
  1207. type: integer
  1208. divisioncode:
  1209. description: 行政代码
  1210. type: string
  1211. divisionlevel:
  1212. description: 行政级别
  1213. type: string
  1214. divisionname:
  1215. description: 行政名称
  1216. type: string
  1217. modifierid:
  1218. description: 修改人
  1219. type: integer
  1220. modifytime:
  1221. description: 修改时间
  1222. type: string
  1223. parentcode:
  1224. description: 上级行政代码
  1225. type: string
  1226. pathname:
  1227. description: 路径名称
  1228. type: string
  1229. postcode:
  1230. description: 邮政编码
  1231. type: string
  1232. separablename:
  1233. description: 可拆分的全称
  1234. type: string
  1235. shortcode:
  1236. description: 地区简码
  1237. type: string
  1238. required:
  1239. - autoid
  1240. - divisioncode
  1241. type: object
  1242. models.HsbyGoodsOrderDetail:
  1243. properties:
  1244. buyorsell:
  1245. description: 买卖 - 0:买 1:卖
  1246. type: integer
  1247. currencysign:
  1248. description: 货币符号
  1249. type: string
  1250. customername:
  1251. description: 客户名称(企业名称),已脱敏
  1252. type: string
  1253. enableqty:
  1254. description: 可用数量
  1255. type: integer
  1256. goodunit:
  1257. description: 报价单位
  1258. type: string
  1259. orderid:
  1260. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1261. type: string
  1262. orderprice:
  1263. description: 委托价格
  1264. type: number
  1265. ordertime:
  1266. description: 委托时间
  1267. type: string
  1268. required:
  1269. - buyorsell
  1270. - orderid
  1271. - ordertime
  1272. type: object
  1273. models.HsbyListingGoodsDetail:
  1274. properties:
  1275. currency:
  1276. description: 货币
  1277. type: string
  1278. currencysign:
  1279. description: 货币符号
  1280. type: string
  1281. decimalplace:
  1282. description: 报价小数位
  1283. type: integer
  1284. desccityid:
  1285. description: 目的地(市)ID
  1286. type: integer
  1287. descprovinceid:
  1288. description: 目的地(省)ID
  1289. type: integer
  1290. goodscode:
  1291. description: 商品代码(内部)
  1292. type: string
  1293. goodsdesc:
  1294. description: 商品详情
  1295. type: string
  1296. goodsid:
  1297. description: 商品ID(自增ID SEQ_GOODS)
  1298. type: integer
  1299. goodsname:
  1300. description: 商品名称
  1301. type: string
  1302. hotindex:
  1303. description: 景点热度
  1304. type: integer
  1305. last:
  1306. description: 现价
  1307. type: number
  1308. limitdown:
  1309. description: 跌停价
  1310. type: number
  1311. limitup:
  1312. description: 涨停价
  1313. type: number
  1314. marketid:
  1315. description: 所属市场ID
  1316. type: integer
  1317. picurls:
  1318. description: 介绍图片[多张用逗号分隔]
  1319. type: string
  1320. vendorattr:
  1321. description: 供应商附件(多张,逗号分隔)
  1322. type: string
  1323. vendorname:
  1324. description: 供应商名称
  1325. type: string
  1326. vendorphone:
  1327. description: 供应商客服电话
  1328. type: string
  1329. videourls:
  1330. description: 介绍视频[多张用逗号分隔]
  1331. type: string
  1332. required:
  1333. - goodscode
  1334. - goodsid
  1335. - goodsname
  1336. - marketid
  1337. type: object
  1338. models.HsbyMyGoods:
  1339. properties:
  1340. accountid:
  1341. description: 账号Id
  1342. type: integer
  1343. agreeunit:
  1344. description: 合约单位
  1345. type: number
  1346. buyaverageprice:
  1347. description: 持仓均价
  1348. type: number
  1349. buycurholderamount:
  1350. description: 买当前持仓总金额[商品币种]
  1351. type: number
  1352. buycurpositionqty:
  1353. description: 买当前持仓总数量
  1354. type: integer
  1355. currencysign:
  1356. description: 货币符号
  1357. type: string
  1358. decimalplace:
  1359. description: 报价小数位
  1360. type: integer
  1361. goodscode:
  1362. description: 商品代码(内部)
  1363. type: string
  1364. goodsid:
  1365. description: 商品Id
  1366. type: integer
  1367. goodsname:
  1368. description: 商品名称
  1369. type: string
  1370. picurls:
  1371. description: 介绍图片[多张用逗号分隔]
  1372. type: string
  1373. required:
  1374. - accountid
  1375. - goodscode
  1376. - goodsid
  1377. - goodsname
  1378. type: object
  1379. models.HsbyPreGoods:
  1380. properties:
  1381. currency:
  1382. description: 货币
  1383. type: string
  1384. currencysign:
  1385. description: 货币符号
  1386. type: string
  1387. decimalplace:
  1388. description: 报价小数位
  1389. type: integer
  1390. endtime:
  1391. description: 预售结束时间
  1392. type: string
  1393. goodscode:
  1394. description: 商品代码(内部)
  1395. type: string
  1396. goodsid:
  1397. description: 商品ID(自增ID SEQ_GOODS)
  1398. type: integer
  1399. goodsname:
  1400. description: 商品名称
  1401. type: string
  1402. goodsstatus:
  1403. description: 商品状态- 2:未上市 3:上市
  1404. type: integer
  1405. marketid:
  1406. description: 所属市场ID
  1407. type: integer
  1408. picurls:
  1409. description: 介绍图片[多张用逗号分隔]
  1410. type: string
  1411. presaleqty:
  1412. description: 预售数量
  1413. type: integer
  1414. refprice:
  1415. description: 参考价格[一口价]
  1416. type: number
  1417. relatedgoodsid:
  1418. description: 关联交易合约ID
  1419. type: integer
  1420. starttime:
  1421. description: 预售开始时间
  1422. type: string
  1423. videourls:
  1424. description: 介绍视频[多张用逗号分隔]
  1425. type: string
  1426. required:
  1427. - goodscode
  1428. - goodsid
  1429. - goodsname
  1430. - marketid
  1431. type: object
  1432. models.HsbyPreGoodsDetail:
  1433. properties:
  1434. currency:
  1435. description: 货币
  1436. type: string
  1437. currencysign:
  1438. description: 货币符号
  1439. type: string
  1440. decimalplace:
  1441. description: 报价小数位
  1442. type: integer
  1443. desccityid:
  1444. description: 目的地(市)ID
  1445. type: integer
  1446. descprovinceid:
  1447. description: 目的地(省)ID
  1448. type: integer
  1449. endtime:
  1450. description: 预售结束时间
  1451. type: string
  1452. goodscode:
  1453. description: 商品代码(内部)
  1454. type: string
  1455. goodsdesc:
  1456. description: 商品详情
  1457. type: string
  1458. goodsid:
  1459. description: 商品ID(自增ID SEQ_GOODS)
  1460. type: integer
  1461. goodsname:
  1462. description: 商品名称
  1463. type: string
  1464. goodsstatus:
  1465. description: 商品状态- 2:未上市 3:上市
  1466. type: integer
  1467. goodunit:
  1468. description: 报价单位
  1469. type: string
  1470. marketid:
  1471. description: 所属市场ID
  1472. type: integer
  1473. picurls:
  1474. description: 介绍图片[多张用逗号分隔]
  1475. type: string
  1476. presaleqty:
  1477. description: 预售数量
  1478. type: integer
  1479. refprice:
  1480. description: 参考价格[一口价]
  1481. type: number
  1482. relatedgoodsid:
  1483. description: 关联交易合约ID
  1484. type: integer
  1485. starttime:
  1486. description: 预售开始时间
  1487. type: string
  1488. vendorattr:
  1489. description: 供应商附件(多张,逗号分隔)
  1490. type: string
  1491. vendorname:
  1492. description: 供应商名称
  1493. type: string
  1494. vendorphone:
  1495. description: 供应商客服电话
  1496. type: string
  1497. videourls:
  1498. description: 介绍视频[多张用逗号分隔]
  1499. type: string
  1500. required:
  1501. - goodscode
  1502. - goodsid
  1503. - goodsname
  1504. - marketid
  1505. type: object
  1506. models.HsbyTopGoods:
  1507. properties:
  1508. currency:
  1509. description: 货币
  1510. type: string
  1511. currencysign:
  1512. description: 货币符号
  1513. type: string
  1514. decimalplace:
  1515. description: 报价小数位
  1516. type: integer
  1517. goodscode:
  1518. description: 商品代码(内部)
  1519. type: string
  1520. goodsid:
  1521. description: 商品ID(自增ID SEQ_GOODS)
  1522. type: integer
  1523. goodsname:
  1524. description: 商品名称
  1525. type: string
  1526. hotindex:
  1527. description: 景点热度
  1528. type: integer
  1529. last:
  1530. description: 现价
  1531. type: number
  1532. marketid:
  1533. description: 所属市场ID
  1534. type: integer
  1535. picurls:
  1536. description: 介绍图片[多张用逗号分隔]
  1537. type: string
  1538. videourls:
  1539. description: 介绍视频[多张用逗号分隔]
  1540. type: string
  1541. required:
  1542. - goodscode
  1543. - goodsid
  1544. - goodsname
  1545. - marketid
  1546. type: object
  1547. models.HybsMyBuyOrderDetail:
  1548. properties:
  1549. accountid:
  1550. description: 账户ID[报价币种]
  1551. type: integer
  1552. buyorsell:
  1553. description: 买卖 - 0:买 1:卖
  1554. type: integer
  1555. cancelqty:
  1556. description: 撤单数量
  1557. type: integer
  1558. currencysign:
  1559. description: 货币符号
  1560. type: string
  1561. decimalplace:
  1562. description: 报价小数位
  1563. type: integer
  1564. goodscode:
  1565. description: 商品代码(内部)
  1566. type: string
  1567. goodsid:
  1568. description: 商品ID
  1569. type: integer
  1570. goodsname:
  1571. description: 商品名称
  1572. type: string
  1573. listingselecttype:
  1574. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  1575. type: integer
  1576. marketid:
  1577. description: 市场ID
  1578. type: integer
  1579. mybuystatus:
  1580. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  1581. type: integer
  1582. orderid:
  1583. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1584. type: string
  1585. orderprice:
  1586. description: 委托价格
  1587. type: number
  1588. orderqty:
  1589. description: 委托数量
  1590. type: integer
  1591. orderstatus:
  1592. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  1593. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  1594. 16:成交失败违约(荷兰式竞拍专用)
  1595. type: integer
  1596. ordertime:
  1597. description: 委托时间
  1598. type: string
  1599. picurls:
  1600. description: 介绍图片[多张用逗号分隔]
  1601. type: string
  1602. trademode:
  1603. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  1604. 21:竞拍-大宗式 22:受托竞价
  1605. type: integer
  1606. tradeqty:
  1607. description: 成交数量
  1608. type: integer
  1609. vendorname:
  1610. description: 供应商名称
  1611. type: string
  1612. required:
  1613. - accountid
  1614. - buyorsell
  1615. - goodscode
  1616. - goodsid
  1617. - goodsname
  1618. - marketid
  1619. - orderid
  1620. - orderqty
  1621. - ordertime
  1622. - trademode
  1623. type: object
  1624. models.OperationPrimaryMenu:
  1625. properties:
  1626. Children:
  1627. description: 二级功能菜单
  1628. items:
  1629. $ref: '#/definitions/models.OperationSecondaryMenu'
  1630. type: array
  1631. Key:
  1632. description: 菜单KEY
  1633. type: string
  1634. Label:
  1635. description: 菜单标题
  1636. type: string
  1637. type: object
  1638. models.OperationSecondaryMenu:
  1639. properties:
  1640. Key:
  1641. description: 菜单KEY
  1642. type: string
  1643. Label:
  1644. description: 菜单标题
  1645. type: string
  1646. TabList:
  1647. description: 三级功能菜单
  1648. items:
  1649. $ref: '#/definitions/models.OperationTabMenu'
  1650. type: array
  1651. type: object
  1652. models.OperationTabMenu:
  1653. properties:
  1654. Key:
  1655. description: 菜单KEY
  1656. type: string
  1657. Label:
  1658. description: 菜单标题
  1659. type: string
  1660. type: object
  1661. models.QuotePrimaryMenu:
  1662. properties:
  1663. Index:
  1664. description: 序号
  1665. type: integer
  1666. Key:
  1667. description: 键名
  1668. type: string
  1669. Name:
  1670. description: 菜单名称
  1671. type: string
  1672. SubMenus:
  1673. description: 子菜单
  1674. items:
  1675. $ref: '#/definitions/models.QuoteSecondaryMenu'
  1676. type: array
  1677. SubTitleType:
  1678. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  1679. type: integer
  1680. TradeModes:
  1681. description: 包含市场交易类型
  1682. type: string
  1683. type: object
  1684. models.QuoteSecondaryMenu:
  1685. properties:
  1686. ExExchangeCode:
  1687. description: 外部交易所代码
  1688. type: string
  1689. ExExchangeID:
  1690. description: 外部交易所ID
  1691. type: integer
  1692. GoodsGroupIDs:
  1693. description: 商品组ID列表
  1694. items:
  1695. type: integer
  1696. type: array
  1697. Index:
  1698. description: 序号
  1699. type: integer
  1700. MarketID:
  1701. description: 市场ID
  1702. type: integer
  1703. MenuTitle:
  1704. description: 菜单标题(市场名称或外部交易所名称)
  1705. type: string
  1706. TradeMode:
  1707. description: 交易模式
  1708. type: integer
  1709. type: object
  1710. models.Szdz3convertconfig:
  1711. properties:
  1712. canin:
  1713. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  1714. type: integer
  1715. canout:
  1716. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  1717. type: integer
  1718. converttype:
  1719. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  1720. 6:交易转花生米(不设置)
  1721. type: integer
  1722. createtime:
  1723. description: 创建时间
  1724. type: string
  1725. creatorid:
  1726. description: 创建人
  1727. type: integer
  1728. daymaxvalue:
  1729. description: 当日最大转入限制
  1730. type: number
  1731. freezedays:
  1732. description: 冻结天数 [5:花生米转交易]
  1733. type: integer
  1734. innergoodsid:
  1735. description: 内部商品ID[交易]
  1736. type: integer
  1737. inratio:
  1738. description: 目标值
  1739. type: integer
  1740. modifierid:
  1741. description: 修改人
  1742. type: integer
  1743. modifytime:
  1744. description: 修改时间
  1745. type: string
  1746. outergoodscode:
  1747. description: 外部商品代码[JD\PD]
  1748. type: string
  1749. outratio:
  1750. description: 源值
  1751. type: integer
  1752. pddecimalplace:
  1753. description: PD小数位
  1754. type: integer
  1755. timemaxvalue:
  1756. description: 单次最大转入限制
  1757. type: number
  1758. timeminvalue:
  1759. description: 单次最小转入限制
  1760. type: number
  1761. required:
  1762. - converttype
  1763. - innergoodsid
  1764. - outergoodscode
  1765. type: object
  1766. models.Szdz3searchwhitelist:
  1767. properties:
  1768. createtime:
  1769. description: 创建时间
  1770. type: string
  1771. creatorid:
  1772. description: 创建人
  1773. type: integer
  1774. modifierid:
  1775. description: 修改人
  1776. type: integer
  1777. modifytime:
  1778. description: 修改时间
  1779. type: string
  1780. userid:
  1781. description: 用户ID
  1782. type: integer
  1783. required:
  1784. - userid
  1785. type: object
  1786. models.Tablecolumnconfig:
  1787. properties:
  1788. aligntype:
  1789. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  1790. type: integer
  1791. autoid:
  1792. description: AutoID
  1793. type: integer
  1794. columnfield:
  1795. description: 列字段
  1796. type: string
  1797. columntitle:
  1798. description: 列Title
  1799. type: string
  1800. columnwidth:
  1801. description: 列宽
  1802. type: string
  1803. formatterstring:
  1804. description: 格式化字符
  1805. type: string
  1806. formattertype:
  1807. description: 格式化类型
  1808. type: string
  1809. groupname:
  1810. description: 表头分组名称
  1811. type: string
  1812. isshow:
  1813. description: 是否显示 - 0:不显示 1:显示
  1814. type: integer
  1815. needsummary:
  1816. description: 是否需要汇总 - 0:不需要 1:需要
  1817. type: integer
  1818. orderindex:
  1819. description: 顺序
  1820. type: integer
  1821. remark:
  1822. description: 备注
  1823. type: string
  1824. summarytype:
  1825. description: 汇总类型 - 1:加总 2:最后一个
  1826. type: integer
  1827. tablekey:
  1828. description: 列表Key
  1829. type: string
  1830. required:
  1831. - autoid
  1832. type: object
  1833. models.Userinfo:
  1834. properties:
  1835. address:
  1836. description: 地址
  1837. type: string
  1838. attachment1:
  1839. description: 附件1
  1840. type: string
  1841. attachment2:
  1842. description: 附件2
  1843. type: string
  1844. bankaccount:
  1845. description: 银行帐号 (加密存储)
  1846. type: string
  1847. bankaccountname:
  1848. description: 收款人名称
  1849. type: string
  1850. bankcardfrontphotourl:
  1851. description: 银行卡正面照地址
  1852. type: string
  1853. bankid:
  1854. description: 银行编码
  1855. type: string
  1856. bankname:
  1857. description: 银行名称
  1858. type: string
  1859. biznature:
  1860. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  1861. type: integer
  1862. bizscope:
  1863. description: 企业经营范围(企业)
  1864. type: string
  1865. cardbackphotourl:
  1866. description: 证件背面图片地址
  1867. type: string
  1868. cardfrontphotourl:
  1869. description: 证件正面图片地址
  1870. type: string
  1871. cardnum:
  1872. description: 证件号码(加密存储)
  1873. type: string
  1874. cardtypeid:
  1875. description: 证件类型ID
  1876. type: integer
  1877. cityid:
  1878. description: 市
  1879. type: integer
  1880. company:
  1881. description: 公司(个人)
  1882. type: string
  1883. contactname:
  1884. description: 联系人
  1885. type: string
  1886. countryid:
  1887. description: 国家
  1888. type: integer
  1889. createtime:
  1890. description: 创建时间
  1891. type: string
  1892. creatorid:
  1893. description: 创建人
  1894. type: integer
  1895. customername:
  1896. description: 客户名称(企业名称)
  1897. type: string
  1898. districtid:
  1899. description: 地区
  1900. type: integer
  1901. email:
  1902. description: 邮件(加密存储)
  1903. type: string
  1904. fax:
  1905. description: 传真(加密存储)
  1906. type: string
  1907. halfbodyphotourl:
  1908. description: 半身照地址
  1909. type: string
  1910. hasencrypt:
  1911. description: 数据是否已加密 - 0:未加密 1:已加密
  1912. type: integer
  1913. headurl:
  1914. description: 头像地址
  1915. type: string
  1916. legalcardbackphotourl:
  1917. description: 法人身份证背面照地址
  1918. type: string
  1919. legalcardfrontphotourl:
  1920. description: 法人身份证正面照地址
  1921. type: string
  1922. legalpersonname:
  1923. description: 法人姓名(企业)
  1924. type: string
  1925. mobile:
  1926. description: 手机号码(加密存储)
  1927. type: string
  1928. mobile2:
  1929. description: 手机号码[明文-尚志]
  1930. type: string
  1931. modifierid:
  1932. description: 修改人
  1933. type: integer
  1934. modifiertime:
  1935. description: 修改时间
  1936. type: string
  1937. needinvoice:
  1938. description: 是否需要发票 - 0:不需要 1:需要
  1939. type: integer
  1940. nickname:
  1941. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  1942. type: string
  1943. openmode:
  1944. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  1945. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  1946. type: integer
  1947. otherurl:
  1948. description: 其它图片地址[使用分号分隔]
  1949. type: string
  1950. postalcode:
  1951. description: 邮政编码
  1952. type: string
  1953. provinceid:
  1954. description: 省
  1955. type: integer
  1956. qq:
  1957. description: QQ(加密存储
  1958. type: string
  1959. remark:
  1960. description: 备注
  1961. type: string
  1962. sex:
  1963. description: '用户性别 0: 女 1: 男'
  1964. type: integer
  1965. signpdfurl:
  1966. description: 签约pdf文件
  1967. type: string
  1968. telphone:
  1969. description: 联系电话(加密存储)
  1970. type: string
  1971. userid:
  1972. description: 用户ID
  1973. type: integer
  1974. userinfotype:
  1975. description: 用户信息类型 - 1:个人 2:企业
  1976. type: integer
  1977. userstatus:
  1978. description: 用户状态 - 1:正常 2:注销
  1979. type: integer
  1980. usertype:
  1981. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  1982. type: integer
  1983. wechat:
  1984. description: 微信(加密存储)
  1985. type: string
  1986. wskhinfo:
  1987. description: 开户申请信息(JSON)
  1988. type: string
  1989. required:
  1990. - userid
  1991. type: object
  1992. order.QueryHisTradeDetailRsp:
  1993. properties:
  1994. accountid:
  1995. description: 账户ID[报价币种]
  1996. type: integer
  1997. buildtype:
  1998. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  1999. type: integer
  2000. buyorsell:
  2001. description: 方向 - 0:买 1:卖
  2002. type: integer
  2003. charge:
  2004. description: 手续费
  2005. type: number
  2006. closecharge:
  2007. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  2008. type: number
  2009. closeexchagechargevalue:
  2010. description: 平仓交易所手续费设置值
  2011. type: number
  2012. closefeealgorithm:
  2013. description: 平仓手续费收取方式 1:比率 2:固定
  2014. type: integer
  2015. closememberchargevalue:
  2016. description: 平仓会员手续费设置值
  2017. type: number
  2018. closepl:
  2019. description: 平仓盈亏
  2020. type: number
  2021. closepl2:
  2022. description: 平仓盈亏[逐笔]
  2023. type: number
  2024. closeqty:
  2025. description: 平仓数量(先建后平操作 需要记录)
  2026. type: integer
  2027. creditamount:
  2028. description: 授信金额
  2029. type: number
  2030. gcaccountid:
  2031. description: 账户ID[合约币种]
  2032. type: integer
  2033. goodscode:
  2034. description: 商品代码
  2035. type: string
  2036. goodsid:
  2037. description: 商品ID
  2038. type: integer
  2039. goodsname:
  2040. description: 商品名称
  2041. type: string
  2042. histradedate:
  2043. description: 历史交易日
  2044. type: string
  2045. intclosepl:
  2046. description: 整型盈亏(用于交易结算试算平衡-收益权)
  2047. type: integer
  2048. isconfirmexercise:
  2049. description: 是否确认行权- 0:否 1:是
  2050. type: integer
  2051. ismain:
  2052. description: 是否主单 - 0:不是 1:是
  2053. type: integer
  2054. ispreexercise:
  2055. description: 是否预申报- 0:否 1:是
  2056. type: integer
  2057. isreckoned:
  2058. description: 是否结算 - 0:未结算 1:已结算
  2059. type: integer
  2060. isvaliddata:
  2061. description: 是否有效 - 0:无效 1:有效
  2062. type: integer
  2063. listingselecttype:
  2064. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  2065. type: integer
  2066. marketid:
  2067. description: 市场ID
  2068. type: integer
  2069. marketname:
  2070. description: 市场名称
  2071. type: string
  2072. matchaccountid:
  2073. description: 对手账号id
  2074. type: integer
  2075. memberuserid:
  2076. description: 会员id 个人投资者 需要填写
  2077. type: integer
  2078. opencharge:
  2079. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  2080. type: number
  2081. openexchagechargevalue:
  2082. description: 建仓交易所手续费设置值
  2083. type: number
  2084. openfeealgorithm:
  2085. description: 建仓手续费收取方式 1:比率 2:固定
  2086. type: integer
  2087. openmemberchargevalue:
  2088. description: 建仓会员手续费设置值
  2089. type: number
  2090. openqty:
  2091. description: 开仓数量(先建后平操作 需要记录)
  2092. type: integer
  2093. optiontype:
  2094. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  2095. type: integer
  2096. orderid:
  2097. description: 委托单号
  2098. type: string
  2099. performanceplanid:
  2100. description: 履约计划ID[期权]
  2101. type: integer
  2102. performancestatus:
  2103. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  2104. type: integer
  2105. preexerciseprice:
  2106. description: 预申报价格
  2107. type: number
  2108. premium:
  2109. description: 权利金 - [持仓单的权利金]
  2110. type: number
  2111. relatedouttradeid:
  2112. description: 关联外部成交单ID
  2113. type: integer
  2114. status:
  2115. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  2116. type: integer
  2117. tradeamount:
  2118. description: 成交金额[账户币种,用于所有权]
  2119. type: number
  2120. tradedate:
  2121. description: 交易日(yyyyMMdd)
  2122. type: string
  2123. tradeid:
  2124. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2125. type: string
  2126. trademode:
  2127. description: 交易模式
  2128. type: integer
  2129. tradeprice:
  2130. description: 成交价格
  2131. type: number
  2132. tradeproperty:
  2133. description: 交易属性
  2134. type: integer
  2135. tradeqty:
  2136. description: 成交数量
  2137. type: integer
  2138. tradetime:
  2139. description: 成交时间
  2140. type: string
  2141. tradetype:
  2142. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  2143. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  2144. type: integer
  2145. required:
  2146. - accountid
  2147. - buyorsell
  2148. - goodsid
  2149. - histradedate
  2150. - marketid
  2151. - memberuserid
  2152. - orderid
  2153. - tradeamount
  2154. - tradedate
  2155. - tradeid
  2156. - tradeprice
  2157. - tradeqty
  2158. - tradetime
  2159. type: object
  2160. order.QueryHisTradeOrderDetailRsp:
  2161. properties:
  2162. accountid:
  2163. description: 账户ID[报价币种]
  2164. type: integer
  2165. buildtype:
  2166. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  2167. type: integer
  2168. buyorsell:
  2169. description: 买卖 - 0:买 1:卖
  2170. type: integer
  2171. cancelorderid:
  2172. description: 撤单单号(撤单时填写)
  2173. type: string
  2174. cancelqty:
  2175. description: 撤单数量
  2176. type: integer
  2177. clientordertime:
  2178. description: 客户端委托时间
  2179. type: string
  2180. clientticket:
  2181. description: 客户端流水号
  2182. type: string
  2183. clienttype:
  2184. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  2185. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  2186. type: integer
  2187. closeexchagechargevalue:
  2188. description: 平仓交易所手续费设置值
  2189. type: number
  2190. closefeealgorithm:
  2191. description: 平仓手续费收取方式 1:比率 2:固定
  2192. type: integer
  2193. closefreezecharge:
  2194. description: 平仓冻结手续费(先建后平操作,需要记录)
  2195. type: number
  2196. closememberchargevalue:
  2197. description: 平仓会员手续费设置值
  2198. type: number
  2199. closeqty:
  2200. description: 平仓数量(先建后平操作 需要记录)
  2201. type: integer
  2202. closetradeqty:
  2203. description: 平仓成交数量(先建后平操作,需要记录)
  2204. type: integer
  2205. closeunfreezecharge:
  2206. description: 平仓解冻手续费(先建后平操作,需要记录)
  2207. type: number
  2208. delistingtype:
  2209. description: 摘牌类型 - 1:价格最优 2:点选成交
  2210. type: integer
  2211. freezecharge:
  2212. description: 冻结手续费
  2213. type: number
  2214. freezemargin:
  2215. description: 冻结保证金(冻结交易金额)
  2216. type: number
  2217. gcaccountid:
  2218. description: 账户ID[合约币种]
  2219. type: integer
  2220. goodscode:
  2221. description: 商品代码
  2222. type: string
  2223. goodsid:
  2224. description: 商品ID
  2225. type: integer
  2226. goodsname:
  2227. description: 商品名称
  2228. type: string
  2229. histradedate:
  2230. description: 历史交易日
  2231. type: string
  2232. isconfirmexercise:
  2233. description: 是否确认行权- 0:否 1:是
  2234. type: integer
  2235. ispreexercise:
  2236. description: 是否预申报- 0:否 1:是
  2237. type: integer
  2238. isvaliddata:
  2239. description: 是否有效 - 0:无效 1:有效
  2240. type: integer
  2241. listingselecttype:
  2242. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  2243. type: integer
  2244. marginalgorithm:
  2245. description: 保证金收取方式 1:比率 2:固定
  2246. type: integer
  2247. marginvalue:
  2248. description: 即市保证金设置值
  2249. type: number
  2250. marketid:
  2251. description: 市场ID
  2252. type: integer
  2253. marketmaxsub:
  2254. description: 市价最大偏移范围
  2255. type: number
  2256. marketname:
  2257. description: 市场名称
  2258. type: string
  2259. memberuserid:
  2260. description: 所属会员UserID
  2261. type: integer
  2262. openexchagechargevalue:
  2263. description: 建仓交易所手续费设置值
  2264. type: number
  2265. openfeealgorithm:
  2266. description: 建仓手续费收取方式 1:比率 2:固定
  2267. type: integer
  2268. openfreezecharge:
  2269. description: 开仓冻结手续费(先建后平操作,需要记录)
  2270. type: number
  2271. openmemberchargevalue:
  2272. description: 建仓会员手续费设置值
  2273. type: number
  2274. openqty:
  2275. description: 开仓数量(先建后平操作,需要记录)
  2276. type: integer
  2277. opentradeqty:
  2278. description: 开仓成交数量(先建后平操作,需要记录)
  2279. type: integer
  2280. openunfreezecharge:
  2281. description: 开仓解冻手续费(先建后平操作,需要记录)
  2282. type: number
  2283. operatetype:
  2284. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  2285. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  2286. 15:管理端协议转让
  2287. type: integer
  2288. operatorid:
  2289. description: 登录账号(LoginID)
  2290. type: integer
  2291. optiontype:
  2292. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  2293. type: integer
  2294. orderid:
  2295. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2296. type: string
  2297. orderprice:
  2298. description: 委托价格
  2299. type: number
  2300. orderqty:
  2301. description: 委托数量
  2302. type: integer
  2303. ordersrc:
  2304. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  2305. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  2306. type: integer
  2307. orderstatus:
  2308. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  2309. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  2310. 16:成交失败违约(荷兰式竞拍专用)
  2311. type: integer
  2312. ordertime:
  2313. description: 委托时间
  2314. type: string
  2315. preexerciseprice:
  2316. description: 预申报价格
  2317. type: number
  2318. premium:
  2319. description: 权利金
  2320. type: number
  2321. preorderid:
  2322. description: 关联预埋单号(止盈止损单时填写)
  2323. type: string
  2324. pricemode:
  2325. description: '取价方式 - 1:市价 2: 限价'
  2326. type: integer
  2327. quoteid:
  2328. description: 报价单ID
  2329. type: integer
  2330. relatedid:
  2331. description: 关联单号(交割单)
  2332. type: string
  2333. retcode:
  2334. description: 错误代码
  2335. type: integer
  2336. sessionid:
  2337. description: 会话ID
  2338. type: integer
  2339. tradedate:
  2340. description: 交易日(yyyyMMdd)
  2341. type: string
  2342. trademode:
  2343. description: 交易模式
  2344. type: integer
  2345. tradeproperty:
  2346. description: 交易属性
  2347. type: integer
  2348. tradeqty:
  2349. description: 成交数量
  2350. type: integer
  2351. unfreezecharge:
  2352. description: 解冻手续费
  2353. type: number
  2354. unfreezemargin:
  2355. description: 解冻保证金
  2356. type: number
  2357. updatetime:
  2358. description: 更新时间
  2359. type: string
  2360. uuid:
  2361. description: 发起端唯一id
  2362. type: string
  2363. validtime:
  2364. description: 有效期限
  2365. type: string
  2366. validtype:
  2367. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  2368. type: integer
  2369. volumetype:
  2370. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  2371. type: integer
  2372. required:
  2373. - accountid
  2374. - buildtype
  2375. - buyorsell
  2376. - goodsid
  2377. - histradedate
  2378. - marketid
  2379. - memberuserid
  2380. - operatetype
  2381. - orderid
  2382. - orderqty
  2383. - ordertime
  2384. - pricemode
  2385. - tradedate
  2386. - validtype
  2387. type: object
  2388. order.QueryTradeDetailRsp:
  2389. properties:
  2390. accountid:
  2391. description: 账户ID[报价币种]
  2392. type: integer
  2393. buildtype:
  2394. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  2395. type: integer
  2396. buyorsell:
  2397. description: 方向 - 0:买 1:卖
  2398. type: integer
  2399. charge:
  2400. description: 手续费
  2401. type: number
  2402. closecharge:
  2403. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  2404. type: number
  2405. closeexchagechargevalue:
  2406. description: 平仓交易所手续费设置值
  2407. type: number
  2408. closefeealgorithm:
  2409. description: 平仓手续费收取方式 1:比率 2:固定
  2410. type: integer
  2411. closememberchargevalue:
  2412. description: 平仓会员手续费设置值
  2413. type: number
  2414. closepl:
  2415. description: 平仓盈亏
  2416. type: number
  2417. closepl2:
  2418. description: 平仓盈亏[逐笔]
  2419. type: number
  2420. closeqty:
  2421. description: 平仓数量(先建后平操作 需要记录)
  2422. type: integer
  2423. creditamount:
  2424. description: 授信金额
  2425. type: number
  2426. gcaccountid:
  2427. description: 账户ID[合约币种]
  2428. type: integer
  2429. goodscode:
  2430. description: 商品代码
  2431. type: string
  2432. goodsid:
  2433. description: 商品ID
  2434. type: integer
  2435. goodsname:
  2436. description: 商品名称
  2437. type: string
  2438. intclosepl:
  2439. description: 整型盈亏(用于交易结算试算平衡-收益权)
  2440. type: integer
  2441. isconfirmexercise:
  2442. description: 是否确认行权- 0:否 1:是
  2443. type: integer
  2444. ismain:
  2445. description: 是否主单 - 0:不是 1:是
  2446. type: integer
  2447. ispreexercise:
  2448. description: 是否预申报- 0:否 1:是
  2449. type: integer
  2450. isreckoned:
  2451. description: 是否结算 - 0:未结算 1:已结算
  2452. type: integer
  2453. listingselecttype:
  2454. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  2455. type: integer
  2456. marketid:
  2457. description: 市场ID
  2458. type: integer
  2459. marketname:
  2460. description: 市场名称
  2461. type: string
  2462. matchaccountid:
  2463. description: 对手账号id
  2464. type: integer
  2465. memberuserid:
  2466. description: 会员id 个人投资者 需要填写
  2467. type: integer
  2468. opencharge:
  2469. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  2470. type: number
  2471. openexchagechargevalue:
  2472. description: 建仓交易所手续费设置值
  2473. type: number
  2474. openfeealgorithm:
  2475. description: 建仓手续费收取方式 1:比率 2:固定
  2476. type: integer
  2477. openmemberchargevalue:
  2478. description: 建仓会员手续费设置值
  2479. type: number
  2480. openqty:
  2481. description: 开仓数量(先建后平操作 需要记录)
  2482. type: integer
  2483. optiontype:
  2484. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  2485. type: integer
  2486. orderid:
  2487. description: 委托单号
  2488. type: string
  2489. performanceplanid:
  2490. description: 履约计划ID[期权]
  2491. type: integer
  2492. performancestatus:
  2493. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  2494. type: integer
  2495. preexerciseprice:
  2496. description: 预申报价格
  2497. type: number
  2498. premium:
  2499. description: 权利金 - [持仓单的权利金]
  2500. type: number
  2501. relatedouttradeid:
  2502. description: 关联外部成交单ID
  2503. type: integer
  2504. status:
  2505. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  2506. type: integer
  2507. tradeamount:
  2508. description: 成交金额[账户币种,用于所有权]
  2509. type: number
  2510. tradedate:
  2511. description: 交易日(yyyyMMdd)
  2512. type: string
  2513. tradeid:
  2514. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2515. type: string
  2516. trademode:
  2517. description: 交易模式
  2518. type: integer
  2519. tradeprice:
  2520. description: 成交价格
  2521. type: number
  2522. tradeproperty:
  2523. description: 交易属性
  2524. type: integer
  2525. tradeqty:
  2526. description: 成交数量
  2527. type: integer
  2528. tradetime:
  2529. description: 成交时间
  2530. type: string
  2531. tradetype:
  2532. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  2533. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  2534. type: integer
  2535. required:
  2536. - accountid
  2537. - buyorsell
  2538. - goodsid
  2539. - marketid
  2540. - memberuserid
  2541. - orderid
  2542. - tradeamount
  2543. - tradedate
  2544. - tradeid
  2545. - tradeprice
  2546. - tradeqty
  2547. - tradetime
  2548. type: object
  2549. order.QueryTradeOrderDetailRsp:
  2550. properties:
  2551. accountid:
  2552. description: 账户ID[报价币种]
  2553. type: integer
  2554. buildtype:
  2555. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  2556. type: integer
  2557. buyorsell:
  2558. description: 买卖 - 0:买 1:卖
  2559. type: integer
  2560. cancelorderid:
  2561. description: 撤单单号(撤单时填写)
  2562. type: string
  2563. cancelqty:
  2564. description: 撤单数量
  2565. type: integer
  2566. clienttype:
  2567. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  2568. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  2569. type: integer
  2570. closefreezecharge:
  2571. description: 平仓冻结手续费(先建后平操作,需要记录)
  2572. type: number
  2573. closeqty:
  2574. description: 平仓数量(先建后平操作 需要记录)
  2575. type: integer
  2576. closetradeqty:
  2577. description: 平仓成交数量(先建后平操作,需要记录)
  2578. type: integer
  2579. closeunfreezecharge:
  2580. description: 平仓解冻手续费(先建后平操作,需要记录)
  2581. type: number
  2582. delistingtype:
  2583. description: 摘牌类型 - 1:价格最优 2:点选成交
  2584. type: integer
  2585. enableqty:
  2586. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  2587. type: integer
  2588. freezecharge:
  2589. description: 冻结手续费
  2590. type: number
  2591. freezemargin:
  2592. description: 冻结保证金(冻结交易金额)
  2593. type: number
  2594. goodscode:
  2595. description: 商品代码
  2596. type: string
  2597. goodsid:
  2598. description: 商品ID
  2599. type: integer
  2600. goodsname:
  2601. description: 商品名称
  2602. type: string
  2603. listingselecttype:
  2604. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  2605. type: integer
  2606. marketid:
  2607. description: 市场ID
  2608. type: integer
  2609. marketname:
  2610. description: 市场名称
  2611. type: string
  2612. openfreezecharge:
  2613. description: 开仓冻结手续费(先建后平操作,需要记录)
  2614. type: number
  2615. openqty:
  2616. description: 开仓数量(先建后平操作,需要记录)
  2617. type: integer
  2618. opentradeqty:
  2619. description: 开仓成交数量(先建后平操作,需要记录)
  2620. type: integer
  2621. openunfreezecharge:
  2622. description: 开仓解冻手续费(先建后平操作,需要记录)
  2623. type: number
  2624. operatetype:
  2625. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  2626. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  2627. 15:管理端协议转让
  2628. type: integer
  2629. operatorid:
  2630. description: 登录账号(LoginID)
  2631. type: integer
  2632. orderid:
  2633. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2634. type: string
  2635. orderprice:
  2636. description: 委托价格
  2637. type: number
  2638. orderqty:
  2639. description: 委托数量
  2640. type: integer
  2641. ordersrc:
  2642. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  2643. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  2644. type: integer
  2645. orderstatus:
  2646. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  2647. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  2648. 16:成交失败违约(荷兰式竞拍专用)
  2649. type: integer
  2650. ordertime:
  2651. description: 委托时间
  2652. type: string
  2653. preorderid:
  2654. description: 关联预埋单号(止盈止损单时填写)
  2655. type: string
  2656. pricemode:
  2657. description: '取价方式 - 1:市价 2: 限价'
  2658. type: integer
  2659. relatedid:
  2660. description: 关联单号(交割单)
  2661. type: string
  2662. tradedate:
  2663. description: 交易日(yyyyMMdd)
  2664. type: string
  2665. trademode:
  2666. description: 交易模式
  2667. type: integer
  2668. tradeqty:
  2669. description: 成交数量
  2670. type: integer
  2671. unfreezecharge:
  2672. description: 解冻手续费
  2673. type: number
  2674. unfreezemargin:
  2675. description: 解冻保证金
  2676. type: number
  2677. validtime:
  2678. description: 有效期限
  2679. type: string
  2680. validtype:
  2681. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  2682. type: integer
  2683. volumetype:
  2684. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  2685. type: integer
  2686. required:
  2687. - accountid
  2688. - buildtype
  2689. - buyorsell
  2690. - goodsid
  2691. - marketid
  2692. - operatetype
  2693. - orderqty
  2694. - ordertime
  2695. - pricemode
  2696. - tradedate
  2697. - validtype
  2698. type: object
  2699. order.QueryTradePositionRsp:
  2700. properties:
  2701. accountid:
  2702. description: 资金账户
  2703. type: integer
  2704. agreeunit:
  2705. description: 合约单位
  2706. type: number
  2707. averageprice:
  2708. description: 持仓均价
  2709. type: number
  2710. buyorsell:
  2711. description: 方向 - 0:买 1:卖
  2712. type: integer
  2713. closetotalqty:
  2714. description: 平仓总数量
  2715. type: integer
  2716. curholderamount:
  2717. description: 当前持仓总金额[商品币种]
  2718. type: number
  2719. curpositionqty:
  2720. description: 当前持仓总数量
  2721. type: integer
  2722. currencyid:
  2723. description: 报价货币ID
  2724. type: integer
  2725. curtdposition:
  2726. description: 期末今日头寸
  2727. type: integer
  2728. decimalplace:
  2729. description: 报价小数位
  2730. type: integer
  2731. enableqty:
  2732. description: 可用量
  2733. type: integer
  2734. fretdposition:
  2735. description: 冻结今日头寸
  2736. type: integer
  2737. frozenqty:
  2738. description: 持仓冻结数量
  2739. type: integer
  2740. goodscode:
  2741. description: 商品代码
  2742. type: string
  2743. goodsid:
  2744. description: 商品Id
  2745. type: integer
  2746. goodsname:
  2747. description: 商品名称
  2748. type: string
  2749. goodunit:
  2750. description: 报价单位
  2751. type: string
  2752. goodunitid:
  2753. description: 报价单位ID
  2754. type: integer
  2755. holderamount:
  2756. description: 期初持仓总金额[商品币种]
  2757. type: number
  2758. marketid:
  2759. description: 所属市场ID
  2760. type: integer
  2761. openreqqty:
  2762. description: 开仓申请数量(用于比较最大持仓数量)
  2763. type: integer
  2764. opentotalqty:
  2765. description: 开仓总数量
  2766. type: integer
  2767. otherfrozenqty:
  2768. description: 持仓其他冻结数量(交割冻结)
  2769. type: integer
  2770. positionqty:
  2771. description: 期初持仓数量
  2772. type: integer
  2773. tnqty:
  2774. description: T+N冻结总量
  2775. type: integer
  2776. tnusedqty:
  2777. description: T+N使用量(可以使用T+N的冻结数量)
  2778. type: integer
  2779. trademode:
  2780. description: 交易模式
  2781. type: integer
  2782. required:
  2783. - goodsid
  2784. type: object
  2785. quote.HistoryData:
  2786. properties:
  2787. Opened:
  2788. description: 开盘价
  2789. type: number
  2790. closed:
  2791. description: 收盘价
  2792. type: number
  2793. highest:
  2794. description: 收盘价
  2795. type: number
  2796. holdVolume:
  2797. description: 持仓量
  2798. type: number
  2799. lowest:
  2800. description: 最低价
  2801. type: number
  2802. settle:
  2803. description: 结算价
  2804. type: number
  2805. timeStamp:
  2806. description: 开盘时间
  2807. type: string
  2808. totleTurnover:
  2809. description: 总金额
  2810. type: number
  2811. totleVolume:
  2812. description: 总量
  2813. type: number
  2814. type: object
  2815. quote.QueryTSDataRsp:
  2816. properties:
  2817. decimalPlace:
  2818. description: 小数位
  2819. type: integer
  2820. endTime:
  2821. description: 结束时间
  2822. type: string
  2823. goodsCode:
  2824. description: 商品代码
  2825. type: string
  2826. historyDatas:
  2827. description: 历史数据
  2828. items:
  2829. $ref: '#/definitions/quote.HistoryData'
  2830. type: array
  2831. preSettle:
  2832. description: 昨结
  2833. type: number
  2834. startTime:
  2835. description: 开始时间
  2836. type: string
  2837. tradeDate:
  2838. description: 交易日
  2839. type: string
  2840. type: object
  2841. szdz.QueryConvertLogRsp:
  2842. properties:
  2843. accountid:
  2844. description: 资金账户ID
  2845. type: integer
  2846. clientticket:
  2847. description: 客户端流水号
  2848. type: string
  2849. converttype:
  2850. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  2851. type: integer
  2852. createtime:
  2853. description: 记账时间
  2854. type: string
  2855. daymaxvalue:
  2856. description: 配置当日最大转入限制
  2857. type: number
  2858. daymaxvalue2:
  2859. description: 配置当日最大转入限制(转入)
  2860. type: number
  2861. goodscode:
  2862. description: 商品代码
  2863. type: string
  2864. goodsname:
  2865. description: 商品名称
  2866. type: string
  2867. handlestatus:
  2868. description: 处理状态
  2869. type: integer
  2870. innergoodsid:
  2871. description: 内部商品ID
  2872. type: integer
  2873. inratio:
  2874. description: 配置转入比值
  2875. type: integer
  2876. invalue:
  2877. description: 目标值
  2878. type: number
  2879. logid:
  2880. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2881. type: integer
  2882. mobile:
  2883. description: 手机号码(加密存储)
  2884. type: string
  2885. outergoodscode:
  2886. description: 外部商品代码[JD\PD]
  2887. type: string
  2888. outratio:
  2889. description: 配置转出比值
  2890. type: integer
  2891. outvalue:
  2892. description: 源值
  2893. type: number
  2894. pddecimalplace:
  2895. description: PD小数位
  2896. type: integer
  2897. qty:
  2898. description: 数量
  2899. type: string
  2900. remark:
  2901. description: 备注
  2902. type: string
  2903. sessionid:
  2904. description: 会话ID
  2905. type: integer
  2906. timemaxvalue:
  2907. description: 配置单次最大转入限制
  2908. type: number
  2909. timemaxvalue2:
  2910. description: 配置单次最大转入限制(转入)
  2911. type: number
  2912. timeminvalue:
  2913. description: 配置单次最小数量限制
  2914. type: number
  2915. timeminvalue2:
  2916. description: 配置单次最小数量限制(转入)
  2917. type: number
  2918. tradedate:
  2919. description: 交易日(yyyyMMdd)
  2920. type: string
  2921. userid:
  2922. description: 用户ID
  2923. type: integer
  2924. required:
  2925. - logid
  2926. type: object
  2927. szdz.QueryGoodsPickupRsp:
  2928. properties:
  2929. accountid:
  2930. description: 账户ID
  2931. type: integer
  2932. address:
  2933. description: 提货人详细地址
  2934. type: string
  2935. auditer:
  2936. description: 审核人
  2937. type: integer
  2938. audittime:
  2939. description: 审核时间
  2940. type: string
  2941. cardnum:
  2942. description: 提货人证件号码
  2943. type: string
  2944. cardtypeid:
  2945. description: 提货人证件类型
  2946. type: integer
  2947. checkremark:
  2948. description: 审核备注
  2949. type: string
  2950. goodscode:
  2951. description: 商品代码
  2952. type: string
  2953. goodsid:
  2954. description: 商品ID
  2955. type: integer
  2956. goodsname:
  2957. description: 商品名称
  2958. type: string
  2959. handlestatus:
  2960. description: 处理状态
  2961. type: integer
  2962. marketid:
  2963. description: 市场ID
  2964. type: integer
  2965. phonenum:
  2966. description: 提货人联系方式
  2967. type: string
  2968. qty:
  2969. description: 提货数量
  2970. type: number
  2971. recivername:
  2972. description: 提货人姓名
  2973. type: string
  2974. reqtime:
  2975. description: 更新时间
  2976. type: string
  2977. takemode:
  2978. description: 提货方式 - 2:自提 3:配送
  2979. type: integer
  2980. takeorderid:
  2981. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  2982. type: string
  2983. takeorderstatus:
  2984. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  2985. type: integer
  2986. takeremark:
  2987. description: 提货备注
  2988. type: string
  2989. tradedate:
  2990. description: 交易日(yyyyMMdd)
  2991. type: string
  2992. userid:
  2993. description: 用户ID
  2994. type: integer
  2995. required:
  2996. - takeorderid
  2997. type: object
  2998. szdz.QueryRecieptOrderRsp:
  2999. properties:
  3000. accountName:
  3001. description: 所属账号名称(已脱敏)
  3002. type: string
  3003. accountid:
  3004. description: 资金账号
  3005. type: integer
  3006. buyorsell:
  3007. description: 方向 - 0:买 1:卖
  3008. type: integer
  3009. enableqty:
  3010. description: 可摘数量
  3011. type: integer
  3012. goodscode:
  3013. description: 商品代码
  3014. type: string
  3015. goodsid:
  3016. description: 商品ID
  3017. type: integer
  3018. goodsname:
  3019. description: 商品名称
  3020. type: string
  3021. orderid:
  3022. description: 委托单号
  3023. type: string
  3024. orderprice:
  3025. description: 委托价格
  3026. type: number
  3027. tradedate:
  3028. description: 交易日(yyyyMMdd)
  3029. type: string
  3030. type: object
  3031. szdz.QuerySZDZTradePositionRsp:
  3032. properties:
  3033. accountid:
  3034. description: 账号Id
  3035. type: integer
  3036. agreeunit:
  3037. description: 合约单位
  3038. type: number
  3039. averageprice:
  3040. description: 持仓均价
  3041. type: number
  3042. buyorsell:
  3043. description: 方向 - 0:买 1:卖
  3044. type: integer
  3045. closetotalqty:
  3046. description: 平仓总数量
  3047. type: integer
  3048. curholderamount:
  3049. description: 当前持仓总金额
  3050. type: number
  3051. curpositionqty:
  3052. description: 当前持仓总数量
  3053. type: integer
  3054. currencyid:
  3055. description: 报价货币ID
  3056. type: integer
  3057. curtdposition:
  3058. description: 期末今日头寸
  3059. type: integer
  3060. decimalplace:
  3061. description: 报价小数位
  3062. type: integer
  3063. enableqty:
  3064. description: 可用量
  3065. type: integer
  3066. fretdposition:
  3067. description: 冻结今日头寸
  3068. type: integer
  3069. frozenqty:
  3070. description: 持仓冻结数量
  3071. type: integer
  3072. goodscode:
  3073. description: 商品代码(内部)
  3074. type: string
  3075. goodsid:
  3076. description: 商品Id
  3077. type: integer
  3078. goodsname:
  3079. description: 商品名称
  3080. type: string
  3081. goodunit:
  3082. description: 报价单位
  3083. type: string
  3084. goodunitid:
  3085. description: 报价单位ID
  3086. type: integer
  3087. holderamount:
  3088. description: 期初持仓总金额
  3089. type: number
  3090. marketid:
  3091. description: 市场ID
  3092. type: integer
  3093. openreqqty:
  3094. description: 开仓申请数量
  3095. type: integer
  3096. opentotalqty:
  3097. description: 开仓总数量
  3098. type: integer
  3099. otherfrozenqty:
  3100. description: 持仓其他冻结数量(交割冻结)
  3101. type: integer
  3102. positionqty:
  3103. description: 期初持仓数量
  3104. type: integer
  3105. szdz3freezqty:
  3106. description: 尚志大宗转换冻结总数量
  3107. type: integer
  3108. tnqty:
  3109. description: T+N冻结总量
  3110. type: integer
  3111. tnusedqty:
  3112. description: T+N使用量
  3113. type: integer
  3114. trademode:
  3115. description: 交易模式
  3116. type: integer
  3117. usedmargin:
  3118. description: 占用保证金
  3119. type: number
  3120. type: object
  3121. taaccount.QueryAmountLogRsp:
  3122. properties:
  3123. OPERATETYPENAME:
  3124. description: 资金操作类型名称
  3125. type: string
  3126. accountid:
  3127. description: 资金账户ID
  3128. type: integer
  3129. agoodscode:
  3130. description: 竞拍商品代码
  3131. type: string
  3132. agoodsname:
  3133. description: 竞拍商品名称
  3134. type: string
  3135. amount:
  3136. description: 资金金额
  3137. type: number
  3138. amountadjusttype:
  3139. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  3140. type: integer
  3141. autoid:
  3142. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  3143. type: integer
  3144. balance:
  3145. description: 期初余额
  3146. type: number
  3147. businesscode:
  3148. description: 业务编号
  3149. type: integer
  3150. createtime:
  3151. description: 发生时间
  3152. type: string
  3153. currencyid:
  3154. description: 币种ID
  3155. type: integer
  3156. currentbalance:
  3157. description: 期末余额(变动后金额)
  3158. type: number
  3159. dgoodscode:
  3160. description: 交割商品代码
  3161. type: string
  3162. dgoodsname:
  3163. description: 交割商品名称
  3164. type: string
  3165. goodscode:
  3166. description: 商品代码
  3167. type: string
  3168. goodsid:
  3169. description: 商品ID
  3170. type: integer
  3171. goodsname:
  3172. description: 商品名称
  3173. type: string
  3174. marketid:
  3175. description: 市场ID
  3176. type: integer
  3177. marketname:
  3178. description: 市场名称
  3179. type: string
  3180. moneyticket:
  3181. description: 资金流水号:银行端流水号
  3182. type: integer
  3183. operatetype:
  3184. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  3185. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  3186. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  3187. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  3188. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  3189. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  3190. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  3191. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  3192. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  3193. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  3194. type: integer
  3195. relationorderid:
  3196. description: 关联单号
  3197. type: string
  3198. remark:
  3199. description: 备注
  3200. type: string
  3201. trademode:
  3202. description: 交易模式
  3203. type: integer
  3204. required:
  3205. - accountid
  3206. - amount
  3207. - amountadjusttype
  3208. - autoid
  3209. - balance
  3210. - createtime
  3211. - currentbalance
  3212. - operatetype
  3213. type: object
  3214. taaccount.QueryHisAmountLogRsp:
  3215. properties:
  3216. OPERATETYPENAME:
  3217. description: 资金操作类型名称
  3218. type: string
  3219. accountid:
  3220. description: 资金账户ID
  3221. type: integer
  3222. agoodscode:
  3223. description: 竞拍商品代码
  3224. type: string
  3225. agoodsname:
  3226. description: 竞拍商品名称
  3227. type: string
  3228. amount:
  3229. description: 资金金额
  3230. type: number
  3231. amountadjusttype:
  3232. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  3233. type: integer
  3234. autoid:
  3235. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  3236. type: integer
  3237. balance:
  3238. description: 期初余额
  3239. type: number
  3240. businesscode:
  3241. description: 业务编号
  3242. type: integer
  3243. createtime:
  3244. description: 发生时间
  3245. type: string
  3246. currencyid:
  3247. description: 币种ID
  3248. type: integer
  3249. currentbalance:
  3250. description: 期末余额(变动后金额)
  3251. type: number
  3252. dgoodscode:
  3253. description: 交割商品代码
  3254. type: string
  3255. dgoodsname:
  3256. description: 交割商品名称
  3257. type: string
  3258. goodscode:
  3259. description: 商品代码
  3260. type: string
  3261. goodsid:
  3262. description: 商品ID
  3263. type: integer
  3264. goodsname:
  3265. description: 商品名称
  3266. type: string
  3267. histradedate:
  3268. description: 历史交易日
  3269. type: string
  3270. isvaliddata:
  3271. description: 是否有效 - 0:无效 1:有效
  3272. type: integer
  3273. marketid:
  3274. description: 市场ID
  3275. type: integer
  3276. marketname:
  3277. description: 市场名称
  3278. type: string
  3279. moneyticket:
  3280. description: 资金流水号:银行端流水号
  3281. type: integer
  3282. operatetype:
  3283. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  3284. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  3285. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  3286. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  3287. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  3288. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  3289. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  3290. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  3291. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  3292. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  3293. type: integer
  3294. relationorderid:
  3295. description: 关联单号
  3296. type: string
  3297. remark:
  3298. description: 备注
  3299. type: string
  3300. trademode:
  3301. description: 交易模式
  3302. type: integer
  3303. required:
  3304. - accountid
  3305. - amount
  3306. - amountadjusttype
  3307. - autoid
  3308. - balance
  3309. - createtime
  3310. - currentbalance
  3311. - histradedate
  3312. - operatetype
  3313. type: object
  3314. info:
  3315. contact: {}
  3316. description: 新的查询服务,替代原通用查询服务。
  3317. termsOfService: http://muchinfo.cn
  3318. title: MTP2.0 查询服务 API
  3319. version: "1.0"
  3320. paths:
  3321. /CPTrade/QueryCPTradeMyBidInfos:
  3322. get:
  3323. parameters:
  3324. - description: 资金账户
  3325. in: query
  3326. name: accountid
  3327. required: true
  3328. type: integer
  3329. - description: 预售市场ID
  3330. in: query
  3331. name: marketid
  3332. type: integer
  3333. - description: 预售商品ID
  3334. in: query
  3335. name: goodsid
  3336. type: integer
  3337. produces:
  3338. - application/json
  3339. responses:
  3340. "200":
  3341. description: OK
  3342. schema:
  3343. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  3344. "500":
  3345. description: Internal Server Error
  3346. schema:
  3347. $ref: '#/definitions/app.Response'
  3348. security:
  3349. - ApiKeyAuth: []
  3350. summary: 查询产能预售我的出价信息
  3351. tags:
  3352. - 产能预售
  3353. /CPTrade/QueryCPTradeOrderDetail:
  3354. get:
  3355. parameters:
  3356. - description: 预售商品ID
  3357. in: query
  3358. name: goodsid
  3359. type: integer
  3360. - description: 预售市场ID
  3361. in: query
  3362. name: marketid
  3363. type: integer
  3364. - description: 预售商品ID列表 - 格式:1,2,3
  3365. in: query
  3366. name: goodsids
  3367. type: string
  3368. produces:
  3369. - application/json
  3370. responses:
  3371. "200":
  3372. description: OK
  3373. schema:
  3374. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  3375. "500":
  3376. description: Internal Server Error
  3377. schema:
  3378. $ref: '#/definitions/app.Response'
  3379. security:
  3380. - ApiKeyAuth: []
  3381. summary: 查询产能预售委托单信息
  3382. tags:
  3383. - 产能预售
  3384. /CPTrade/QueryMyCPTradeGoods:
  3385. get:
  3386. parameters:
  3387. - description: 资金账户
  3388. in: query
  3389. name: accountid
  3390. required: true
  3391. type: integer
  3392. produces:
  3393. - application/json
  3394. responses:
  3395. "200":
  3396. description: OK
  3397. schema:
  3398. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  3399. "500":
  3400. description: Internal Server Error
  3401. schema:
  3402. $ref: '#/definitions/app.Response'
  3403. security:
  3404. - ApiKeyAuth: []
  3405. summary: 查询我的预售信息
  3406. tags:
  3407. - 产能预售
  3408. /CPTrade/QueryPositionCancel:
  3409. get:
  3410. parameters:
  3411. - description: 账户ID
  3412. in: query
  3413. name: userid
  3414. required: true
  3415. type: integer
  3416. - description: 注销ID
  3417. in: query
  3418. name: cancelid
  3419. type: integer
  3420. - description: 资金账户ID
  3421. in: query
  3422. name: accountid
  3423. type: integer
  3424. produces:
  3425. - application/json
  3426. responses:
  3427. "200":
  3428. description: OK
  3429. schema:
  3430. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  3431. "500":
  3432. description: Internal Server Error
  3433. schema:
  3434. $ref: '#/definitions/app.Response'
  3435. security:
  3436. - ApiKeyAuth: []
  3437. summary: 查询远期订单注销申请信息
  3438. tags:
  3439. - 产能预售
  3440. /CPTrade/QueryPreasleApply:
  3441. get:
  3442. parameters:
  3443. - description: 账户ID
  3444. in: query
  3445. name: userid
  3446. required: true
  3447. type: integer
  3448. - description: 申请ID
  3449. in: query
  3450. name: applyid
  3451. type: integer
  3452. - description: 资金账户ID
  3453. in: query
  3454. name: accountid
  3455. type: integer
  3456. produces:
  3457. - application/json
  3458. responses:
  3459. "200":
  3460. description: OK
  3461. schema:
  3462. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  3463. "500":
  3464. description: Internal Server Error
  3465. schema:
  3466. $ref: '#/definitions/app.Response'
  3467. security:
  3468. - ApiKeyAuth: []
  3469. summary: 查询产能预售申请信息
  3470. tags:
  3471. - 产能预售
  3472. /CPTrade/QueryPresaleGoodsEx:
  3473. get:
  3474. parameters:
  3475. - description: 预售商品ID
  3476. in: query
  3477. name: goodsid
  3478. type: integer
  3479. - description: 预售市场ID
  3480. in: query
  3481. name: marketid
  3482. type: integer
  3483. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  3484. in: query
  3485. name: presalemode
  3486. type: integer
  3487. - description: 预售商品ID列表 - 格式:1,2,3
  3488. in: query
  3489. name: goodsids
  3490. type: string
  3491. - description: 预售商品代码
  3492. in: query
  3493. name: goodscode
  3494. type: string
  3495. produces:
  3496. - application/json
  3497. responses:
  3498. "200":
  3499. description: OK
  3500. schema:
  3501. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  3502. "500":
  3503. description: Internal Server Error
  3504. schema:
  3505. $ref: '#/definitions/app.Response'
  3506. security:
  3507. - ApiKeyAuth: []
  3508. summary: 查询产能预售商品扩展信息
  3509. tags:
  3510. - 产能预售
  3511. /CPTrade/QueryUserGoodsData:
  3512. get:
  3513. parameters:
  3514. - description: 资金账户ID
  3515. in: query
  3516. name: accountid
  3517. required: true
  3518. type: integer
  3519. produces:
  3520. - application/json
  3521. responses:
  3522. "200":
  3523. description: OK
  3524. schema:
  3525. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  3526. "500":
  3527. description: Internal Server Error
  3528. schema:
  3529. $ref: '#/definitions/app.Response'
  3530. security:
  3531. - ApiKeyAuth: []
  3532. summary: 查询远期订单信息
  3533. tags:
  3534. - 产能预售
  3535. /Common/NoticeReaded:
  3536. post:
  3537. parameters:
  3538. - description: 登录账号
  3539. in: query
  3540. name: loginID
  3541. required: true
  3542. type: integer
  3543. - description: 通知公告ID
  3544. in: query
  3545. name: noticeID
  3546. required: true
  3547. type: integer
  3548. produces:
  3549. - application/json
  3550. responses:
  3551. "200":
  3552. description: OK
  3553. schema:
  3554. $ref: '#/definitions/app.Response'
  3555. "500":
  3556. description: Internal Server Error
  3557. schema:
  3558. $ref: '#/definitions/app.Response'
  3559. security:
  3560. - ApiKeyAuth: []
  3561. summary: 通知公告设置已读请求
  3562. tags:
  3563. - 通用服务
  3564. /Common/QueryNotice:
  3565. get:
  3566. parameters:
  3567. - description: 页码
  3568. in: query
  3569. name: page
  3570. type: integer
  3571. - description: 每页条数
  3572. in: query
  3573. name: pagesize
  3574. type: integer
  3575. - description: 登录账号
  3576. in: query
  3577. name: loginID
  3578. required: true
  3579. type: integer
  3580. - description: 消息类型 - 1:公告通知 2:系统消息
  3581. in: query
  3582. name: msgType
  3583. type: integer
  3584. - description: 是否只获取未读信息
  3585. in: query
  3586. name: onlyUnRead
  3587. type: boolean
  3588. produces:
  3589. - application/json
  3590. responses:
  3591. "200":
  3592. description: OK
  3593. schema:
  3594. $ref: '#/definitions/common.QueryNoticeRsp'
  3595. "500":
  3596. description: Internal Server Error
  3597. schema:
  3598. $ref: '#/definitions/app.Response'
  3599. security:
  3600. - ApiKeyAuth: []
  3601. summary: 通知公告系统消息查询
  3602. tags:
  3603. - 通用服务
  3604. /Common/QueryProvincesAndCities:
  3605. get:
  3606. parameters:
  3607. - description: 省ID
  3608. in: query
  3609. name: provinceID
  3610. type: integer
  3611. produces:
  3612. - application/json
  3613. responses:
  3614. "200":
  3615. description: OK
  3616. schema:
  3617. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  3618. "500":
  3619. description: Internal Server Error
  3620. schema:
  3621. $ref: '#/definitions/app.Response'
  3622. summary: 查询省市信息(不包括区)
  3623. tags:
  3624. - 通用服务
  3625. /Common/QueryTableDefine:
  3626. get:
  3627. parameters:
  3628. - description: 表key
  3629. in: query
  3630. name: TableKey
  3631. type: string
  3632. produces:
  3633. - application/json
  3634. responses:
  3635. "200":
  3636. description: OK
  3637. schema:
  3638. $ref: '#/definitions/common.QueryTableDefineRsp'
  3639. "500":
  3640. description: Internal Server Error
  3641. schema:
  3642. $ref: '#/definitions/app.Response'
  3643. summary: 查询交易端列表头信息
  3644. tags:
  3645. - 通用服务
  3646. /Common/QueryTraderMenu:
  3647. get:
  3648. parameters:
  3649. - description: 登录账号
  3650. in: query
  3651. name: loginid
  3652. required: true
  3653. type: integer
  3654. produces:
  3655. - application/json
  3656. responses:
  3657. "200":
  3658. description: OK
  3659. schema:
  3660. $ref: '#/definitions/common.QueryTraderMenuRsp'
  3661. "500":
  3662. description: Internal Server Error
  3663. schema:
  3664. $ref: '#/definitions/app.Response'
  3665. summary: 查询交易端菜单
  3666. tags:
  3667. - 通用服务
  3668. /Delivery/QueryDeliveryRelation:
  3669. get:
  3670. parameters:
  3671. - description: 商品ID
  3672. in: query
  3673. name: goodsid
  3674. type: integer
  3675. - description: 品种ID
  3676. in: query
  3677. name: deliverygoodsid
  3678. type: integer
  3679. - description: 市场ID
  3680. in: query
  3681. name: marketid
  3682. type: integer
  3683. produces:
  3684. - application/json
  3685. responses:
  3686. "200":
  3687. description: OK
  3688. schema:
  3689. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  3690. "500":
  3691. description: Internal Server Error
  3692. schema:
  3693. $ref: '#/definitions/app.Response'
  3694. security:
  3695. - ApiKeyAuth: []
  3696. summary: 查询商品交割关系表
  3697. tags:
  3698. - 交割服务
  3699. /Erms2/QueryArbitrageStrategy:
  3700. get:
  3701. parameters:
  3702. - description: 账户ID
  3703. in: query
  3704. name: userid
  3705. required: true
  3706. type: integer
  3707. - description: 商品组ID(品种ID)
  3708. in: query
  3709. name: goodsgroupid
  3710. type: string
  3711. produces:
  3712. - application/json
  3713. responses:
  3714. "200":
  3715. description: OK
  3716. schema:
  3717. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  3718. "500":
  3719. description: Internal Server Error
  3720. schema:
  3721. $ref: '#/definitions/app.Response'
  3722. security:
  3723. - ApiKeyAuth: []
  3724. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  3725. tags:
  3726. - 风险管理
  3727. /Erms2/QueryInnerTradeDetail:
  3728. get:
  3729. parameters:
  3730. - description: 资金账户
  3731. in: query
  3732. name: accountid
  3733. required: true
  3734. type: integer
  3735. produces:
  3736. - application/json
  3737. responses:
  3738. "200":
  3739. description: OK
  3740. schema:
  3741. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  3742. "500":
  3743. description: Internal Server Error
  3744. schema:
  3745. $ref: '#/definitions/app.Response'
  3746. security:
  3747. - ApiKeyAuth: []
  3748. summary: 查询内部成交单信息
  3749. tags:
  3750. - 风险管理
  3751. /Erms2/QuerySpotContract:
  3752. get:
  3753. parameters:
  3754. - description: 策略申请ID
  3755. in: query
  3756. name: asapplyid
  3757. required: true
  3758. type: integer
  3759. - description: 现货合同ID
  3760. in: query
  3761. name: spotcontractid
  3762. type: integer
  3763. produces:
  3764. - application/json
  3765. responses:
  3766. "200":
  3767. description: OK
  3768. schema:
  3769. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  3770. "500":
  3771. description: Internal Server Error
  3772. schema:
  3773. $ref: '#/definitions/app.Response'
  3774. security:
  3775. - ApiKeyAuth: []
  3776. summary: 查询现货合同表信息(指定策略ID、未结束的)
  3777. tags:
  3778. - 风险管理
  3779. /HSBY/QueryHsbyGoodsOrderDetails:
  3780. get:
  3781. description: 说明:查询结果已按委托价格和委托时间排序
  3782. parameters:
  3783. - description: 商品ID
  3784. in: query
  3785. name: goodsID
  3786. required: true
  3787. type: integer
  3788. - description: 委托单方向。0:买 1:卖。不传则默认为买
  3789. in: query
  3790. name: buyOrSell
  3791. type: integer
  3792. - description: ' 参考价格。买方向委托单则价格大于等于(站在摘牌人的角度);卖方向委托单则价格小于等于'
  3793. in: query
  3794. name: price
  3795. type: number
  3796. - description: 档位,不传则默认为3档
  3797. in: query
  3798. name: speed
  3799. type: integer
  3800. produces:
  3801. - application/json
  3802. responses:
  3803. "200":
  3804. description: OK
  3805. schema:
  3806. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  3807. "500":
  3808. description: Internal Server Error
  3809. schema:
  3810. $ref: '#/definitions/app.Response'
  3811. security:
  3812. - ApiKeyAuth: []
  3813. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  3814. tags:
  3815. - 定制【海商报业】
  3816. /HSBY/QueryHsbyListingGoodsDetail:
  3817. get:
  3818. parameters:
  3819. - description: 商品ID
  3820. in: query
  3821. name: goodsID
  3822. required: true
  3823. type: integer
  3824. produces:
  3825. - application/json
  3826. responses:
  3827. "200":
  3828. description: OK
  3829. schema:
  3830. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  3831. "500":
  3832. description: Internal Server Error
  3833. schema:
  3834. $ref: '#/definitions/app.Response'
  3835. security:
  3836. - ApiKeyAuth: []
  3837. summary: 查询二级市场(挂牌点选)商品信息详情
  3838. tags:
  3839. - 定制【海商报业】
  3840. /HSBY/QueryHsbyMyBuyOrderDetails:
  3841. get:
  3842. description: 说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;
  3843. parameters:
  3844. - description: 资金账户列表,格式:1,2,3
  3845. in: query
  3846. name: accountIDs
  3847. required: true
  3848. type: string
  3849. - description: '''我的订单''状态, 1:抢购中 2:求购中 3:已完成;不传则为''全部'''
  3850. in: query
  3851. name: myBuyStatus
  3852. type: integer
  3853. produces:
  3854. - application/json
  3855. responses:
  3856. "200":
  3857. description: OK
  3858. schema:
  3859. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  3860. "500":
  3861. description: Internal Server Error
  3862. schema:
  3863. $ref: '#/definitions/app.Response'
  3864. security:
  3865. - ApiKeyAuth: []
  3866. summary: 查询“我的订单”信息
  3867. tags:
  3868. - 定制【海商报业】
  3869. /HSBY/QueryHsbyMyGoods:
  3870. get:
  3871. parameters:
  3872. - description: 资金账户列表,格式:1,2,3
  3873. in: query
  3874. name: accountIDs
  3875. required: true
  3876. type: string
  3877. produces:
  3878. - application/json
  3879. responses:
  3880. "200":
  3881. description: OK
  3882. schema:
  3883. $ref: '#/definitions/models.HsbyMyGoods'
  3884. "500":
  3885. description: Internal Server Error
  3886. schema:
  3887. $ref: '#/definitions/app.Response'
  3888. security:
  3889. - ApiKeyAuth: []
  3890. summary: 查询“我的商品”信息
  3891. tags:
  3892. - 定制【海商报业】
  3893. /HSBY/QueryHsbyPreGoodsDetail:
  3894. get:
  3895. parameters:
  3896. - description: 商品ID
  3897. in: query
  3898. name: goodsID
  3899. required: true
  3900. type: integer
  3901. produces:
  3902. - application/json
  3903. responses:
  3904. "200":
  3905. description: OK
  3906. schema:
  3907. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  3908. "500":
  3909. description: Internal Server Error
  3910. schema:
  3911. $ref: '#/definitions/app.Response'
  3912. security:
  3913. - ApiKeyAuth: []
  3914. summary: 查询一级市场(产能预售)商品信息详情
  3915. tags:
  3916. - 定制【海商报业】
  3917. /HSBY/QueryHsbyPreGoodses:
  3918. get:
  3919. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  3920. parameters:
  3921. - description: 页码
  3922. in: query
  3923. name: page
  3924. type: integer
  3925. - description: 每页条数
  3926. in: query
  3927. name: pagesize
  3928. type: integer
  3929. - description: 市场ID列表,格式:1,2,3
  3930. in: query
  3931. name: marketIDs
  3932. required: true
  3933. type: string
  3934. - description: 目的地(省)ID
  3935. in: query
  3936. name: DescProvinceID
  3937. type: integer
  3938. - description: 目的地(市)ID
  3939. in: query
  3940. name: DescCityID
  3941. type: integer
  3942. produces:
  3943. - application/json
  3944. responses:
  3945. "200":
  3946. description: OK
  3947. schema:
  3948. $ref: '#/definitions/models.HsbyPreGoods'
  3949. "500":
  3950. description: Internal Server Error
  3951. schema:
  3952. $ref: '#/definitions/app.Response'
  3953. security:
  3954. - ApiKeyAuth: []
  3955. summary: 查询新品上市商品列表(一级市场产能预售)
  3956. tags:
  3957. - 定制【海商报业】
  3958. /HSBY/QueryHsbyTopGoodses:
  3959. get:
  3960. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  3961. parameters:
  3962. - description: 页码
  3963. in: query
  3964. name: page
  3965. type: integer
  3966. - description: 每页条数
  3967. in: query
  3968. name: pagesize
  3969. type: integer
  3970. - description: 市场ID列表,格式:1,2,3
  3971. in: query
  3972. name: marketIDs
  3973. required: true
  3974. type: string
  3975. - description: 目的地(省)ID
  3976. in: query
  3977. name: DescProvinceID
  3978. type: integer
  3979. - description: 目的地(市)ID
  3980. in: query
  3981. name: DescCityID
  3982. type: integer
  3983. produces:
  3984. - application/json
  3985. responses:
  3986. "200":
  3987. description: OK
  3988. schema:
  3989. $ref: '#/definitions/models.HsbyTopGoods'
  3990. "500":
  3991. description: Internal Server Error
  3992. schema:
  3993. $ref: '#/definitions/app.Response'
  3994. security:
  3995. - ApiKeyAuth: []
  3996. summary: 查询热卖商品列表(二级市场挂牌点选)
  3997. tags:
  3998. - 定制【海商报业】
  3999. /History/QueryTSData:
  4000. get:
  4001. parameters:
  4002. - description: 商品代码
  4003. in: query
  4004. name: GoodsCode
  4005. required: true
  4006. type: string
  4007. produces:
  4008. - application/json
  4009. responses:
  4010. "200":
  4011. description: OK
  4012. schema:
  4013. $ref: '#/definitions/quote.QueryTSDataRsp'
  4014. "500":
  4015. description: Internal Server Error
  4016. schema:
  4017. $ref: '#/definitions/app.Response'
  4018. summary: 分时图数据查询
  4019. tags:
  4020. - 通用服务
  4021. /Order/QueryHisTradeDetail:
  4022. get:
  4023. parameters:
  4024. - description: 资金账户 - 格式:1,2,3
  4025. in: query
  4026. name: accountID
  4027. required: true
  4028. type: string
  4029. - description: 成交单号
  4030. in: query
  4031. name: tradeID
  4032. type: integer
  4033. - description: 委托单号
  4034. in: query
  4035. name: orderID
  4036. type: integer
  4037. - description: 交易模式 - 格式:1,2,3
  4038. in: query
  4039. name: tradeMode
  4040. type: string
  4041. - description: 委托单据类型
  4042. in: query
  4043. name: buildType
  4044. type: integer
  4045. - description: 成交类别 - 格式:1,2,3
  4046. in: query
  4047. name: tradeType
  4048. type: string
  4049. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  4050. in: query
  4051. name: startDate
  4052. type: string
  4053. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  4054. in: query
  4055. name: endDate
  4056. type: string
  4057. produces:
  4058. - application/json
  4059. responses:
  4060. "200":
  4061. description: OK
  4062. schema:
  4063. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  4064. "500":
  4065. description: Internal Server Error
  4066. schema:
  4067. $ref: '#/definitions/app.Response'
  4068. security:
  4069. - ApiKeyAuth: []
  4070. summary: 历史成交单查询(合约市场)
  4071. tags:
  4072. - 通用单据
  4073. /Order/QueryHisTradeOrderDetail:
  4074. get:
  4075. parameters:
  4076. - description: 资金账户 - 格式:1,2,3
  4077. in: query
  4078. name: accountID
  4079. required: true
  4080. type: string
  4081. - description: 交易模式 - 格式:1,2,3
  4082. in: query
  4083. name: tradeMode
  4084. type: string
  4085. - description: 委托状态 - 格式:1,2,3
  4086. in: query
  4087. name: orderStatus
  4088. type: string
  4089. - description: 委托单号
  4090. in: query
  4091. name: orderID
  4092. type: integer
  4093. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  4094. in: query
  4095. name: startDate
  4096. type: string
  4097. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  4098. in: query
  4099. name: endDate
  4100. type: string
  4101. produces:
  4102. - application/json
  4103. responses:
  4104. "200":
  4105. description: OK
  4106. schema:
  4107. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  4108. "500":
  4109. description: Internal Server Error
  4110. schema:
  4111. $ref: '#/definitions/app.Response'
  4112. security:
  4113. - ApiKeyAuth: []
  4114. summary: 历史委托单查询请求(合约市场)
  4115. tags:
  4116. - 通用单据
  4117. /Order/QueryTradeDetail:
  4118. get:
  4119. parameters:
  4120. - description: 资金账户 - 格式:1,2,3
  4121. in: query
  4122. name: accountID
  4123. required: true
  4124. type: string
  4125. - description: 成交单号
  4126. in: query
  4127. name: tradeID
  4128. type: integer
  4129. - description: 委托单号
  4130. in: query
  4131. name: orderID
  4132. type: integer
  4133. - description: 交易模式 - 格式:1,2,3
  4134. in: query
  4135. name: tradeMode
  4136. type: string
  4137. - description: 委托单据类型
  4138. in: query
  4139. name: buildType
  4140. type: integer
  4141. - description: 成交类别 - 格式:1,2,3
  4142. in: query
  4143. name: tradeType
  4144. type: string
  4145. produces:
  4146. - application/json
  4147. responses:
  4148. "200":
  4149. description: OK
  4150. schema:
  4151. $ref: '#/definitions/order.QueryTradeDetailRsp'
  4152. "500":
  4153. description: Internal Server Error
  4154. schema:
  4155. $ref: '#/definitions/app.Response'
  4156. security:
  4157. - ApiKeyAuth: []
  4158. summary: 成交单查询(合约市场)
  4159. tags:
  4160. - 通用单据
  4161. /Order/QueryTradeOrderDetail:
  4162. get:
  4163. parameters:
  4164. - description: 资金账户 - 格式:1,2,3
  4165. in: query
  4166. name: accountID
  4167. required: true
  4168. type: string
  4169. - description: 交易模式 - 格式:1,2,3
  4170. in: query
  4171. name: tradeMode
  4172. type: string
  4173. - description: 委托状态 - 格式:1,2,3
  4174. in: query
  4175. name: orderStatus
  4176. type: string
  4177. - description: 委托单号
  4178. in: query
  4179. name: orderID
  4180. type: integer
  4181. produces:
  4182. - application/json
  4183. responses:
  4184. "200":
  4185. description: OK
  4186. schema:
  4187. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  4188. "500":
  4189. description: Internal Server Error
  4190. schema:
  4191. $ref: '#/definitions/app.Response'
  4192. security:
  4193. - ApiKeyAuth: []
  4194. summary: 委托单查询请求(合约市场)
  4195. tags:
  4196. - 通用单据
  4197. /Order/QueryTradePosition:
  4198. get:
  4199. parameters:
  4200. - description: 资金账户 - 格式:1,2,3
  4201. in: query
  4202. name: accountID
  4203. required: true
  4204. type: string
  4205. - description: 交易模式 - 格式:1,2,3
  4206. in: query
  4207. name: tradeMode
  4208. type: string
  4209. produces:
  4210. - application/json
  4211. responses:
  4212. "200":
  4213. description: OK
  4214. schema:
  4215. $ref: '#/definitions/order.QueryTradePositionRsp'
  4216. "500":
  4217. description: Internal Server Error
  4218. schema:
  4219. $ref: '#/definitions/app.Response'
  4220. security:
  4221. - ApiKeyAuth: []
  4222. summary: 持仓汇总查询(合约市场)
  4223. tags:
  4224. - 通用单据
  4225. /SZDZ/QueryConvertConfig:
  4226. get:
  4227. parameters:
  4228. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  4229. 6:交易转花生米(不设置)
  4230. in: query
  4231. name: convertType
  4232. type: integer
  4233. - description: 外部商品代码[JD\PD]
  4234. in: query
  4235. name: outerGoodsCode
  4236. type: string
  4237. - description: 内部商品ID列表[交易],格式:1,2,3
  4238. in: query
  4239. name: innerGoodsIDs
  4240. type: string
  4241. produces:
  4242. - application/json
  4243. responses:
  4244. "200":
  4245. description: OK
  4246. schema:
  4247. $ref: '#/definitions/models.Szdz3convertconfig'
  4248. "500":
  4249. description: Internal Server Error
  4250. schema:
  4251. $ref: '#/definitions/app.Response'
  4252. security:
  4253. - ApiKeyAuth: []
  4254. summary: 查询交易系统转换设置
  4255. tags:
  4256. - 定制【尚志大宗】
  4257. /SZDZ/QueryConvertLog:
  4258. get:
  4259. parameters:
  4260. - description: 资金账户 - 格式:1,2,3
  4261. in: query
  4262. name: accountID
  4263. required: true
  4264. type: string
  4265. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  4266. in: query
  4267. name: startDate
  4268. type: string
  4269. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  4270. in: query
  4271. name: endDate
  4272. type: string
  4273. produces:
  4274. - application/json
  4275. responses:
  4276. "200":
  4277. description: OK
  4278. schema:
  4279. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  4280. "500":
  4281. description: Internal Server Error
  4282. schema:
  4283. $ref: '#/definitions/app.Response'
  4284. security:
  4285. - ApiKeyAuth: []
  4286. summary: 交易系统转换流水查询
  4287. tags:
  4288. - 定制【尚志大宗】
  4289. /SZDZ/QueryGoodsPickup:
  4290. get:
  4291. parameters:
  4292. - description: 资金账户 - 格式:1,2,3
  4293. in: query
  4294. name: accountID
  4295. required: true
  4296. type: string
  4297. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  4298. in: query
  4299. name: takeOrderStatus
  4300. type: integer
  4301. produces:
  4302. - application/json
  4303. responses:
  4304. "200":
  4305. description: OK
  4306. schema:
  4307. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  4308. "500":
  4309. description: Internal Server Error
  4310. schema:
  4311. $ref: '#/definitions/app.Response'
  4312. security:
  4313. - ApiKeyAuth: []
  4314. summary: 商品提货单查询
  4315. tags:
  4316. - 定制【尚志大宗】
  4317. /SZDZ/QueryRecieptOrder:
  4318. get:
  4319. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  4320. parameters:
  4321. - description: 页码
  4322. in: query
  4323. name: page
  4324. type: integer
  4325. - description: 每页条数
  4326. in: query
  4327. name: pagesize
  4328. type: integer
  4329. - description: 商品ID
  4330. in: query
  4331. name: goodsID
  4332. required: true
  4333. type: integer
  4334. - description: 所属账户名称
  4335. in: query
  4336. name: accountName
  4337. type: string
  4338. - description: 市场ID
  4339. in: query
  4340. name: marketID
  4341. type: integer
  4342. - description: 方向 - 0:买 1:卖
  4343. in: query
  4344. name: buyorsell
  4345. required: true
  4346. type: integer
  4347. produces:
  4348. - application/json
  4349. responses:
  4350. "200":
  4351. description: OK
  4352. schema:
  4353. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  4354. "500":
  4355. description: Internal Server Error
  4356. schema:
  4357. $ref: '#/definitions/app.Response'
  4358. security:
  4359. - ApiKeyAuth: []
  4360. summary: 点选挂牌委托单据查询(摘牌大厅)
  4361. tags:
  4362. - 定制【尚志大宗】
  4363. /SZDZ/QuerySZDZTradePosition:
  4364. get:
  4365. parameters:
  4366. - description: 资金账户
  4367. in: query
  4368. name: accountID
  4369. required: true
  4370. type: integer
  4371. produces:
  4372. - application/json
  4373. responses:
  4374. "200":
  4375. description: OK
  4376. schema:
  4377. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  4378. "500":
  4379. description: Internal Server Error
  4380. schema:
  4381. $ref: '#/definitions/app.Response'
  4382. security:
  4383. - ApiKeyAuth: []
  4384. summary: 持仓汇总查询(尚志大宗)
  4385. tags:
  4386. - 定制【尚志大宗】
  4387. /SZDZ/SearchWhite:
  4388. get:
  4389. parameters:
  4390. - description: 用户ID
  4391. in: query
  4392. name: userID
  4393. required: true
  4394. type: integer
  4395. produces:
  4396. - application/json
  4397. responses:
  4398. "200":
  4399. description: OK
  4400. schema:
  4401. $ref: '#/definitions/models.Szdz3searchwhitelist'
  4402. "500":
  4403. description: Internal Server Error
  4404. schema:
  4405. $ref: '#/definitions/app.Response'
  4406. security:
  4407. - ApiKeyAuth: []
  4408. summary: 搜索白名单
  4409. tags:
  4410. - 定制【尚志大宗】
  4411. /TaAccount/QueryAmountLog:
  4412. get:
  4413. parameters:
  4414. - description: 页码
  4415. in: query
  4416. name: page
  4417. type: integer
  4418. - description: 每页条数
  4419. in: query
  4420. name: pagesize
  4421. type: integer
  4422. - description: 资金账户 - 格式:1,2,3
  4423. in: query
  4424. name: accountID
  4425. required: true
  4426. type: string
  4427. - description: 资金操作类型 - 格式:1,2,3
  4428. in: query
  4429. name: OperateType
  4430. type: string
  4431. produces:
  4432. - application/json
  4433. responses:
  4434. "200":
  4435. description: OK
  4436. schema:
  4437. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  4438. "500":
  4439. description: Internal Server Error
  4440. schema:
  4441. $ref: '#/definitions/app.Response'
  4442. security:
  4443. - ApiKeyAuth: []
  4444. summary: 资金流水查询(当前)
  4445. tags:
  4446. - 资金账户
  4447. /TaAccount/QueryHisAmountLog:
  4448. get:
  4449. parameters:
  4450. - description: 页码
  4451. in: query
  4452. name: page
  4453. type: integer
  4454. - description: 每页条数
  4455. in: query
  4456. name: pagesize
  4457. type: integer
  4458. - description: 资金账户 - 格式:1,2,3
  4459. in: query
  4460. name: accountID
  4461. required: true
  4462. type: string
  4463. - description: 资金操作类型 - 格式:1,2,3
  4464. in: query
  4465. name: OperateType
  4466. type: string
  4467. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  4468. in: query
  4469. name: startDate
  4470. type: string
  4471. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  4472. in: query
  4473. name: endDate
  4474. type: string
  4475. produces:
  4476. - application/json
  4477. responses:
  4478. "200":
  4479. description: OK
  4480. schema:
  4481. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  4482. "500":
  4483. description: Internal Server Error
  4484. schema:
  4485. $ref: '#/definitions/app.Response'
  4486. security:
  4487. - ApiKeyAuth: []
  4488. summary: 资金流水查询(历史)
  4489. tags:
  4490. - 资金账户
  4491. /User/GetLoginID:
  4492. get:
  4493. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  4494. parameters:
  4495. - description: 登录代码
  4496. in: query
  4497. name: username
  4498. required: true
  4499. type: string
  4500. produces:
  4501. - application/json
  4502. responses:
  4503. "200":
  4504. description: OK
  4505. schema:
  4506. $ref: '#/definitions/app.Response'
  4507. "500":
  4508. description: Internal Server Error
  4509. schema:
  4510. $ref: '#/definitions/app.Response'
  4511. summary: 获取登录ID
  4512. tags:
  4513. - 用户信息
  4514. /User/GetUserAuthStatus:
  4515. get:
  4516. parameters:
  4517. - description: 用户ID
  4518. in: query
  4519. name: userID
  4520. required: true
  4521. type: integer
  4522. produces:
  4523. - application/json
  4524. responses:
  4525. "200":
  4526. description: OK
  4527. schema:
  4528. type: bool
  4529. "500":
  4530. description: Internal Server Error
  4531. schema:
  4532. $ref: '#/definitions/app.Response'
  4533. security:
  4534. - ApiKeyAuth: []
  4535. summary: 获取用户实名认证状态
  4536. tags:
  4537. - 用户信息
  4538. /User/QueryUserInfo:
  4539. get:
  4540. parameters:
  4541. - description: 用户ID
  4542. in: query
  4543. name: userID
  4544. required: true
  4545. type: integer
  4546. produces:
  4547. - application/json
  4548. responses:
  4549. "200":
  4550. description: OK
  4551. schema:
  4552. $ref: '#/definitions/models.Userinfo'
  4553. "500":
  4554. description: Internal Server Error
  4555. schema:
  4556. $ref: '#/definitions/app.Response'
  4557. security:
  4558. - ApiKeyAuth: []
  4559. summary: 获取用户信息
  4560. tags:
  4561. - 用户信息
  4562. /User/QueryUserReferNum:
  4563. get:
  4564. parameters:
  4565. - description: 用户ID
  4566. in: query
  4567. name: userID
  4568. required: true
  4569. type: integer
  4570. produces:
  4571. - application/json
  4572. responses:
  4573. "200":
  4574. description: OK
  4575. schema:
  4576. $ref: '#/definitions/app.Response'
  4577. "500":
  4578. description: Internal Server Error
  4579. schema:
  4580. $ref: '#/definitions/app.Response'
  4581. summary: 获取用户邀请码
  4582. tags:
  4583. - 用户信息
  4584. /WRTrade/GetAllDeliveryGoods:
  4585. get:
  4586. produces:
  4587. - application/json
  4588. responses:
  4589. "200":
  4590. description: OK
  4591. schema:
  4592. $ref: '#/definitions/app.Response'
  4593. "500":
  4594. description: Internal Server Error
  4595. schema:
  4596. $ref: '#/definitions/app.Response'
  4597. security:
  4598. - ApiKeyAuth: []
  4599. summary: 获取带仓单分类的种类信息
  4600. tags:
  4601. - 仓单贸易
  4602. securityDefinitions:
  4603. ApiKeyAuth:
  4604. in: header
  4605. name: Authorization
  4606. type: apiKey
  4607. swagger: "2.0"