docs.go 189 KB

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