docs.go 205 KB

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