swagger.yaml 103 KB

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