docs.go 216 KB

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