docs.go 259 KB

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