docs.go 188 KB

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