docs.go 235 KB

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