swagger.json 200 KB

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