swagger.yaml 142 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106
  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. lotsize:
  1315. description: 最小变动单位
  1316. type: number
  1317. marketid:
  1318. description: 所属市场ID
  1319. type: integer
  1320. picurls:
  1321. description: 介绍图片[多张用逗号分隔]
  1322. type: string
  1323. quoteminunit:
  1324. description: 行情最小变动单位 [整数,报价小数位一起使用]
  1325. type: integer
  1326. trademode:
  1327. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  1328. 21:竞拍-大宗式 22:受托竞价
  1329. type: integer
  1330. vendorattr:
  1331. description: 供应商附件(多张,逗号分隔)
  1332. type: string
  1333. vendorname:
  1334. description: 供应商名称
  1335. type: string
  1336. vendorphone:
  1337. description: 供应商客服电话
  1338. type: string
  1339. videourls:
  1340. description: 介绍视频[多张用逗号分隔]
  1341. type: string
  1342. required:
  1343. - goodscode
  1344. - goodsid
  1345. - goodsname
  1346. - marketid
  1347. - trademode
  1348. type: object
  1349. models.HsbyMyGoods:
  1350. properties:
  1351. accountid:
  1352. description: 账号Id
  1353. type: integer
  1354. agreeunit:
  1355. description: 合约单位
  1356. type: number
  1357. buyaverageprice:
  1358. description: 持仓均价
  1359. type: number
  1360. buycurholderamount:
  1361. description: 买当前持仓总金额[商品币种]
  1362. type: number
  1363. buycurpositionqty:
  1364. description: 买当前持仓总数量
  1365. type: integer
  1366. currencysign:
  1367. description: 货币符号
  1368. type: string
  1369. decimalplace:
  1370. description: 报价小数位
  1371. type: integer
  1372. enableqty:
  1373. description: 可用数量
  1374. type: integer
  1375. goodscode:
  1376. description: 商品代码(内部)
  1377. type: string
  1378. goodsid:
  1379. description: 商品Id
  1380. type: integer
  1381. goodsname:
  1382. description: 商品名称
  1383. type: string
  1384. picurls:
  1385. description: 介绍图片[多张用逗号分隔]
  1386. type: string
  1387. required:
  1388. - accountid
  1389. - goodscode
  1390. - goodsid
  1391. - goodsname
  1392. type: object
  1393. models.HsbyMyPackage:
  1394. properties:
  1395. accountid:
  1396. description: 账户ID
  1397. type: integer
  1398. address:
  1399. description: 提货人详细地址
  1400. type: string
  1401. agreeunit:
  1402. description: 合约单位
  1403. type: number
  1404. amount:
  1405. description: 提货金额
  1406. type: number
  1407. auditer:
  1408. description: 审核人
  1409. type: integer
  1410. audittime:
  1411. description: 审核时间
  1412. type: string
  1413. averageprice:
  1414. description: 均价
  1415. type: number
  1416. cardnum:
  1417. description: 提货人证件号码
  1418. type: string
  1419. cardtypeid:
  1420. description: 提货人证件类型
  1421. type: integer
  1422. checkremark:
  1423. description: 审核备注
  1424. type: string
  1425. currencysign:
  1426. description: 货币符号
  1427. type: string
  1428. decimalplace:
  1429. description: 报价小数位
  1430. type: integer
  1431. goodscode:
  1432. description: 商品代码(内部)
  1433. type: string
  1434. goodsid:
  1435. description: 商品ID
  1436. type: integer
  1437. goodsname:
  1438. description: 商品名称
  1439. type: string
  1440. handlestatus:
  1441. description: 处理状态
  1442. type: integer
  1443. marketid:
  1444. description: 市场ID
  1445. type: integer
  1446. phonenum:
  1447. description: 提货人联系方式
  1448. type: string
  1449. picurls:
  1450. description: 介绍图片[多张用逗号分隔]
  1451. type: string
  1452. qty:
  1453. description: 提货数量
  1454. type: number
  1455. recivername:
  1456. description: 提货人姓名
  1457. type: string
  1458. reqtime:
  1459. description: 更新时间
  1460. type: string
  1461. takemode:
  1462. description: 提货方式 - 2:自提 3:配送
  1463. type: integer
  1464. takeorderid:
  1465. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  1466. type: string
  1467. takeorderstatus:
  1468. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  1469. type: integer
  1470. takeremark:
  1471. description: 提货备注
  1472. type: string
  1473. tradedate:
  1474. description: 交易日(yyyyMMdd)
  1475. type: string
  1476. userid:
  1477. description: 用户ID
  1478. type: integer
  1479. vendorname:
  1480. description: 供应商名称
  1481. type: string
  1482. required:
  1483. - goodscode
  1484. - goodsname
  1485. - takeorderid
  1486. type: object
  1487. models.HsbyPreGoods:
  1488. properties:
  1489. currency:
  1490. description: 货币
  1491. type: string
  1492. currencysign:
  1493. description: 货币符号
  1494. type: string
  1495. decimalplace:
  1496. description: 报价小数位
  1497. type: integer
  1498. enableqty:
  1499. description: 剩余数量
  1500. type: integer
  1501. endtime:
  1502. description: 预售结束时间
  1503. type: string
  1504. goodscode:
  1505. description: 商品代码(内部)
  1506. type: string
  1507. goodsid:
  1508. description: 商品ID(自增ID SEQ_GOODS)
  1509. type: integer
  1510. goodsname:
  1511. description: 商品名称
  1512. type: string
  1513. goodsstatus:
  1514. description: 商品状态- 2:未上市 3:上市
  1515. type: integer
  1516. lotsize:
  1517. description: 最小变动单位
  1518. type: number
  1519. marketid:
  1520. description: 所属市场ID
  1521. type: integer
  1522. picurls:
  1523. description: 介绍图片[多张用逗号分隔]
  1524. type: string
  1525. presaledqty:
  1526. description: 已预售量(预售结束时更新)
  1527. type: integer
  1528. presaleqty:
  1529. description: 预售数量
  1530. type: integer
  1531. quoteminunit:
  1532. description: 行情最小变动单位 [整数,报价小数位一起使用]
  1533. type: integer
  1534. refprice:
  1535. description: 参考价格[一口价]
  1536. type: number
  1537. relatedgoodsid:
  1538. description: 关联交易合约ID
  1539. type: integer
  1540. starttime:
  1541. description: 预售开始时间
  1542. type: string
  1543. trademode:
  1544. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  1545. 21:竞拍-大宗式 22:受托竞价
  1546. type: integer
  1547. videourls:
  1548. description: 介绍视频[多张用逗号分隔]
  1549. type: string
  1550. required:
  1551. - goodscode
  1552. - goodsid
  1553. - goodsname
  1554. - marketid
  1555. - trademode
  1556. type: object
  1557. models.HsbyPreGoodsDetail:
  1558. properties:
  1559. currency:
  1560. description: 货币
  1561. type: string
  1562. currencysign:
  1563. description: 货币符号
  1564. type: string
  1565. customername:
  1566. description: 发行单位
  1567. type: string
  1568. decimalplace:
  1569. description: 报价小数位
  1570. type: integer
  1571. desccityid:
  1572. description: 目的地(市)ID
  1573. type: integer
  1574. descprovinceid:
  1575. description: 目的地(省)ID
  1576. type: integer
  1577. enableqty:
  1578. description: 剩余数量
  1579. type: integer
  1580. endtime:
  1581. description: 预售结束时间
  1582. type: string
  1583. goodscode:
  1584. description: 商品代码(内部)
  1585. type: string
  1586. goodsdesc:
  1587. description: 商品详情
  1588. type: string
  1589. goodsid:
  1590. description: 商品ID(自增ID SEQ_GOODS)
  1591. type: integer
  1592. goodsname:
  1593. description: 商品名称
  1594. type: string
  1595. goodsstatus:
  1596. description: 商品状态- 2:未上市 3:上市
  1597. type: integer
  1598. goodunit:
  1599. description: 报价单位
  1600. type: string
  1601. lotsize:
  1602. description: 最小变动单位
  1603. type: number
  1604. marketid:
  1605. description: 所属市场ID
  1606. type: integer
  1607. picurls:
  1608. description: 介绍图片[多张用逗号分隔]
  1609. type: string
  1610. presaledqty:
  1611. description: 已预售量(预售结束时更新)
  1612. type: integer
  1613. presaleqty:
  1614. description: 预售数量
  1615. type: integer
  1616. quoteminunit:
  1617. description: 行情最小变动单位 [整数,报价小数位一起使用]
  1618. type: integer
  1619. refprice:
  1620. description: 参考价格[一口价]
  1621. type: number
  1622. relatedgoodsid:
  1623. description: 关联交易合约ID
  1624. type: integer
  1625. starttime:
  1626. description: 预售开始时间
  1627. type: string
  1628. trademode:
  1629. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  1630. 21:竞拍-大宗式 22:受托竞价
  1631. type: integer
  1632. vendorattr:
  1633. description: 供应商附件(多张,逗号分隔)
  1634. type: string
  1635. vendorname:
  1636. description: 供应商名称
  1637. type: string
  1638. vendorphone:
  1639. description: 供应商客服电话
  1640. type: string
  1641. videourls:
  1642. description: 介绍视频[多张用逗号分隔]
  1643. type: string
  1644. required:
  1645. - goodscode
  1646. - goodsid
  1647. - goodsname
  1648. - marketid
  1649. - trademode
  1650. type: object
  1651. models.HsbySellMyDetail:
  1652. properties:
  1653. accountid:
  1654. description: 账户ID[报价币种]
  1655. type: integer
  1656. agreeunit:
  1657. description: 合约单位
  1658. type: number
  1659. amount:
  1660. description: 金额 = 价格 * 数量 * 合约单位
  1661. type: number
  1662. buyorsell:
  1663. description: 买卖 - 0:买 1:卖
  1664. type: integer
  1665. currencysign:
  1666. description: 货币符号
  1667. type: string
  1668. decimalplace:
  1669. description: 报价小数位
  1670. type: integer
  1671. goodscode:
  1672. description: 商品代码(内部)
  1673. type: string
  1674. goodsid:
  1675. description: 商品ID
  1676. type: integer
  1677. goodsname:
  1678. description: 商品名称
  1679. type: string
  1680. marketid:
  1681. description: 市场ID
  1682. type: integer
  1683. orderid:
  1684. description: 单号(已发布 - 委托单号;已完成 - 成交单号)
  1685. type: string
  1686. picurls:
  1687. description: 介绍图片[多张用逗号分隔]
  1688. type: string
  1689. price:
  1690. description: 价格
  1691. type: number
  1692. qty:
  1693. description: 数量
  1694. type: integer
  1695. time:
  1696. description: 时间
  1697. type: string
  1698. trademode:
  1699. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  1700. 21:竞拍-大宗式 22:受托竞价
  1701. type: integer
  1702. vendorname:
  1703. description: 供应商名称
  1704. type: string
  1705. required:
  1706. - accountid
  1707. - buyorsell
  1708. - goodscode
  1709. - goodsid
  1710. - goodsname
  1711. - marketid
  1712. - orderid
  1713. - qty
  1714. - time
  1715. - trademode
  1716. type: object
  1717. models.HsbyTopGoods:
  1718. properties:
  1719. currency:
  1720. description: 货币
  1721. type: string
  1722. currencysign:
  1723. description: 货币符号
  1724. type: string
  1725. decimalplace:
  1726. description: 报价小数位
  1727. type: integer
  1728. goodscode:
  1729. description: 商品代码(内部)
  1730. type: string
  1731. goodsid:
  1732. description: 商品ID(自增ID SEQ_GOODS)
  1733. type: integer
  1734. goodsname:
  1735. description: 商品名称
  1736. type: string
  1737. hotindex:
  1738. description: 景点热度
  1739. type: integer
  1740. last:
  1741. description: 现价
  1742. type: number
  1743. lotsize:
  1744. description: 最小变动单位
  1745. type: number
  1746. marketid:
  1747. description: 所属市场ID
  1748. type: integer
  1749. picurls:
  1750. description: 介绍图片[多张用逗号分隔]
  1751. type: string
  1752. quoteminunit:
  1753. description: 行情最小变动单位 [整数,报价小数位一起使用]
  1754. type: integer
  1755. trademode:
  1756. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  1757. 21:竞拍-大宗式 22:受托竞价
  1758. type: integer
  1759. videourls:
  1760. description: 介绍视频[多张用逗号分隔]
  1761. type: string
  1762. required:
  1763. - goodscode
  1764. - goodsid
  1765. - goodsname
  1766. - marketid
  1767. - trademode
  1768. type: object
  1769. models.HybsMyBuyOrderDetail:
  1770. properties:
  1771. accountid:
  1772. description: 账户ID[报价币种]
  1773. type: integer
  1774. agreeunit:
  1775. description: 合约单位
  1776. type: number
  1777. buyorsell:
  1778. description: 买卖 - 0:买 1:卖
  1779. type: integer
  1780. cancelqty:
  1781. description: 撤单数量
  1782. type: integer
  1783. currencysign:
  1784. description: 货币符号
  1785. type: string
  1786. decimalplace:
  1787. description: 报价小数位
  1788. type: integer
  1789. goodscode:
  1790. description: 商品代码(内部)
  1791. type: string
  1792. goodsid:
  1793. description: 商品ID
  1794. type: integer
  1795. goodsname:
  1796. description: 商品名称
  1797. type: string
  1798. listingselecttype:
  1799. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  1800. type: integer
  1801. marketid:
  1802. description: 市场ID
  1803. type: integer
  1804. mybuystatus:
  1805. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  1806. type: integer
  1807. orderamount:
  1808. description: 委托金额
  1809. type: number
  1810. orderid:
  1811. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1812. type: string
  1813. orderprice:
  1814. description: 委托价格
  1815. type: number
  1816. orderqty:
  1817. description: 委托数量
  1818. type: integer
  1819. orderstatus:
  1820. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  1821. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  1822. 16:成交失败违约(荷兰式竞拍专用)
  1823. type: integer
  1824. ordertime:
  1825. description: 委托时间
  1826. type: string
  1827. picurls:
  1828. description: 介绍图片[多张用逗号分隔]
  1829. type: string
  1830. trademode:
  1831. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  1832. 21:竞拍-大宗式 22:受托竞价
  1833. type: integer
  1834. tradeqty:
  1835. description: 成交数量
  1836. type: integer
  1837. vendorname:
  1838. description: 供应商名称
  1839. type: string
  1840. required:
  1841. - accountid
  1842. - buyorsell
  1843. - goodscode
  1844. - goodsid
  1845. - goodsname
  1846. - marketid
  1847. - orderid
  1848. - orderqty
  1849. - ordertime
  1850. - trademode
  1851. type: object
  1852. models.Messageboard:
  1853. properties:
  1854. createtime:
  1855. description: 创建时间
  1856. type: string
  1857. message:
  1858. description: 留言信息
  1859. type: string
  1860. messageboardid:
  1861. description: 留言簿ID(SEQ_MessageBoard)
  1862. type: integer
  1863. userid:
  1864. description: 用户ID
  1865. type: integer
  1866. required:
  1867. - messageboardid
  1868. type: object
  1869. models.OperationPrimaryMenu:
  1870. properties:
  1871. Children:
  1872. description: 二级功能菜单
  1873. items:
  1874. $ref: '#/definitions/models.OperationSecondaryMenu'
  1875. type: array
  1876. Key:
  1877. description: 菜单KEY
  1878. type: string
  1879. Label:
  1880. description: 菜单标题
  1881. type: string
  1882. type: object
  1883. models.OperationSecondaryMenu:
  1884. properties:
  1885. Key:
  1886. description: 菜单KEY
  1887. type: string
  1888. Label:
  1889. description: 菜单标题
  1890. type: string
  1891. TabList:
  1892. description: 三级功能菜单
  1893. items:
  1894. $ref: '#/definitions/models.OperationTabMenu'
  1895. type: array
  1896. type: object
  1897. models.OperationTabMenu:
  1898. properties:
  1899. Key:
  1900. description: 菜单KEY
  1901. type: string
  1902. Label:
  1903. description: 菜单标题
  1904. type: string
  1905. type: object
  1906. models.QuotePrimaryMenu:
  1907. properties:
  1908. Index:
  1909. description: 序号
  1910. type: integer
  1911. Key:
  1912. description: 键名
  1913. type: string
  1914. Name:
  1915. description: 菜单名称
  1916. type: string
  1917. SubMenus:
  1918. description: 子菜单
  1919. items:
  1920. $ref: '#/definitions/models.QuoteSecondaryMenu'
  1921. type: array
  1922. SubTitleType:
  1923. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  1924. type: integer
  1925. TradeModes:
  1926. description: 包含市场交易类型
  1927. type: string
  1928. type: object
  1929. models.QuoteSecondaryMenu:
  1930. properties:
  1931. ExExchangeCode:
  1932. description: 外部交易所代码
  1933. type: string
  1934. ExExchangeID:
  1935. description: 外部交易所ID
  1936. type: integer
  1937. GoodsGroupIDs:
  1938. description: 商品组ID列表
  1939. items:
  1940. type: integer
  1941. type: array
  1942. Index:
  1943. description: 序号
  1944. type: integer
  1945. MarketID:
  1946. description: 市场ID
  1947. type: integer
  1948. MenuTitle:
  1949. description: 菜单标题(市场名称或外部交易所名称)
  1950. type: string
  1951. TradeMode:
  1952. description: 交易模式
  1953. type: integer
  1954. type: object
  1955. models.Szdz3convertconfig:
  1956. properties:
  1957. canin:
  1958. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  1959. type: integer
  1960. canout:
  1961. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  1962. type: integer
  1963. converttype:
  1964. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  1965. 6:交易转花生米(不设置)
  1966. type: integer
  1967. createtime:
  1968. description: 创建时间
  1969. type: string
  1970. creatorid:
  1971. description: 创建人
  1972. type: integer
  1973. daymaxvalue:
  1974. description: 当日最大转入限制
  1975. type: number
  1976. freezedays:
  1977. description: 冻结天数 [5:花生米转交易]
  1978. type: integer
  1979. innergoodsid:
  1980. description: 内部商品ID[交易]
  1981. type: integer
  1982. inratio:
  1983. description: 目标值
  1984. type: integer
  1985. modifierid:
  1986. description: 修改人
  1987. type: integer
  1988. modifytime:
  1989. description: 修改时间
  1990. type: string
  1991. outergoodscode:
  1992. description: 外部商品代码[JD\PD]
  1993. type: string
  1994. outratio:
  1995. description: 源值
  1996. type: integer
  1997. pddecimalplace:
  1998. description: PD小数位
  1999. type: integer
  2000. timemaxvalue:
  2001. description: 单次最大转入限制
  2002. type: number
  2003. timeminvalue:
  2004. description: 单次最小转入限制
  2005. type: number
  2006. required:
  2007. - converttype
  2008. - innergoodsid
  2009. - outergoodscode
  2010. type: object
  2011. models.Szdz3searchwhitelist:
  2012. properties:
  2013. createtime:
  2014. description: 创建时间
  2015. type: string
  2016. creatorid:
  2017. description: 创建人
  2018. type: integer
  2019. modifierid:
  2020. description: 修改人
  2021. type: integer
  2022. modifytime:
  2023. description: 修改时间
  2024. type: string
  2025. userid:
  2026. description: 用户ID
  2027. type: integer
  2028. required:
  2029. - userid
  2030. type: object
  2031. models.Tablecolumnconfig:
  2032. properties:
  2033. aligntype:
  2034. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  2035. type: integer
  2036. autoid:
  2037. description: AutoID
  2038. type: integer
  2039. columnfield:
  2040. description: 列字段
  2041. type: string
  2042. columntitle:
  2043. description: 列Title
  2044. type: string
  2045. columnwidth:
  2046. description: 列宽
  2047. type: string
  2048. formatterstring:
  2049. description: 格式化字符
  2050. type: string
  2051. formattertype:
  2052. description: 格式化类型
  2053. type: string
  2054. groupname:
  2055. description: 表头分组名称
  2056. type: string
  2057. isshow:
  2058. description: 是否显示 - 0:不显示 1:显示
  2059. type: integer
  2060. needsummary:
  2061. description: 是否需要汇总 - 0:不需要 1:需要
  2062. type: integer
  2063. orderindex:
  2064. description: 顺序
  2065. type: integer
  2066. remark:
  2067. description: 备注
  2068. type: string
  2069. summarytype:
  2070. description: 汇总类型 - 1:加总 2:最后一个
  2071. type: integer
  2072. tablekey:
  2073. description: 列表Key
  2074. type: string
  2075. required:
  2076. - autoid
  2077. type: object
  2078. models.Userfavoritegoods:
  2079. properties:
  2080. goodsid:
  2081. description: 商品ID
  2082. type: integer
  2083. required:
  2084. - goodsid
  2085. type: object
  2086. models.Userinfo:
  2087. properties:
  2088. address:
  2089. description: 地址
  2090. type: string
  2091. attachment1:
  2092. description: 附件1
  2093. type: string
  2094. attachment2:
  2095. description: 附件2
  2096. type: string
  2097. bankaccount:
  2098. description: 银行帐号 (加密存储)
  2099. type: string
  2100. bankaccountname:
  2101. description: 收款人名称
  2102. type: string
  2103. bankcardfrontphotourl:
  2104. description: 银行卡正面照地址
  2105. type: string
  2106. bankid:
  2107. description: 银行编码
  2108. type: string
  2109. bankname:
  2110. description: 银行名称
  2111. type: string
  2112. biznature:
  2113. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2114. type: integer
  2115. bizscope:
  2116. description: 企业经营范围(企业)
  2117. type: string
  2118. cardbackphotourl:
  2119. description: 证件背面图片地址
  2120. type: string
  2121. cardfrontphotourl:
  2122. description: 证件正面图片地址
  2123. type: string
  2124. cardnum:
  2125. description: 证件号码(加密存储)
  2126. type: string
  2127. cardtypeid:
  2128. description: 证件类型ID
  2129. type: integer
  2130. cityid:
  2131. description: 市
  2132. type: integer
  2133. company:
  2134. description: 公司(个人)
  2135. type: string
  2136. contactname:
  2137. description: 联系人
  2138. type: string
  2139. countryid:
  2140. description: 国家
  2141. type: integer
  2142. createtime:
  2143. description: 创建时间
  2144. type: string
  2145. creatorid:
  2146. description: 创建人
  2147. type: integer
  2148. customername:
  2149. description: 客户名称(企业名称)
  2150. type: string
  2151. districtid:
  2152. description: 地区
  2153. type: integer
  2154. email:
  2155. description: 邮件(加密存储)
  2156. type: string
  2157. fax:
  2158. description: 传真(加密存储)
  2159. type: string
  2160. halfbodyphotourl:
  2161. description: 半身照地址
  2162. type: string
  2163. hasencrypt:
  2164. description: 数据是否已加密 - 0:未加密 1:已加密
  2165. type: integer
  2166. headurl:
  2167. description: 头像地址
  2168. type: string
  2169. legalcardbackphotourl:
  2170. description: 法人身份证背面照地址
  2171. type: string
  2172. legalcardfrontphotourl:
  2173. description: 法人身份证正面照地址
  2174. type: string
  2175. legalpersonname:
  2176. description: 法人姓名(企业)
  2177. type: string
  2178. mobile:
  2179. description: 手机号码(加密存储)
  2180. type: string
  2181. mobile2:
  2182. description: 手机号码[明文-尚志]
  2183. type: string
  2184. modifierid:
  2185. description: 修改人
  2186. type: integer
  2187. modifiertime:
  2188. description: 修改时间
  2189. type: string
  2190. needinvoice:
  2191. description: 是否需要发票 - 0:不需要 1:需要
  2192. type: integer
  2193. nickname:
  2194. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  2195. type: string
  2196. openmode:
  2197. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  2198. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  2199. type: integer
  2200. otherurl:
  2201. description: 其它图片地址[使用分号分隔]
  2202. type: string
  2203. postalcode:
  2204. description: 邮政编码
  2205. type: string
  2206. provinceid:
  2207. description: 省
  2208. type: integer
  2209. qq:
  2210. description: QQ(加密存储
  2211. type: string
  2212. remark:
  2213. description: 备注
  2214. type: string
  2215. sex:
  2216. description: '用户性别 0: 女 1: 男'
  2217. type: integer
  2218. signpdfurl:
  2219. description: 签约pdf文件
  2220. type: string
  2221. telphone:
  2222. description: 联系电话(加密存储)
  2223. type: string
  2224. userid:
  2225. description: 用户ID
  2226. type: integer
  2227. userinfotype:
  2228. description: 用户信息类型 - 1:个人 2:企业
  2229. type: integer
  2230. userstatus:
  2231. description: 用户状态 - 1:正常 2:注销
  2232. type: integer
  2233. usertype:
  2234. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  2235. type: integer
  2236. wechat:
  2237. description: 微信(加密存储)
  2238. type: string
  2239. wskhinfo:
  2240. description: 开户申请信息(JSON)
  2241. type: string
  2242. required:
  2243. - userid
  2244. type: object
  2245. order.QueryHisTradeDetailRsp:
  2246. properties:
  2247. accountid:
  2248. description: 账户ID[报价币种]
  2249. type: integer
  2250. buildtype:
  2251. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  2252. type: integer
  2253. buyorsell:
  2254. description: 方向 - 0:买 1:卖
  2255. type: integer
  2256. charge:
  2257. description: 手续费
  2258. type: number
  2259. closecharge:
  2260. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  2261. type: number
  2262. closeexchagechargevalue:
  2263. description: 平仓交易所手续费设置值
  2264. type: number
  2265. closefeealgorithm:
  2266. description: 平仓手续费收取方式 1:比率 2:固定
  2267. type: integer
  2268. closememberchargevalue:
  2269. description: 平仓会员手续费设置值
  2270. type: number
  2271. closepl:
  2272. description: 平仓盈亏
  2273. type: number
  2274. closepl2:
  2275. description: 平仓盈亏[逐笔]
  2276. type: number
  2277. closeqty:
  2278. description: 平仓数量(先建后平操作 需要记录)
  2279. type: integer
  2280. creditamount:
  2281. description: 授信金额
  2282. type: number
  2283. gcaccountid:
  2284. description: 账户ID[合约币种]
  2285. type: integer
  2286. goodscode:
  2287. description: 商品代码
  2288. type: string
  2289. goodsid:
  2290. description: 商品ID
  2291. type: integer
  2292. goodsname:
  2293. description: 商品名称
  2294. type: string
  2295. histradedate:
  2296. description: 历史交易日
  2297. type: string
  2298. intclosepl:
  2299. description: 整型盈亏(用于交易结算试算平衡-收益权)
  2300. type: integer
  2301. isconfirmexercise:
  2302. description: 是否确认行权- 0:否 1:是
  2303. type: integer
  2304. ismain:
  2305. description: 是否主单 - 0:不是 1:是
  2306. type: integer
  2307. ispreexercise:
  2308. description: 是否预申报- 0:否 1:是
  2309. type: integer
  2310. isreckoned:
  2311. description: 是否结算 - 0:未结算 1:已结算
  2312. type: integer
  2313. isvaliddata:
  2314. description: 是否有效 - 0:无效 1:有效
  2315. type: integer
  2316. listingselecttype:
  2317. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  2318. type: integer
  2319. marketid:
  2320. description: 市场ID
  2321. type: integer
  2322. marketname:
  2323. description: 市场名称
  2324. type: string
  2325. matchaccountid:
  2326. description: 对手账号id
  2327. type: integer
  2328. memberuserid:
  2329. description: 会员id 个人投资者 需要填写
  2330. type: integer
  2331. opencharge:
  2332. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  2333. type: number
  2334. openexchagechargevalue:
  2335. description: 建仓交易所手续费设置值
  2336. type: number
  2337. openfeealgorithm:
  2338. description: 建仓手续费收取方式 1:比率 2:固定
  2339. type: integer
  2340. openmemberchargevalue:
  2341. description: 建仓会员手续费设置值
  2342. type: number
  2343. openqty:
  2344. description: 开仓数量(先建后平操作 需要记录)
  2345. type: integer
  2346. optiontype:
  2347. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  2348. type: integer
  2349. orderid:
  2350. description: 委托单号
  2351. type: string
  2352. performanceplanid:
  2353. description: 履约计划ID[期权]
  2354. type: integer
  2355. performancestatus:
  2356. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  2357. type: integer
  2358. preexerciseprice:
  2359. description: 预申报价格
  2360. type: number
  2361. premium:
  2362. description: 权利金 - [持仓单的权利金]
  2363. type: number
  2364. relatedouttradeid:
  2365. description: 关联外部成交单ID
  2366. type: integer
  2367. status:
  2368. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  2369. type: integer
  2370. tradeamount:
  2371. description: 成交金额[账户币种,用于所有权]
  2372. type: number
  2373. tradedate:
  2374. description: 交易日(yyyyMMdd)
  2375. type: string
  2376. tradeid:
  2377. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2378. type: string
  2379. trademode:
  2380. description: 交易模式
  2381. type: integer
  2382. tradeprice:
  2383. description: 成交价格
  2384. type: number
  2385. tradeproperty:
  2386. description: 交易属性
  2387. type: integer
  2388. tradeqty:
  2389. description: 成交数量
  2390. type: integer
  2391. tradetime:
  2392. description: 成交时间
  2393. type: string
  2394. tradetype:
  2395. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  2396. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  2397. type: integer
  2398. required:
  2399. - accountid
  2400. - buyorsell
  2401. - goodsid
  2402. - histradedate
  2403. - marketid
  2404. - memberuserid
  2405. - orderid
  2406. - tradeamount
  2407. - tradedate
  2408. - tradeid
  2409. - tradeprice
  2410. - tradeqty
  2411. - tradetime
  2412. type: object
  2413. order.QueryHisTradeOrderDetailRsp:
  2414. properties:
  2415. accountid:
  2416. description: 账户ID[报价币种]
  2417. type: integer
  2418. buildtype:
  2419. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  2420. type: integer
  2421. buyorsell:
  2422. description: 买卖 - 0:买 1:卖
  2423. type: integer
  2424. cancelorderid:
  2425. description: 撤单单号(撤单时填写)
  2426. type: string
  2427. cancelqty:
  2428. description: 撤单数量
  2429. type: integer
  2430. clientordertime:
  2431. description: 客户端委托时间
  2432. type: string
  2433. clientticket:
  2434. description: 客户端流水号
  2435. type: string
  2436. clienttype:
  2437. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  2438. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  2439. type: integer
  2440. closeexchagechargevalue:
  2441. description: 平仓交易所手续费设置值
  2442. type: number
  2443. closefeealgorithm:
  2444. description: 平仓手续费收取方式 1:比率 2:固定
  2445. type: integer
  2446. closefreezecharge:
  2447. description: 平仓冻结手续费(先建后平操作,需要记录)
  2448. type: number
  2449. closememberchargevalue:
  2450. description: 平仓会员手续费设置值
  2451. type: number
  2452. closeqty:
  2453. description: 平仓数量(先建后平操作 需要记录)
  2454. type: integer
  2455. closetradeqty:
  2456. description: 平仓成交数量(先建后平操作,需要记录)
  2457. type: integer
  2458. closeunfreezecharge:
  2459. description: 平仓解冻手续费(先建后平操作,需要记录)
  2460. type: number
  2461. delistingtype:
  2462. description: 摘牌类型 - 1:价格最优 2:点选成交
  2463. type: integer
  2464. freezecharge:
  2465. description: 冻结手续费
  2466. type: number
  2467. freezemargin:
  2468. description: 冻结保证金(冻结交易金额)
  2469. type: number
  2470. gcaccountid:
  2471. description: 账户ID[合约币种]
  2472. type: integer
  2473. goodscode:
  2474. description: 商品代码
  2475. type: string
  2476. goodsid:
  2477. description: 商品ID
  2478. type: integer
  2479. goodsname:
  2480. description: 商品名称
  2481. type: string
  2482. histradedate:
  2483. description: 历史交易日
  2484. type: string
  2485. isconfirmexercise:
  2486. description: 是否确认行权- 0:否 1:是
  2487. type: integer
  2488. ispreexercise:
  2489. description: 是否预申报- 0:否 1:是
  2490. type: integer
  2491. isvaliddata:
  2492. description: 是否有效 - 0:无效 1:有效
  2493. type: integer
  2494. listingselecttype:
  2495. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  2496. type: integer
  2497. marginalgorithm:
  2498. description: 保证金收取方式 1:比率 2:固定
  2499. type: integer
  2500. marginvalue:
  2501. description: 即市保证金设置值
  2502. type: number
  2503. marketid:
  2504. description: 市场ID
  2505. type: integer
  2506. marketmaxsub:
  2507. description: 市价最大偏移范围
  2508. type: number
  2509. marketname:
  2510. description: 市场名称
  2511. type: string
  2512. memberuserid:
  2513. description: 所属会员UserID
  2514. type: integer
  2515. openexchagechargevalue:
  2516. description: 建仓交易所手续费设置值
  2517. type: number
  2518. openfeealgorithm:
  2519. description: 建仓手续费收取方式 1:比率 2:固定
  2520. type: integer
  2521. openfreezecharge:
  2522. description: 开仓冻结手续费(先建后平操作,需要记录)
  2523. type: number
  2524. openmemberchargevalue:
  2525. description: 建仓会员手续费设置值
  2526. type: number
  2527. openqty:
  2528. description: 开仓数量(先建后平操作,需要记录)
  2529. type: integer
  2530. opentradeqty:
  2531. description: 开仓成交数量(先建后平操作,需要记录)
  2532. type: integer
  2533. openunfreezecharge:
  2534. description: 开仓解冻手续费(先建后平操作,需要记录)
  2535. type: number
  2536. operatetype:
  2537. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  2538. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  2539. 15:管理端协议转让
  2540. type: integer
  2541. operatorid:
  2542. description: 登录账号(LoginID)
  2543. type: integer
  2544. optiontype:
  2545. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  2546. type: integer
  2547. orderid:
  2548. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2549. type: string
  2550. orderprice:
  2551. description: 委托价格
  2552. type: number
  2553. orderqty:
  2554. description: 委托数量
  2555. type: integer
  2556. ordersrc:
  2557. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  2558. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  2559. type: integer
  2560. orderstatus:
  2561. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  2562. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  2563. 16:成交失败违约(荷兰式竞拍专用)
  2564. type: integer
  2565. ordertime:
  2566. description: 委托时间
  2567. type: string
  2568. preexerciseprice:
  2569. description: 预申报价格
  2570. type: number
  2571. premium:
  2572. description: 权利金
  2573. type: number
  2574. preorderid:
  2575. description: 关联预埋单号(止盈止损单时填写)
  2576. type: string
  2577. pricemode:
  2578. description: '取价方式 - 1:市价 2: 限价'
  2579. type: integer
  2580. quoteid:
  2581. description: 报价单ID
  2582. type: integer
  2583. relatedid:
  2584. description: 关联单号(交割单)
  2585. type: string
  2586. retcode:
  2587. description: 错误代码
  2588. type: integer
  2589. sessionid:
  2590. description: 会话ID
  2591. type: integer
  2592. tradedate:
  2593. description: 交易日(yyyyMMdd)
  2594. type: string
  2595. trademode:
  2596. description: 交易模式
  2597. type: integer
  2598. tradeproperty:
  2599. description: 交易属性
  2600. type: integer
  2601. tradeqty:
  2602. description: 成交数量
  2603. type: integer
  2604. unfreezecharge:
  2605. description: 解冻手续费
  2606. type: number
  2607. unfreezemargin:
  2608. description: 解冻保证金
  2609. type: number
  2610. updatetime:
  2611. description: 更新时间
  2612. type: string
  2613. uuid:
  2614. description: 发起端唯一id
  2615. type: string
  2616. validtime:
  2617. description: 有效期限
  2618. type: string
  2619. validtype:
  2620. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  2621. type: integer
  2622. volumetype:
  2623. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  2624. type: integer
  2625. required:
  2626. - accountid
  2627. - buildtype
  2628. - buyorsell
  2629. - goodsid
  2630. - histradedate
  2631. - marketid
  2632. - memberuserid
  2633. - operatetype
  2634. - orderid
  2635. - orderqty
  2636. - ordertime
  2637. - pricemode
  2638. - tradedate
  2639. - validtype
  2640. type: object
  2641. order.QueryTradeDetailRsp:
  2642. properties:
  2643. accountid:
  2644. description: 账户ID[报价币种]
  2645. type: integer
  2646. buildtype:
  2647. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  2648. type: integer
  2649. buyorsell:
  2650. description: 方向 - 0:买 1:卖
  2651. type: integer
  2652. charge:
  2653. description: 手续费
  2654. type: number
  2655. closecharge:
  2656. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  2657. type: number
  2658. closeexchagechargevalue:
  2659. description: 平仓交易所手续费设置值
  2660. type: number
  2661. closefeealgorithm:
  2662. description: 平仓手续费收取方式 1:比率 2:固定
  2663. type: integer
  2664. closememberchargevalue:
  2665. description: 平仓会员手续费设置值
  2666. type: number
  2667. closepl:
  2668. description: 平仓盈亏
  2669. type: number
  2670. closepl2:
  2671. description: 平仓盈亏[逐笔]
  2672. type: number
  2673. closeqty:
  2674. description: 平仓数量(先建后平操作 需要记录)
  2675. type: integer
  2676. creditamount:
  2677. description: 授信金额
  2678. type: number
  2679. gcaccountid:
  2680. description: 账户ID[合约币种]
  2681. type: integer
  2682. goodscode:
  2683. description: 商品代码
  2684. type: string
  2685. goodsid:
  2686. description: 商品ID
  2687. type: integer
  2688. goodsname:
  2689. description: 商品名称
  2690. type: string
  2691. intclosepl:
  2692. description: 整型盈亏(用于交易结算试算平衡-收益权)
  2693. type: integer
  2694. isconfirmexercise:
  2695. description: 是否确认行权- 0:否 1:是
  2696. type: integer
  2697. ismain:
  2698. description: 是否主单 - 0:不是 1:是
  2699. type: integer
  2700. ispreexercise:
  2701. description: 是否预申报- 0:否 1:是
  2702. type: integer
  2703. isreckoned:
  2704. description: 是否结算 - 0:未结算 1:已结算
  2705. type: integer
  2706. listingselecttype:
  2707. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  2708. type: integer
  2709. marketid:
  2710. description: 市场ID
  2711. type: integer
  2712. marketname:
  2713. description: 市场名称
  2714. type: string
  2715. matchaccountid:
  2716. description: 对手账号id
  2717. type: integer
  2718. memberuserid:
  2719. description: 会员id 个人投资者 需要填写
  2720. type: integer
  2721. opencharge:
  2722. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  2723. type: number
  2724. openexchagechargevalue:
  2725. description: 建仓交易所手续费设置值
  2726. type: number
  2727. openfeealgorithm:
  2728. description: 建仓手续费收取方式 1:比率 2:固定
  2729. type: integer
  2730. openmemberchargevalue:
  2731. description: 建仓会员手续费设置值
  2732. type: number
  2733. openqty:
  2734. description: 开仓数量(先建后平操作 需要记录)
  2735. type: integer
  2736. optiontype:
  2737. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  2738. type: integer
  2739. orderid:
  2740. description: 委托单号
  2741. type: string
  2742. performanceplanid:
  2743. description: 履约计划ID[期权]
  2744. type: integer
  2745. performancestatus:
  2746. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  2747. type: integer
  2748. preexerciseprice:
  2749. description: 预申报价格
  2750. type: number
  2751. premium:
  2752. description: 权利金 - [持仓单的权利金]
  2753. type: number
  2754. relatedouttradeid:
  2755. description: 关联外部成交单ID
  2756. type: integer
  2757. status:
  2758. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  2759. type: integer
  2760. tradeamount:
  2761. description: 成交金额[账户币种,用于所有权]
  2762. type: number
  2763. tradedate:
  2764. description: 交易日(yyyyMMdd)
  2765. type: string
  2766. tradeid:
  2767. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2768. type: string
  2769. trademode:
  2770. description: 交易模式
  2771. type: integer
  2772. tradeprice:
  2773. description: 成交价格
  2774. type: number
  2775. tradeproperty:
  2776. description: 交易属性
  2777. type: integer
  2778. tradeqty:
  2779. description: 成交数量
  2780. type: integer
  2781. tradetime:
  2782. description: 成交时间
  2783. type: string
  2784. tradetype:
  2785. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  2786. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  2787. type: integer
  2788. required:
  2789. - accountid
  2790. - buyorsell
  2791. - goodsid
  2792. - marketid
  2793. - memberuserid
  2794. - orderid
  2795. - tradeamount
  2796. - tradedate
  2797. - tradeid
  2798. - tradeprice
  2799. - tradeqty
  2800. - tradetime
  2801. type: object
  2802. order.QueryTradeOrderDetailRsp:
  2803. properties:
  2804. accountid:
  2805. description: 账户ID[报价币种]
  2806. type: integer
  2807. buildtype:
  2808. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  2809. type: integer
  2810. buyorsell:
  2811. description: 买卖 - 0:买 1:卖
  2812. type: integer
  2813. cancelorderid:
  2814. description: 撤单单号(撤单时填写)
  2815. type: string
  2816. cancelqty:
  2817. description: 撤单数量
  2818. type: integer
  2819. clienttype:
  2820. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  2821. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  2822. type: integer
  2823. closefreezecharge:
  2824. description: 平仓冻结手续费(先建后平操作,需要记录)
  2825. type: number
  2826. closeqty:
  2827. description: 平仓数量(先建后平操作 需要记录)
  2828. type: integer
  2829. closetradeqty:
  2830. description: 平仓成交数量(先建后平操作,需要记录)
  2831. type: integer
  2832. closeunfreezecharge:
  2833. description: 平仓解冻手续费(先建后平操作,需要记录)
  2834. type: number
  2835. delistingtype:
  2836. description: 摘牌类型 - 1:价格最优 2:点选成交
  2837. type: integer
  2838. enableqty:
  2839. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  2840. type: integer
  2841. freezecharge:
  2842. description: 冻结手续费
  2843. type: number
  2844. freezemargin:
  2845. description: 冻结保证金(冻结交易金额)
  2846. type: number
  2847. goodscode:
  2848. description: 商品代码
  2849. type: string
  2850. goodsid:
  2851. description: 商品ID
  2852. type: integer
  2853. goodsname:
  2854. description: 商品名称
  2855. type: string
  2856. listingselecttype:
  2857. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  2858. type: integer
  2859. marketid:
  2860. description: 市场ID
  2861. type: integer
  2862. marketname:
  2863. description: 市场名称
  2864. type: string
  2865. openfreezecharge:
  2866. description: 开仓冻结手续费(先建后平操作,需要记录)
  2867. type: number
  2868. openqty:
  2869. description: 开仓数量(先建后平操作,需要记录)
  2870. type: integer
  2871. opentradeqty:
  2872. description: 开仓成交数量(先建后平操作,需要记录)
  2873. type: integer
  2874. openunfreezecharge:
  2875. description: 开仓解冻手续费(先建后平操作,需要记录)
  2876. type: number
  2877. operatetype:
  2878. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  2879. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  2880. 15:管理端协议转让
  2881. type: integer
  2882. operatorid:
  2883. description: 登录账号(LoginID)
  2884. type: integer
  2885. orderid:
  2886. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2887. type: string
  2888. orderprice:
  2889. description: 委托价格
  2890. type: number
  2891. orderqty:
  2892. description: 委托数量
  2893. type: integer
  2894. ordersrc:
  2895. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  2896. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  2897. type: integer
  2898. orderstatus:
  2899. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  2900. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  2901. 16:成交失败违约(荷兰式竞拍专用)
  2902. type: integer
  2903. ordertime:
  2904. description: 委托时间
  2905. type: string
  2906. preorderid:
  2907. description: 关联预埋单号(止盈止损单时填写)
  2908. type: string
  2909. pricemode:
  2910. description: '取价方式 - 1:市价 2: 限价'
  2911. type: integer
  2912. relatedid:
  2913. description: 关联单号(交割单)
  2914. type: string
  2915. tradedate:
  2916. description: 交易日(yyyyMMdd)
  2917. type: string
  2918. trademode:
  2919. description: 交易模式
  2920. type: integer
  2921. tradeqty:
  2922. description: 成交数量
  2923. type: integer
  2924. unfreezecharge:
  2925. description: 解冻手续费
  2926. type: number
  2927. unfreezemargin:
  2928. description: 解冻保证金
  2929. type: number
  2930. validtime:
  2931. description: 有效期限
  2932. type: string
  2933. validtype:
  2934. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  2935. type: integer
  2936. volumetype:
  2937. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  2938. type: integer
  2939. required:
  2940. - accountid
  2941. - buildtype
  2942. - buyorsell
  2943. - goodsid
  2944. - marketid
  2945. - operatetype
  2946. - orderqty
  2947. - ordertime
  2948. - pricemode
  2949. - tradedate
  2950. - validtype
  2951. type: object
  2952. order.QueryTradePositionRsp:
  2953. properties:
  2954. accountid:
  2955. description: 资金账户
  2956. type: integer
  2957. agreeunit:
  2958. description: 合约单位
  2959. type: number
  2960. averageprice:
  2961. description: 持仓均价
  2962. type: number
  2963. buyorsell:
  2964. description: 方向 - 0:买 1:卖
  2965. type: integer
  2966. closetotalqty:
  2967. description: 平仓总数量
  2968. type: integer
  2969. curholderamount:
  2970. description: 当前持仓总金额[商品币种]
  2971. type: number
  2972. curpositionqty:
  2973. description: 当前持仓总数量
  2974. type: integer
  2975. currencyid:
  2976. description: 报价货币ID
  2977. type: integer
  2978. curtdposition:
  2979. description: 期末今日头寸
  2980. type: integer
  2981. decimalplace:
  2982. description: 报价小数位
  2983. type: integer
  2984. enableqty:
  2985. description: 可用量
  2986. type: integer
  2987. fretdposition:
  2988. description: 冻结今日头寸
  2989. type: integer
  2990. frozenqty:
  2991. description: 持仓冻结数量
  2992. type: integer
  2993. goodscode:
  2994. description: 商品代码
  2995. type: string
  2996. goodsid:
  2997. description: 商品Id
  2998. type: integer
  2999. goodsname:
  3000. description: 商品名称
  3001. type: string
  3002. goodunit:
  3003. description: 报价单位
  3004. type: string
  3005. goodunitid:
  3006. description: 报价单位ID
  3007. type: integer
  3008. holderamount:
  3009. description: 期初持仓总金额[商品币种]
  3010. type: number
  3011. marketid:
  3012. description: 所属市场ID
  3013. type: integer
  3014. openreqqty:
  3015. description: 开仓申请数量(用于比较最大持仓数量)
  3016. type: integer
  3017. opentotalqty:
  3018. description: 开仓总数量
  3019. type: integer
  3020. otherfrozenqty:
  3021. description: 持仓其他冻结数量(交割冻结)
  3022. type: integer
  3023. positionqty:
  3024. description: 期初持仓数量
  3025. type: integer
  3026. tnqty:
  3027. description: T+N冻结总量
  3028. type: integer
  3029. tnusedqty:
  3030. description: T+N使用量(可以使用T+N的冻结数量)
  3031. type: integer
  3032. trademode:
  3033. description: 交易模式
  3034. type: integer
  3035. required:
  3036. - goodsid
  3037. type: object
  3038. quote.HistoryData:
  3039. properties:
  3040. c:
  3041. description: 收盘价
  3042. type: number
  3043. h:
  3044. description: 最高价
  3045. type: number
  3046. hv:
  3047. description: 持仓量
  3048. type: integer
  3049. l:
  3050. description: 最低价
  3051. type: number
  3052. o:
  3053. description: 开盘价
  3054. type: number
  3055. s:
  3056. description: 结算价,日线周期(包括)以上才有
  3057. type: number
  3058. ts:
  3059. description: 时间
  3060. type: string
  3061. tt:
  3062. description: 总金额
  3063. type: number
  3064. tv:
  3065. description: 总量
  3066. type: integer
  3067. type: object
  3068. quote.QueryTSDataRsp:
  3069. properties:
  3070. decimalPlace:
  3071. description: 小数位
  3072. type: integer
  3073. endTime:
  3074. description: 结束时间
  3075. type: string
  3076. goodsCode:
  3077. description: 商品代码
  3078. type: string
  3079. historyDatas:
  3080. description: 历史数据
  3081. items:
  3082. $ref: '#/definitions/quote.HistoryData'
  3083. type: array
  3084. preSettle:
  3085. description: 昨结
  3086. type: number
  3087. startTime:
  3088. description: 开始时间
  3089. type: string
  3090. tradeDate:
  3091. description: 交易日
  3092. type: string
  3093. type: object
  3094. szdz.QueryConvertLogRsp:
  3095. properties:
  3096. accountid:
  3097. description: 资金账户ID
  3098. type: integer
  3099. clientticket:
  3100. description: 客户端流水号
  3101. type: string
  3102. converttype:
  3103. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  3104. type: integer
  3105. createtime:
  3106. description: 记账时间
  3107. type: string
  3108. daymaxvalue:
  3109. description: 配置当日最大转入限制
  3110. type: number
  3111. daymaxvalue2:
  3112. description: 配置当日最大转入限制(转入)
  3113. type: number
  3114. goodscode:
  3115. description: 商品代码
  3116. type: string
  3117. goodsname:
  3118. description: 商品名称
  3119. type: string
  3120. handlestatus:
  3121. description: 处理状态
  3122. type: integer
  3123. innergoodsid:
  3124. description: 内部商品ID
  3125. type: integer
  3126. inratio:
  3127. description: 配置转入比值
  3128. type: integer
  3129. invalue:
  3130. description: 目标值
  3131. type: number
  3132. logid:
  3133. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3134. type: integer
  3135. mobile:
  3136. description: 手机号码(加密存储)
  3137. type: string
  3138. outergoodscode:
  3139. description: 外部商品代码[JD\PD]
  3140. type: string
  3141. outratio:
  3142. description: 配置转出比值
  3143. type: integer
  3144. outvalue:
  3145. description: 源值
  3146. type: number
  3147. pddecimalplace:
  3148. description: PD小数位
  3149. type: integer
  3150. qty:
  3151. description: 数量
  3152. type: string
  3153. remark:
  3154. description: 备注
  3155. type: string
  3156. sessionid:
  3157. description: 会话ID
  3158. type: integer
  3159. timemaxvalue:
  3160. description: 配置单次最大转入限制
  3161. type: number
  3162. timemaxvalue2:
  3163. description: 配置单次最大转入限制(转入)
  3164. type: number
  3165. timeminvalue:
  3166. description: 配置单次最小数量限制
  3167. type: number
  3168. timeminvalue2:
  3169. description: 配置单次最小数量限制(转入)
  3170. type: number
  3171. tradedate:
  3172. description: 交易日(yyyyMMdd)
  3173. type: string
  3174. userid:
  3175. description: 用户ID
  3176. type: integer
  3177. required:
  3178. - logid
  3179. type: object
  3180. szdz.QueryGoodsPickupRsp:
  3181. properties:
  3182. accountid:
  3183. description: 账户ID
  3184. type: integer
  3185. address:
  3186. description: 提货人详细地址
  3187. type: string
  3188. auditer:
  3189. description: 审核人
  3190. type: integer
  3191. audittime:
  3192. description: 审核时间
  3193. type: string
  3194. cardnum:
  3195. description: 提货人证件号码
  3196. type: string
  3197. cardtypeid:
  3198. description: 提货人证件类型
  3199. type: integer
  3200. checkremark:
  3201. description: 审核备注
  3202. type: string
  3203. goodscode:
  3204. description: 商品代码
  3205. type: string
  3206. goodsid:
  3207. description: 商品ID
  3208. type: integer
  3209. goodsname:
  3210. description: 商品名称
  3211. type: string
  3212. handlestatus:
  3213. description: 处理状态
  3214. type: integer
  3215. marketid:
  3216. description: 市场ID
  3217. type: integer
  3218. phonenum:
  3219. description: 提货人联系方式
  3220. type: string
  3221. qty:
  3222. description: 提货数量
  3223. type: number
  3224. recivername:
  3225. description: 提货人姓名
  3226. type: string
  3227. reqtime:
  3228. description: 更新时间
  3229. type: string
  3230. takemode:
  3231. description: 提货方式 - 2:自提 3:配送
  3232. type: integer
  3233. takeorderid:
  3234. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  3235. type: string
  3236. takeorderstatus:
  3237. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  3238. type: integer
  3239. takeremark:
  3240. description: 提货备注
  3241. type: string
  3242. tradedate:
  3243. description: 交易日(yyyyMMdd)
  3244. type: string
  3245. userid:
  3246. description: 用户ID
  3247. type: integer
  3248. required:
  3249. - takeorderid
  3250. type: object
  3251. szdz.QueryRecieptOrderRsp:
  3252. properties:
  3253. accountName:
  3254. description: 所属账号名称(已脱敏)
  3255. type: string
  3256. accountid:
  3257. description: 资金账号
  3258. type: integer
  3259. buyorsell:
  3260. description: 方向 - 0:买 1:卖
  3261. type: integer
  3262. enableqty:
  3263. description: 可摘数量
  3264. type: integer
  3265. goodscode:
  3266. description: 商品代码
  3267. type: string
  3268. goodsid:
  3269. description: 商品ID
  3270. type: integer
  3271. goodsname:
  3272. description: 商品名称
  3273. type: string
  3274. orderid:
  3275. description: 委托单号
  3276. type: string
  3277. orderprice:
  3278. description: 委托价格
  3279. type: number
  3280. tradedate:
  3281. description: 交易日(yyyyMMdd)
  3282. type: string
  3283. type: object
  3284. szdz.QuerySZDZTradePositionRsp:
  3285. properties:
  3286. accountid:
  3287. description: 账号Id
  3288. type: integer
  3289. agreeunit:
  3290. description: 合约单位
  3291. type: number
  3292. averageprice:
  3293. description: 持仓均价
  3294. type: number
  3295. buyorsell:
  3296. description: 方向 - 0:买 1:卖
  3297. type: integer
  3298. closetotalqty:
  3299. description: 平仓总数量
  3300. type: integer
  3301. curholderamount:
  3302. description: 当前持仓总金额
  3303. type: number
  3304. curpositionqty:
  3305. description: 当前持仓总数量
  3306. type: integer
  3307. currencyid:
  3308. description: 报价货币ID
  3309. type: integer
  3310. curtdposition:
  3311. description: 期末今日头寸
  3312. type: integer
  3313. decimalplace:
  3314. description: 报价小数位
  3315. type: integer
  3316. enableqty:
  3317. description: 可用量
  3318. type: integer
  3319. fretdposition:
  3320. description: 冻结今日头寸
  3321. type: integer
  3322. frozenqty:
  3323. description: 持仓冻结数量
  3324. type: integer
  3325. goodscode:
  3326. description: 商品代码(内部)
  3327. type: string
  3328. goodsid:
  3329. description: 商品Id
  3330. type: integer
  3331. goodsname:
  3332. description: 商品名称
  3333. type: string
  3334. goodunit:
  3335. description: 报价单位
  3336. type: string
  3337. goodunitid:
  3338. description: 报价单位ID
  3339. type: integer
  3340. holderamount:
  3341. description: 期初持仓总金额
  3342. type: number
  3343. marketid:
  3344. description: 市场ID
  3345. type: integer
  3346. openreqqty:
  3347. description: 开仓申请数量
  3348. type: integer
  3349. opentotalqty:
  3350. description: 开仓总数量
  3351. type: integer
  3352. otherfrozenqty:
  3353. description: 持仓其他冻结数量(交割冻结)
  3354. type: integer
  3355. positionqty:
  3356. description: 期初持仓数量
  3357. type: integer
  3358. szdz3freezqty:
  3359. description: 尚志大宗转换冻结总数量
  3360. type: integer
  3361. tnqty:
  3362. description: T+N冻结总量
  3363. type: integer
  3364. tnusedqty:
  3365. description: T+N使用量
  3366. type: integer
  3367. trademode:
  3368. description: 交易模式
  3369. type: integer
  3370. usedmargin:
  3371. description: 占用保证金
  3372. type: number
  3373. type: object
  3374. taaccount.QueryAmountLogRsp:
  3375. properties:
  3376. OPERATETYPENAME:
  3377. description: 资金操作类型名称
  3378. type: string
  3379. accountid:
  3380. description: 资金账户ID
  3381. type: integer
  3382. agoodscode:
  3383. description: 竞拍商品代码
  3384. type: string
  3385. agoodsname:
  3386. description: 竞拍商品名称
  3387. type: string
  3388. amount:
  3389. description: 资金金额
  3390. type: number
  3391. amountadjusttype:
  3392. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  3393. type: integer
  3394. autoid:
  3395. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  3396. type: integer
  3397. balance:
  3398. description: 期初余额
  3399. type: number
  3400. businesscode:
  3401. description: 业务编号
  3402. type: integer
  3403. createtime:
  3404. description: 发生时间
  3405. type: string
  3406. currencyid:
  3407. description: 币种ID
  3408. type: integer
  3409. currentbalance:
  3410. description: 期末余额(变动后金额)
  3411. type: number
  3412. dgoodscode:
  3413. description: 交割商品代码
  3414. type: string
  3415. dgoodsname:
  3416. description: 交割商品名称
  3417. type: string
  3418. goodscode:
  3419. description: 商品代码
  3420. type: string
  3421. goodsid:
  3422. description: 商品ID
  3423. type: integer
  3424. goodsname:
  3425. description: 商品名称
  3426. type: string
  3427. marketid:
  3428. description: 市场ID
  3429. type: integer
  3430. marketname:
  3431. description: 市场名称
  3432. type: string
  3433. moneyticket:
  3434. description: 资金流水号:银行端流水号
  3435. type: integer
  3436. operatetype:
  3437. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  3438. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  3439. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  3440. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  3441. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  3442. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  3443. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  3444. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  3445. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  3446. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  3447. type: integer
  3448. relationorderid:
  3449. description: 关联单号
  3450. type: string
  3451. remark:
  3452. description: 备注
  3453. type: string
  3454. trademode:
  3455. description: 交易模式
  3456. type: integer
  3457. required:
  3458. - accountid
  3459. - amount
  3460. - amountadjusttype
  3461. - autoid
  3462. - balance
  3463. - createtime
  3464. - currentbalance
  3465. - operatetype
  3466. type: object
  3467. taaccount.QueryHisAmountLogRsp:
  3468. properties:
  3469. OPERATETYPENAME:
  3470. description: 资金操作类型名称
  3471. type: string
  3472. accountid:
  3473. description: 资金账户ID
  3474. type: integer
  3475. agoodscode:
  3476. description: 竞拍商品代码
  3477. type: string
  3478. agoodsname:
  3479. description: 竞拍商品名称
  3480. type: string
  3481. amount:
  3482. description: 资金金额
  3483. type: number
  3484. amountadjusttype:
  3485. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  3486. type: integer
  3487. autoid:
  3488. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  3489. type: integer
  3490. balance:
  3491. description: 期初余额
  3492. type: number
  3493. businesscode:
  3494. description: 业务编号
  3495. type: integer
  3496. createtime:
  3497. description: 发生时间
  3498. type: string
  3499. currencyid:
  3500. description: 币种ID
  3501. type: integer
  3502. currentbalance:
  3503. description: 期末余额(变动后金额)
  3504. type: number
  3505. dgoodscode:
  3506. description: 交割商品代码
  3507. type: string
  3508. dgoodsname:
  3509. description: 交割商品名称
  3510. type: string
  3511. goodscode:
  3512. description: 商品代码
  3513. type: string
  3514. goodsid:
  3515. description: 商品ID
  3516. type: integer
  3517. goodsname:
  3518. description: 商品名称
  3519. type: string
  3520. histradedate:
  3521. description: 历史交易日
  3522. type: string
  3523. isvaliddata:
  3524. description: 是否有效 - 0:无效 1:有效
  3525. type: integer
  3526. marketid:
  3527. description: 市场ID
  3528. type: integer
  3529. marketname:
  3530. description: 市场名称
  3531. type: string
  3532. moneyticket:
  3533. description: 资金流水号:银行端流水号
  3534. type: integer
  3535. operatetype:
  3536. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  3537. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  3538. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  3539. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  3540. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  3541. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  3542. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  3543. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  3544. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  3545. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  3546. type: integer
  3547. relationorderid:
  3548. description: 关联单号
  3549. type: string
  3550. remark:
  3551. description: 备注
  3552. type: string
  3553. trademode:
  3554. description: 交易模式
  3555. type: integer
  3556. required:
  3557. - accountid
  3558. - amount
  3559. - amountadjusttype
  3560. - autoid
  3561. - balance
  3562. - createtime
  3563. - currentbalance
  3564. - histradedate
  3565. - operatetype
  3566. type: object
  3567. info:
  3568. contact: {}
  3569. description: 新的查询服务,替代原通用查询服务。
  3570. termsOfService: http://muchinfo.cn
  3571. title: MTP2.0 查询服务 API
  3572. version: "1.0"
  3573. paths:
  3574. /CPTrade/QueryCPTradeMyBidInfos:
  3575. get:
  3576. parameters:
  3577. - description: 资金账户
  3578. in: query
  3579. name: accountid
  3580. required: true
  3581. type: integer
  3582. - description: 预售市场ID
  3583. in: query
  3584. name: marketid
  3585. type: integer
  3586. - description: 预售商品ID
  3587. in: query
  3588. name: goodsid
  3589. type: integer
  3590. produces:
  3591. - application/json
  3592. responses:
  3593. "200":
  3594. description: OK
  3595. schema:
  3596. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  3597. "500":
  3598. description: Internal Server Error
  3599. schema:
  3600. $ref: '#/definitions/app.Response'
  3601. security:
  3602. - ApiKeyAuth: []
  3603. summary: 查询产能预售我的出价信息
  3604. tags:
  3605. - 产能预售
  3606. /CPTrade/QueryCPTradeOrderDetail:
  3607. get:
  3608. parameters:
  3609. - description: 预售商品ID
  3610. in: query
  3611. name: goodsid
  3612. type: integer
  3613. - description: 预售市场ID
  3614. in: query
  3615. name: marketid
  3616. type: integer
  3617. - description: 预售商品ID列表 - 格式:1,2,3
  3618. in: query
  3619. name: goodsids
  3620. type: string
  3621. produces:
  3622. - application/json
  3623. responses:
  3624. "200":
  3625. description: OK
  3626. schema:
  3627. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  3628. "500":
  3629. description: Internal Server Error
  3630. schema:
  3631. $ref: '#/definitions/app.Response'
  3632. security:
  3633. - ApiKeyAuth: []
  3634. summary: 查询产能预售委托单信息
  3635. tags:
  3636. - 产能预售
  3637. /CPTrade/QueryMyCPTradeGoods:
  3638. get:
  3639. parameters:
  3640. - description: 资金账户
  3641. in: query
  3642. name: accountid
  3643. required: true
  3644. type: integer
  3645. produces:
  3646. - application/json
  3647. responses:
  3648. "200":
  3649. description: OK
  3650. schema:
  3651. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  3652. "500":
  3653. description: Internal Server Error
  3654. schema:
  3655. $ref: '#/definitions/app.Response'
  3656. security:
  3657. - ApiKeyAuth: []
  3658. summary: 查询我的预售信息
  3659. tags:
  3660. - 产能预售
  3661. /CPTrade/QueryPositionCancel:
  3662. get:
  3663. parameters:
  3664. - description: 账户ID
  3665. in: query
  3666. name: userid
  3667. required: true
  3668. type: integer
  3669. - description: 注销ID
  3670. in: query
  3671. name: cancelid
  3672. type: integer
  3673. - description: 资金账户ID
  3674. in: query
  3675. name: accountid
  3676. type: integer
  3677. produces:
  3678. - application/json
  3679. responses:
  3680. "200":
  3681. description: OK
  3682. schema:
  3683. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  3684. "500":
  3685. description: Internal Server Error
  3686. schema:
  3687. $ref: '#/definitions/app.Response'
  3688. security:
  3689. - ApiKeyAuth: []
  3690. summary: 查询远期订单注销申请信息
  3691. tags:
  3692. - 产能预售
  3693. /CPTrade/QueryPreasleApply:
  3694. get:
  3695. parameters:
  3696. - description: 账户ID
  3697. in: query
  3698. name: userid
  3699. required: true
  3700. type: integer
  3701. - description: 申请ID
  3702. in: query
  3703. name: applyid
  3704. type: integer
  3705. - description: 资金账户ID
  3706. in: query
  3707. name: accountid
  3708. type: integer
  3709. produces:
  3710. - application/json
  3711. responses:
  3712. "200":
  3713. description: OK
  3714. schema:
  3715. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  3716. "500":
  3717. description: Internal Server Error
  3718. schema:
  3719. $ref: '#/definitions/app.Response'
  3720. security:
  3721. - ApiKeyAuth: []
  3722. summary: 查询产能预售申请信息
  3723. tags:
  3724. - 产能预售
  3725. /CPTrade/QueryPresaleGoodsEx:
  3726. get:
  3727. parameters:
  3728. - description: 预售商品ID
  3729. in: query
  3730. name: goodsid
  3731. type: integer
  3732. - description: 预售市场ID
  3733. in: query
  3734. name: marketid
  3735. type: integer
  3736. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  3737. in: query
  3738. name: presalemode
  3739. type: integer
  3740. - description: 预售商品ID列表 - 格式:1,2,3
  3741. in: query
  3742. name: goodsids
  3743. type: string
  3744. - description: 预售商品代码
  3745. in: query
  3746. name: goodscode
  3747. type: string
  3748. produces:
  3749. - application/json
  3750. responses:
  3751. "200":
  3752. description: OK
  3753. schema:
  3754. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  3755. "500":
  3756. description: Internal Server Error
  3757. schema:
  3758. $ref: '#/definitions/app.Response'
  3759. security:
  3760. - ApiKeyAuth: []
  3761. summary: 查询产能预售商品扩展信息
  3762. tags:
  3763. - 产能预售
  3764. /CPTrade/QueryUserGoodsData:
  3765. get:
  3766. parameters:
  3767. - description: 资金账户ID
  3768. in: query
  3769. name: accountid
  3770. required: true
  3771. type: integer
  3772. produces:
  3773. - application/json
  3774. responses:
  3775. "200":
  3776. description: OK
  3777. schema:
  3778. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  3779. "500":
  3780. description: Internal Server Error
  3781. schema:
  3782. $ref: '#/definitions/app.Response'
  3783. security:
  3784. - ApiKeyAuth: []
  3785. summary: 查询远期订单信息
  3786. tags:
  3787. - 产能预售
  3788. /Common/NoticeReaded:
  3789. post:
  3790. parameters:
  3791. - description: 登录账号
  3792. in: query
  3793. name: loginID
  3794. required: true
  3795. type: integer
  3796. - description: 通知公告ID
  3797. in: query
  3798. name: noticeID
  3799. required: true
  3800. type: integer
  3801. produces:
  3802. - application/json
  3803. responses:
  3804. "200":
  3805. description: OK
  3806. schema:
  3807. $ref: '#/definitions/app.Response'
  3808. "500":
  3809. description: Internal Server Error
  3810. schema:
  3811. $ref: '#/definitions/app.Response'
  3812. security:
  3813. - ApiKeyAuth: []
  3814. summary: 通知公告设置已读请求
  3815. tags:
  3816. - 通用服务
  3817. /Common/QueryNotice:
  3818. get:
  3819. parameters:
  3820. - description: 页码
  3821. in: query
  3822. name: page
  3823. type: integer
  3824. - description: 每页条数
  3825. in: query
  3826. name: pagesize
  3827. type: integer
  3828. - description: 登录账号
  3829. in: query
  3830. name: loginID
  3831. required: true
  3832. type: integer
  3833. - description: 消息类型 - 1:公告通知 2:系统消息
  3834. in: query
  3835. name: msgType
  3836. type: integer
  3837. - description: 是否只获取未读信息
  3838. in: query
  3839. name: onlyUnRead
  3840. type: boolean
  3841. produces:
  3842. - application/json
  3843. responses:
  3844. "200":
  3845. description: OK
  3846. schema:
  3847. $ref: '#/definitions/common.QueryNoticeRsp'
  3848. "500":
  3849. description: Internal Server Error
  3850. schema:
  3851. $ref: '#/definitions/app.Response'
  3852. security:
  3853. - ApiKeyAuth: []
  3854. summary: 通知公告系统消息查询
  3855. tags:
  3856. - 通用服务
  3857. /Common/QueryProvincesAndCities:
  3858. get:
  3859. parameters:
  3860. - description: 省ID
  3861. in: query
  3862. name: provinceID
  3863. type: integer
  3864. produces:
  3865. - application/json
  3866. responses:
  3867. "200":
  3868. description: OK
  3869. schema:
  3870. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  3871. "500":
  3872. description: Internal Server Error
  3873. schema:
  3874. $ref: '#/definitions/app.Response'
  3875. summary: 查询省市信息(不包括区)
  3876. tags:
  3877. - 通用服务
  3878. /Common/QueryTableDefine:
  3879. get:
  3880. parameters:
  3881. - description: 表key
  3882. in: query
  3883. name: TableKey
  3884. type: string
  3885. produces:
  3886. - application/json
  3887. responses:
  3888. "200":
  3889. description: OK
  3890. schema:
  3891. $ref: '#/definitions/common.QueryTableDefineRsp'
  3892. "500":
  3893. description: Internal Server Error
  3894. schema:
  3895. $ref: '#/definitions/app.Response'
  3896. summary: 查询交易端列表头信息
  3897. tags:
  3898. - 通用服务
  3899. /Common/QueryTraderMenu:
  3900. get:
  3901. parameters:
  3902. - description: 登录账号
  3903. in: query
  3904. name: loginid
  3905. required: true
  3906. type: integer
  3907. produces:
  3908. - application/json
  3909. responses:
  3910. "200":
  3911. description: OK
  3912. schema:
  3913. $ref: '#/definitions/common.QueryTraderMenuRsp'
  3914. "500":
  3915. description: Internal Server Error
  3916. schema:
  3917. $ref: '#/definitions/app.Response'
  3918. summary: 查询交易端菜单
  3919. tags:
  3920. - 通用服务
  3921. /Delivery/QueryDeliveryRelation:
  3922. get:
  3923. parameters:
  3924. - description: 商品ID
  3925. in: query
  3926. name: goodsid
  3927. type: integer
  3928. - description: 品种ID
  3929. in: query
  3930. name: deliverygoodsid
  3931. type: integer
  3932. - description: 市场ID
  3933. in: query
  3934. name: marketid
  3935. type: integer
  3936. produces:
  3937. - application/json
  3938. responses:
  3939. "200":
  3940. description: OK
  3941. schema:
  3942. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  3943. "500":
  3944. description: Internal Server Error
  3945. schema:
  3946. $ref: '#/definitions/app.Response'
  3947. security:
  3948. - ApiKeyAuth: []
  3949. summary: 查询商品交割关系表
  3950. tags:
  3951. - 交割服务
  3952. /Erms2/QueryArbitrageStrategy:
  3953. get:
  3954. parameters:
  3955. - description: 账户ID
  3956. in: query
  3957. name: userid
  3958. required: true
  3959. type: integer
  3960. - description: 商品组ID(品种ID)
  3961. in: query
  3962. name: goodsgroupid
  3963. type: string
  3964. produces:
  3965. - application/json
  3966. responses:
  3967. "200":
  3968. description: OK
  3969. schema:
  3970. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  3971. "500":
  3972. description: Internal Server Error
  3973. schema:
  3974. $ref: '#/definitions/app.Response'
  3975. security:
  3976. - ApiKeyAuth: []
  3977. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  3978. tags:
  3979. - 风险管理
  3980. /Erms2/QueryInnerTradeDetail:
  3981. get:
  3982. parameters:
  3983. - description: 资金账户
  3984. in: query
  3985. name: accountid
  3986. required: true
  3987. type: integer
  3988. produces:
  3989. - application/json
  3990. responses:
  3991. "200":
  3992. description: OK
  3993. schema:
  3994. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  3995. "500":
  3996. description: Internal Server Error
  3997. schema:
  3998. $ref: '#/definitions/app.Response'
  3999. security:
  4000. - ApiKeyAuth: []
  4001. summary: 查询内部成交单信息
  4002. tags:
  4003. - 风险管理
  4004. /Erms2/QuerySpotContract:
  4005. get:
  4006. parameters:
  4007. - description: 策略申请ID
  4008. in: query
  4009. name: asapplyid
  4010. required: true
  4011. type: integer
  4012. - description: 现货合同ID
  4013. in: query
  4014. name: spotcontractid
  4015. type: integer
  4016. produces:
  4017. - application/json
  4018. responses:
  4019. "200":
  4020. description: OK
  4021. schema:
  4022. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  4023. "500":
  4024. description: Internal Server Error
  4025. schema:
  4026. $ref: '#/definitions/app.Response'
  4027. security:
  4028. - ApiKeyAuth: []
  4029. summary: 查询现货合同表信息(指定策略ID、未结束的)
  4030. tags:
  4031. - 风险管理
  4032. /HSBY/QueryHsbyGoodsOrderDetails:
  4033. get:
  4034. description: 说明:查询结果已按委托价格和委托时间排序
  4035. parameters:
  4036. - description: 商品ID
  4037. in: query
  4038. name: goodsID
  4039. required: true
  4040. type: integer
  4041. - description: 委托单方向。0:买 1:卖。不传则默认为买
  4042. in: query
  4043. name: buyOrSell
  4044. type: integer
  4045. - description: ' 参考价格。买方向委托单则价格大于等于(站在摘牌人的角度);卖方向委托单则价格小于等于'
  4046. in: query
  4047. name: price
  4048. type: number
  4049. - description: 档位,不传则默认为3档
  4050. in: query
  4051. name: speed
  4052. type: integer
  4053. produces:
  4054. - application/json
  4055. responses:
  4056. "200":
  4057. description: OK
  4058. schema:
  4059. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  4060. "500":
  4061. description: Internal Server Error
  4062. schema:
  4063. $ref: '#/definitions/app.Response'
  4064. security:
  4065. - ApiKeyAuth: []
  4066. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  4067. tags:
  4068. - 定制【海商报业】
  4069. /HSBY/QueryHsbyListingGoodsDetail:
  4070. get:
  4071. parameters:
  4072. - description: 商品ID
  4073. in: query
  4074. name: goodsID
  4075. required: true
  4076. type: integer
  4077. produces:
  4078. - application/json
  4079. responses:
  4080. "200":
  4081. description: OK
  4082. schema:
  4083. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  4084. "500":
  4085. description: Internal Server Error
  4086. schema:
  4087. $ref: '#/definitions/app.Response'
  4088. security:
  4089. - ApiKeyAuth: []
  4090. summary: 查询二级市场(挂牌点选)商品信息详情
  4091. tags:
  4092. - 定制【海商报业】
  4093. /HSBY/QueryHsbyMyBuyOrderDetails:
  4094. get:
  4095. description: 说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;
  4096. parameters:
  4097. - description: 资金账户列表,格式:1,2,3
  4098. in: query
  4099. name: accountIDs
  4100. required: true
  4101. type: string
  4102. - description: '''我的订单''状态, 1:抢购中 2:求购中 3:已完成;不传则为''全部'''
  4103. in: query
  4104. name: myBuyStatus
  4105. type: integer
  4106. produces:
  4107. - application/json
  4108. responses:
  4109. "200":
  4110. description: OK
  4111. schema:
  4112. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  4113. "500":
  4114. description: Internal Server Error
  4115. schema:
  4116. $ref: '#/definitions/app.Response'
  4117. security:
  4118. - ApiKeyAuth: []
  4119. summary: 查询“我的订单”信息
  4120. tags:
  4121. - 定制【海商报业】
  4122. /HSBY/QueryHsbyMyGoods:
  4123. get:
  4124. parameters:
  4125. - description: 资金账户列表,格式:1,2,3
  4126. in: query
  4127. name: accountIDs
  4128. required: true
  4129. type: string
  4130. produces:
  4131. - application/json
  4132. responses:
  4133. "200":
  4134. description: OK
  4135. schema:
  4136. $ref: '#/definitions/models.HsbyMyGoods'
  4137. "500":
  4138. description: Internal Server Error
  4139. schema:
  4140. $ref: '#/definitions/app.Response'
  4141. security:
  4142. - ApiKeyAuth: []
  4143. summary: 查询“我的商品”信息
  4144. tags:
  4145. - 定制【海商报业】
  4146. /HSBY/QueryHsbyMyPackages:
  4147. get:
  4148. parameters:
  4149. - description: 资金账户列表,格式:1,2,3
  4150. in: query
  4151. name: accountIDs
  4152. required: true
  4153. type: string
  4154. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  4155. in: query
  4156. name: takeOrderStatus
  4157. type: integer
  4158. produces:
  4159. - application/json
  4160. responses:
  4161. "200":
  4162. description: OK
  4163. schema:
  4164. $ref: '#/definitions/models.HsbyMyPackage'
  4165. "500":
  4166. description: Internal Server Error
  4167. schema:
  4168. $ref: '#/definitions/app.Response'
  4169. security:
  4170. - ApiKeyAuth: []
  4171. summary: 查询我的包裹信息
  4172. tags:
  4173. - 定制【海商报业】
  4174. /HSBY/QueryHsbyPreGoodsDetail:
  4175. get:
  4176. parameters:
  4177. - description: 商品ID
  4178. in: query
  4179. name: goodsID
  4180. required: true
  4181. type: integer
  4182. produces:
  4183. - application/json
  4184. responses:
  4185. "200":
  4186. description: OK
  4187. schema:
  4188. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  4189. "500":
  4190. description: Internal Server Error
  4191. schema:
  4192. $ref: '#/definitions/app.Response'
  4193. security:
  4194. - ApiKeyAuth: []
  4195. summary: 查询一级市场(产能预售)商品信息详情
  4196. tags:
  4197. - 定制【海商报业】
  4198. /HSBY/QueryHsbyPreGoodses:
  4199. get:
  4200. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  4201. parameters:
  4202. - description: 页码
  4203. in: query
  4204. name: page
  4205. type: integer
  4206. - description: 每页条数
  4207. in: query
  4208. name: pagesize
  4209. type: integer
  4210. - description: 市场ID列表,格式:1,2,3
  4211. in: query
  4212. name: marketIDs
  4213. required: true
  4214. type: string
  4215. - description: 目的地(省)ID
  4216. in: query
  4217. name: DescProvinceID
  4218. type: integer
  4219. - description: 目的地(市)ID
  4220. in: query
  4221. name: DescCityID
  4222. type: integer
  4223. produces:
  4224. - application/json
  4225. responses:
  4226. "200":
  4227. description: OK
  4228. schema:
  4229. $ref: '#/definitions/models.HsbyPreGoods'
  4230. "500":
  4231. description: Internal Server Error
  4232. schema:
  4233. $ref: '#/definitions/app.Response'
  4234. security:
  4235. - ApiKeyAuth: []
  4236. summary: 查询新品上市商品列表(一级市场产能预售)
  4237. tags:
  4238. - 定制【海商报业】
  4239. /HSBY/QueryHsbySellMyDetails:
  4240. get:
  4241. description: 说明:已发布 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  4242. parameters:
  4243. - description: 页码
  4244. in: query
  4245. name: page
  4246. type: integer
  4247. - description: 每页条数
  4248. in: query
  4249. name: pagesize
  4250. type: integer
  4251. - description: 资金账户列表,格式:1,2,3
  4252. in: query
  4253. name: accountIDs
  4254. required: true
  4255. type: string
  4256. - description: 单据类型:0 - 已发布(默认), 1 - 已完成
  4257. in: query
  4258. name: orderType
  4259. type: integer
  4260. produces:
  4261. - application/json
  4262. responses:
  4263. "200":
  4264. description: OK
  4265. schema:
  4266. $ref: '#/definitions/models.HsbySellMyDetail'
  4267. "500":
  4268. description: Internal Server Error
  4269. schema:
  4270. $ref: '#/definitions/app.Response'
  4271. security:
  4272. - ApiKeyAuth: []
  4273. summary: 查询"我的闲置"单据信息
  4274. tags:
  4275. - 定制【海商报业】
  4276. /HSBY/QueryHsbyTopGoodses:
  4277. get:
  4278. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  4279. parameters:
  4280. - description: 页码
  4281. in: query
  4282. name: page
  4283. type: integer
  4284. - description: 每页条数
  4285. in: query
  4286. name: pagesize
  4287. type: integer
  4288. - description: 市场ID列表,格式:1,2,3
  4289. in: query
  4290. name: marketIDs
  4291. required: true
  4292. type: string
  4293. - description: 目的地(省)ID
  4294. in: query
  4295. name: DescProvinceID
  4296. type: integer
  4297. - description: 目的地(市)ID
  4298. in: query
  4299. name: DescCityID
  4300. type: integer
  4301. produces:
  4302. - application/json
  4303. responses:
  4304. "200":
  4305. description: OK
  4306. schema:
  4307. $ref: '#/definitions/models.HsbyTopGoods'
  4308. "500":
  4309. description: Internal Server Error
  4310. schema:
  4311. $ref: '#/definitions/app.Response'
  4312. security:
  4313. - ApiKeyAuth: []
  4314. summary: 查询热卖商品列表(二级市场挂牌点选)
  4315. tags:
  4316. - 定制【海商报业】
  4317. /Order/QueryHisTradeDetail:
  4318. get:
  4319. parameters:
  4320. - description: 资金账户 - 格式:1,2,3
  4321. in: query
  4322. name: accountID
  4323. required: true
  4324. type: string
  4325. - description: 成交单号
  4326. in: query
  4327. name: tradeID
  4328. type: integer
  4329. - description: 委托单号
  4330. in: query
  4331. name: orderID
  4332. type: integer
  4333. - description: 交易模式 - 格式:1,2,3
  4334. in: query
  4335. name: tradeMode
  4336. type: string
  4337. - description: 委托单据类型
  4338. in: query
  4339. name: buildType
  4340. type: integer
  4341. - description: 成交类别 - 格式:1,2,3
  4342. in: query
  4343. name: tradeType
  4344. type: string
  4345. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  4346. in: query
  4347. name: startDate
  4348. type: string
  4349. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  4350. in: query
  4351. name: endDate
  4352. type: string
  4353. produces:
  4354. - application/json
  4355. responses:
  4356. "200":
  4357. description: OK
  4358. schema:
  4359. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  4360. "500":
  4361. description: Internal Server Error
  4362. schema:
  4363. $ref: '#/definitions/app.Response'
  4364. security:
  4365. - ApiKeyAuth: []
  4366. summary: 历史成交单查询(合约市场)
  4367. tags:
  4368. - 通用单据
  4369. /Order/QueryHisTradeOrderDetail:
  4370. get:
  4371. parameters:
  4372. - description: 资金账户 - 格式:1,2,3
  4373. in: query
  4374. name: accountID
  4375. required: true
  4376. type: string
  4377. - description: 交易模式 - 格式:1,2,3
  4378. in: query
  4379. name: tradeMode
  4380. type: string
  4381. - description: 委托状态 - 格式:1,2,3
  4382. in: query
  4383. name: orderStatus
  4384. type: string
  4385. - description: 委托单号
  4386. in: query
  4387. name: orderID
  4388. type: integer
  4389. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  4390. in: query
  4391. name: startDate
  4392. type: string
  4393. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  4394. in: query
  4395. name: endDate
  4396. type: string
  4397. produces:
  4398. - application/json
  4399. responses:
  4400. "200":
  4401. description: OK
  4402. schema:
  4403. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  4404. "500":
  4405. description: Internal Server Error
  4406. schema:
  4407. $ref: '#/definitions/app.Response'
  4408. security:
  4409. - ApiKeyAuth: []
  4410. summary: 历史委托单查询请求(合约市场)
  4411. tags:
  4412. - 通用单据
  4413. /Order/QueryTradeDetail:
  4414. get:
  4415. parameters:
  4416. - description: 资金账户 - 格式:1,2,3
  4417. in: query
  4418. name: accountID
  4419. required: true
  4420. type: string
  4421. - description: 成交单号
  4422. in: query
  4423. name: tradeID
  4424. type: integer
  4425. - description: 委托单号
  4426. in: query
  4427. name: orderID
  4428. type: integer
  4429. - description: 交易模式 - 格式:1,2,3
  4430. in: query
  4431. name: tradeMode
  4432. type: string
  4433. - description: 委托单据类型
  4434. in: query
  4435. name: buildType
  4436. type: integer
  4437. - description: 成交类别 - 格式:1,2,3
  4438. in: query
  4439. name: tradeType
  4440. type: string
  4441. produces:
  4442. - application/json
  4443. responses:
  4444. "200":
  4445. description: OK
  4446. schema:
  4447. $ref: '#/definitions/order.QueryTradeDetailRsp'
  4448. "500":
  4449. description: Internal Server Error
  4450. schema:
  4451. $ref: '#/definitions/app.Response'
  4452. security:
  4453. - ApiKeyAuth: []
  4454. summary: 成交单查询(合约市场)
  4455. tags:
  4456. - 通用单据
  4457. /Order/QueryTradeOrderDetail:
  4458. get:
  4459. parameters:
  4460. - description: 资金账户 - 格式:1,2,3
  4461. in: query
  4462. name: accountID
  4463. required: true
  4464. type: string
  4465. - description: 交易模式 - 格式:1,2,3
  4466. in: query
  4467. name: tradeMode
  4468. type: string
  4469. - description: 委托状态 - 格式:1,2,3
  4470. in: query
  4471. name: orderStatus
  4472. type: string
  4473. - description: 委托单号
  4474. in: query
  4475. name: orderID
  4476. type: integer
  4477. produces:
  4478. - application/json
  4479. responses:
  4480. "200":
  4481. description: OK
  4482. schema:
  4483. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  4484. "500":
  4485. description: Internal Server Error
  4486. schema:
  4487. $ref: '#/definitions/app.Response'
  4488. security:
  4489. - ApiKeyAuth: []
  4490. summary: 委托单查询请求(合约市场)
  4491. tags:
  4492. - 通用单据
  4493. /Order/QueryTradePosition:
  4494. get:
  4495. parameters:
  4496. - description: 资金账户 - 格式:1,2,3
  4497. in: query
  4498. name: accountID
  4499. required: true
  4500. type: string
  4501. - description: 交易模式 - 格式:1,2,3
  4502. in: query
  4503. name: tradeMode
  4504. type: string
  4505. produces:
  4506. - application/json
  4507. responses:
  4508. "200":
  4509. description: OK
  4510. schema:
  4511. $ref: '#/definitions/order.QueryTradePositionRsp'
  4512. "500":
  4513. description: Internal Server Error
  4514. schema:
  4515. $ref: '#/definitions/app.Response'
  4516. security:
  4517. - ApiKeyAuth: []
  4518. summary: 持仓汇总查询(合约市场)
  4519. tags:
  4520. - 通用单据
  4521. /Quote/QueryHistoryDatas:
  4522. get:
  4523. parameters:
  4524. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  4525. 日线 10: Tik'
  4526. in: query
  4527. name: cycleType
  4528. required: true
  4529. type: integer
  4530. - description: 商品代码
  4531. in: query
  4532. name: goodsCode
  4533. required: true
  4534. type: string
  4535. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  4536. in: query
  4537. name: startTime
  4538. type: string
  4539. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  4540. in: query
  4541. name: endTime
  4542. type: string
  4543. - description: 条数
  4544. in: query
  4545. name: count
  4546. type: integer
  4547. - description: 是否按时间顺序排序(默认为时间倒序排序)
  4548. in: query
  4549. name: isAsc
  4550. type: boolean
  4551. produces:
  4552. - application/json
  4553. responses:
  4554. "200":
  4555. description: OK
  4556. schema:
  4557. $ref: '#/definitions/quote.HistoryData'
  4558. "500":
  4559. description: Internal Server Error
  4560. schema:
  4561. $ref: '#/definitions/app.Response'
  4562. security:
  4563. - ApiKeyAuth: []
  4564. summary: 查询行情历史数据
  4565. tags:
  4566. - 行情服务
  4567. /Quote/QueryTSData:
  4568. get:
  4569. parameters:
  4570. - description: 商品代码
  4571. in: query
  4572. name: GoodsCode
  4573. required: true
  4574. type: string
  4575. produces:
  4576. - application/json
  4577. responses:
  4578. "200":
  4579. description: OK
  4580. schema:
  4581. $ref: '#/definitions/quote.QueryTSDataRsp'
  4582. "500":
  4583. description: Internal Server Error
  4584. schema:
  4585. $ref: '#/definitions/app.Response'
  4586. summary: 分时图数据查询
  4587. tags:
  4588. - 行情服务
  4589. /SZDZ/QueryConvertConfig:
  4590. get:
  4591. parameters:
  4592. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  4593. 6:交易转花生米(不设置)
  4594. in: query
  4595. name: convertType
  4596. type: integer
  4597. - description: 外部商品代码[JD\PD]
  4598. in: query
  4599. name: outerGoodsCode
  4600. type: string
  4601. - description: 内部商品ID列表[交易],格式:1,2,3
  4602. in: query
  4603. name: innerGoodsIDs
  4604. type: string
  4605. produces:
  4606. - application/json
  4607. responses:
  4608. "200":
  4609. description: OK
  4610. schema:
  4611. $ref: '#/definitions/models.Szdz3convertconfig'
  4612. "500":
  4613. description: Internal Server Error
  4614. schema:
  4615. $ref: '#/definitions/app.Response'
  4616. security:
  4617. - ApiKeyAuth: []
  4618. summary: 查询交易系统转换设置
  4619. tags:
  4620. - 定制【尚志大宗】
  4621. /SZDZ/QueryConvertLog:
  4622. get:
  4623. parameters:
  4624. - description: 资金账户 - 格式:1,2,3
  4625. in: query
  4626. name: accountID
  4627. required: true
  4628. type: string
  4629. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  4630. in: query
  4631. name: startDate
  4632. type: string
  4633. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  4634. in: query
  4635. name: endDate
  4636. type: string
  4637. produces:
  4638. - application/json
  4639. responses:
  4640. "200":
  4641. description: OK
  4642. schema:
  4643. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  4644. "500":
  4645. description: Internal Server Error
  4646. schema:
  4647. $ref: '#/definitions/app.Response'
  4648. security:
  4649. - ApiKeyAuth: []
  4650. summary: 交易系统转换流水查询
  4651. tags:
  4652. - 定制【尚志大宗】
  4653. /SZDZ/QueryGoodsPickup:
  4654. get:
  4655. parameters:
  4656. - description: 资金账户 - 格式:1,2,3
  4657. in: query
  4658. name: accountID
  4659. required: true
  4660. type: string
  4661. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  4662. in: query
  4663. name: takeOrderStatus
  4664. type: integer
  4665. produces:
  4666. - application/json
  4667. responses:
  4668. "200":
  4669. description: OK
  4670. schema:
  4671. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  4672. "500":
  4673. description: Internal Server Error
  4674. schema:
  4675. $ref: '#/definitions/app.Response'
  4676. security:
  4677. - ApiKeyAuth: []
  4678. summary: 商品提货单查询
  4679. tags:
  4680. - 定制【尚志大宗】
  4681. /SZDZ/QueryRecieptOrder:
  4682. get:
  4683. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  4684. parameters:
  4685. - description: 页码
  4686. in: query
  4687. name: page
  4688. type: integer
  4689. - description: 每页条数
  4690. in: query
  4691. name: pagesize
  4692. type: integer
  4693. - description: 商品ID
  4694. in: query
  4695. name: goodsID
  4696. required: true
  4697. type: integer
  4698. - description: 所属账户名称
  4699. in: query
  4700. name: accountName
  4701. type: string
  4702. - description: 市场ID
  4703. in: query
  4704. name: marketID
  4705. type: integer
  4706. - description: 方向 - 0:买 1:卖
  4707. in: query
  4708. name: buyorsell
  4709. required: true
  4710. type: integer
  4711. produces:
  4712. - application/json
  4713. responses:
  4714. "200":
  4715. description: OK
  4716. schema:
  4717. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  4718. "500":
  4719. description: Internal Server Error
  4720. schema:
  4721. $ref: '#/definitions/app.Response'
  4722. security:
  4723. - ApiKeyAuth: []
  4724. summary: 点选挂牌委托单据查询(摘牌大厅)
  4725. tags:
  4726. - 定制【尚志大宗】
  4727. /SZDZ/QuerySZDZTradePosition:
  4728. get:
  4729. parameters:
  4730. - description: 资金账户
  4731. in: query
  4732. name: accountID
  4733. required: true
  4734. type: integer
  4735. produces:
  4736. - application/json
  4737. responses:
  4738. "200":
  4739. description: OK
  4740. schema:
  4741. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  4742. "500":
  4743. description: Internal Server Error
  4744. schema:
  4745. $ref: '#/definitions/app.Response'
  4746. security:
  4747. - ApiKeyAuth: []
  4748. summary: 持仓汇总查询(尚志大宗)
  4749. tags:
  4750. - 定制【尚志大宗】
  4751. /SZDZ/SearchWhite:
  4752. get:
  4753. parameters:
  4754. - description: 用户ID
  4755. in: query
  4756. name: userID
  4757. required: true
  4758. type: integer
  4759. produces:
  4760. - application/json
  4761. responses:
  4762. "200":
  4763. description: OK
  4764. schema:
  4765. $ref: '#/definitions/models.Szdz3searchwhitelist'
  4766. "500":
  4767. description: Internal Server Error
  4768. schema:
  4769. $ref: '#/definitions/app.Response'
  4770. security:
  4771. - ApiKeyAuth: []
  4772. summary: 搜索白名单
  4773. tags:
  4774. - 定制【尚志大宗】
  4775. /TaAccount/QueryAmountLog:
  4776. get:
  4777. parameters:
  4778. - description: 页码
  4779. in: query
  4780. name: page
  4781. type: integer
  4782. - description: 每页条数
  4783. in: query
  4784. name: pagesize
  4785. type: integer
  4786. - description: 资金账户 - 格式:1,2,3
  4787. in: query
  4788. name: accountID
  4789. required: true
  4790. type: string
  4791. - description: 资金操作类型 - 格式:1,2,3
  4792. in: query
  4793. name: OperateType
  4794. type: string
  4795. produces:
  4796. - application/json
  4797. responses:
  4798. "200":
  4799. description: OK
  4800. schema:
  4801. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  4802. "500":
  4803. description: Internal Server Error
  4804. schema:
  4805. $ref: '#/definitions/app.Response'
  4806. security:
  4807. - ApiKeyAuth: []
  4808. summary: 资金流水查询(当前)
  4809. tags:
  4810. - 资金账户
  4811. /TaAccount/QueryHisAmountLog:
  4812. get:
  4813. parameters:
  4814. - description: 页码
  4815. in: query
  4816. name: page
  4817. type: integer
  4818. - description: 每页条数
  4819. in: query
  4820. name: pagesize
  4821. type: integer
  4822. - description: 资金账户 - 格式:1,2,3
  4823. in: query
  4824. name: accountID
  4825. required: true
  4826. type: string
  4827. - description: 资金操作类型 - 格式:1,2,3
  4828. in: query
  4829. name: OperateType
  4830. type: string
  4831. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  4832. in: query
  4833. name: startDate
  4834. type: string
  4835. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  4836. in: query
  4837. name: endDate
  4838. type: string
  4839. produces:
  4840. - application/json
  4841. responses:
  4842. "200":
  4843. description: OK
  4844. schema:
  4845. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  4846. "500":
  4847. description: Internal Server Error
  4848. schema:
  4849. $ref: '#/definitions/app.Response'
  4850. security:
  4851. - ApiKeyAuth: []
  4852. summary: 资金流水查询(历史)
  4853. tags:
  4854. - 资金账户
  4855. /User/AddMessageBoard:
  4856. post:
  4857. parameters:
  4858. - description: 用户ID
  4859. in: query
  4860. name: userID
  4861. required: true
  4862. type: integer
  4863. - description: 留言信息
  4864. in: query
  4865. name: message
  4866. required: true
  4867. type: string
  4868. produces:
  4869. - application/json
  4870. responses:
  4871. "200":
  4872. description: OK
  4873. schema:
  4874. $ref: '#/definitions/app.Response'
  4875. "500":
  4876. description: Internal Server Error
  4877. schema:
  4878. $ref: '#/definitions/app.Response'
  4879. security:
  4880. - ApiKeyAuth: []
  4881. summary: 添加用户留言板信息
  4882. tags:
  4883. - 用户信息
  4884. /User/AddUserFavoriteGoods:
  4885. post:
  4886. parameters:
  4887. - description: 用户ID
  4888. in: query
  4889. name: userID
  4890. required: true
  4891. type: integer
  4892. - description: 商品ID
  4893. in: query
  4894. name: goodsID
  4895. required: true
  4896. type: integer
  4897. produces:
  4898. - application/json
  4899. responses:
  4900. "200":
  4901. description: OK
  4902. schema:
  4903. $ref: '#/definitions/app.Response'
  4904. "500":
  4905. description: Internal Server Error
  4906. schema:
  4907. $ref: '#/definitions/app.Response'
  4908. security:
  4909. - ApiKeyAuth: []
  4910. summary: 添加用户商品收藏信息
  4911. tags:
  4912. - 用户信息
  4913. /User/GetLoginID:
  4914. get:
  4915. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  4916. parameters:
  4917. - description: 登录代码
  4918. in: query
  4919. name: username
  4920. required: true
  4921. type: string
  4922. produces:
  4923. - application/json
  4924. responses:
  4925. "200":
  4926. description: OK
  4927. schema:
  4928. $ref: '#/definitions/app.Response'
  4929. "500":
  4930. description: Internal Server Error
  4931. schema:
  4932. $ref: '#/definitions/app.Response'
  4933. summary: 获取登录ID
  4934. tags:
  4935. - 用户信息
  4936. /User/GetUserAuthStatus:
  4937. get:
  4938. parameters:
  4939. - description: 用户ID
  4940. in: query
  4941. name: userID
  4942. required: true
  4943. type: integer
  4944. produces:
  4945. - application/json
  4946. responses:
  4947. "200":
  4948. description: OK
  4949. schema:
  4950. $ref: '#/definitions/app.Response'
  4951. "500":
  4952. description: Internal Server Error
  4953. schema:
  4954. $ref: '#/definitions/app.Response'
  4955. security:
  4956. - ApiKeyAuth: []
  4957. summary: 获取用户实名认证状态
  4958. tags:
  4959. - 用户信息
  4960. /User/QueryMessageBoard:
  4961. get:
  4962. parameters:
  4963. - description: 用户ID
  4964. in: query
  4965. name: userID
  4966. required: true
  4967. type: integer
  4968. produces:
  4969. - application/json
  4970. responses:
  4971. "200":
  4972. description: OK
  4973. schema:
  4974. $ref: '#/definitions/models.Messageboard'
  4975. "500":
  4976. description: Internal Server Error
  4977. schema:
  4978. $ref: '#/definitions/app.Response'
  4979. security:
  4980. - ApiKeyAuth: []
  4981. summary: 获取用户留言板信息
  4982. tags:
  4983. - 用户信息
  4984. /User/QueryUserFavoriteGoodses:
  4985. get:
  4986. parameters:
  4987. - description: 用户ID
  4988. in: query
  4989. name: userID
  4990. required: true
  4991. type: integer
  4992. produces:
  4993. - application/json
  4994. responses:
  4995. "200":
  4996. description: OK
  4997. schema:
  4998. $ref: '#/definitions/models.Userfavoritegoods'
  4999. "500":
  5000. description: Internal Server Error
  5001. schema:
  5002. $ref: '#/definitions/app.Response'
  5003. security:
  5004. - ApiKeyAuth: []
  5005. summary: 获取用户商品收藏信息
  5006. tags:
  5007. - 用户信息
  5008. /User/QueryUserInfo:
  5009. get:
  5010. parameters:
  5011. - description: 用户ID
  5012. in: query
  5013. name: userID
  5014. required: true
  5015. type: integer
  5016. produces:
  5017. - application/json
  5018. responses:
  5019. "200":
  5020. description: OK
  5021. schema:
  5022. $ref: '#/definitions/models.Userinfo'
  5023. "500":
  5024. description: Internal Server Error
  5025. schema:
  5026. $ref: '#/definitions/app.Response'
  5027. security:
  5028. - ApiKeyAuth: []
  5029. summary: 获取用户信息
  5030. tags:
  5031. - 用户信息
  5032. /User/QueryUserReferNum:
  5033. get:
  5034. parameters:
  5035. - description: 用户ID
  5036. in: query
  5037. name: userID
  5038. required: true
  5039. type: integer
  5040. produces:
  5041. - application/json
  5042. responses:
  5043. "200":
  5044. description: OK
  5045. schema:
  5046. $ref: '#/definitions/app.Response'
  5047. "500":
  5048. description: Internal Server Error
  5049. schema:
  5050. $ref: '#/definitions/app.Response'
  5051. summary: 获取用户邀请码
  5052. tags:
  5053. - 用户信息
  5054. /User/RemoveUserFavoriteGoods:
  5055. post:
  5056. parameters:
  5057. - description: 用户ID
  5058. in: query
  5059. name: userID
  5060. required: true
  5061. type: integer
  5062. - description: 商品ID
  5063. in: query
  5064. name: goodsID
  5065. required: true
  5066. type: integer
  5067. produces:
  5068. - application/json
  5069. responses:
  5070. "200":
  5071. description: OK
  5072. schema:
  5073. $ref: '#/definitions/app.Response'
  5074. "500":
  5075. description: Internal Server Error
  5076. schema:
  5077. $ref: '#/definitions/app.Response'
  5078. security:
  5079. - ApiKeyAuth: []
  5080. summary: 移除用户商品收藏信息
  5081. tags:
  5082. - 用户信息
  5083. /WRTrade/GetAllDeliveryGoods:
  5084. get:
  5085. produces:
  5086. - application/json
  5087. responses:
  5088. "200":
  5089. description: OK
  5090. schema:
  5091. $ref: '#/definitions/app.Response'
  5092. "500":
  5093. description: Internal Server Error
  5094. schema:
  5095. $ref: '#/definitions/app.Response'
  5096. security:
  5097. - ApiKeyAuth: []
  5098. summary: 获取带仓单分类的种类信息
  5099. tags:
  5100. - 仓单贸易
  5101. securityDefinitions:
  5102. ApiKeyAuth:
  5103. in: header
  5104. name: Authorization
  5105. type: apiKey
  5106. swagger: "2.0"