docs.go 202 KB

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