docs.go 212 KB

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