swagger.json 204 KB

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