docs.go 225 KB

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