swagger.yaml 101 KB

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