docs.go 252 KB

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