swagger.yaml 131 KB

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