swagger.yaml 161 KB

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