swagger.json 258 KB

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