docs.go 212 KB

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