docs.go 230 KB

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