| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058 |
- basePath: /api
- definitions:
- app.Response:
- properties:
- code:
- type: integer
- data:
- type: object
- msg:
- type: string
- page:
- description: 页码
- type: integer
- pagesize:
- description: 每页条数
- type: integer
- total:
- description: 总条数
- type: integer
- type: object
- common.QueryNoticeRsp:
- properties:
- auditoruserid:
- description: 审核人
- type: integer
- auditremark:
- description: 审核备注
- type: string
- audittime:
- description: 审核日期
- type: string
- autoid:
- description: 自增ID
- type: integer
- content:
- description: 内容
- type: string
- createtime:
- description: 创建时间
- type: string
- creatorid:
- description: 建仓人
- type: integer
- endtime:
- description: 结束时间
- type: string
- istop:
- description: 是否置顶 - 0:不置顶 1:置顶
- type: integer
- msgiconurl:
- description: 消息图标Url
- type: string
- msgtype:
- description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
- type: integer
- publisher:
- description: 消息发布者
- type: string
- readed:
- description: 是否已读
- type: boolean
- scheduletime:
- description: 计划发送时间
- type: string
- sendtype:
- description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
- type: integer
- sentstatus:
- description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
- type: integer
- title:
- description: 标题
- type: string
- userid:
- description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
- type: integer
- required:
- - autoid
- type: object
- common.QueryProvincesAndCitiesRsp:
- properties:
- cities:
- description: 市
- items:
- $ref: '#/definitions/models.Division'
- type: array
- province:
- $ref: '#/definitions/models.Division'
- description: 省
- type: object
- common.QueryTableDefineRsp:
- properties:
- columns:
- description: 列头信息数组
- items:
- $ref: '#/definitions/models.Tablecolumnconfig'
- type: array
- remark:
- description: Remark
- type: string
- tabelmenu:
- description: 列表菜单
- type: string
- tablekey:
- description: 列表Key
- type: string
- tablename:
- description: 列表名称
- type: string
- tabletype:
- description: 列表类型 - 1:管理端 2:终端
- type: integer
- required:
- - tablekey
- type: object
- common.QueryTraderMenuRsp:
- properties:
- OperationMenu:
- description: 功能菜单
- items:
- $ref: '#/definitions/models.OperationPrimaryMenu'
- type: array
- QuoteMenu:
- description: 报价牌分类菜单
- items:
- $ref: '#/definitions/models.QuotePrimaryMenu'
- type: array
- type: object
- cptrade.Cptradepositioncancel:
- properties:
- accountid:
- description: 申请人账户ID
- type: integer
- applystatus:
- description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
- type: integer
- applytime:
- description: 申请时间
- type: string
- cancelid:
- description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
- type: integer
- cancelqty:
- description: 注销数量
- type: integer
- createtime:
- description: 创建时间
- type: string
- creatorid:
- description: 创建人ID
- type: integer
- creatorname:
- description: 创建人
- type: string
- goodscode:
- description: 订单商品代码
- type: string
- goodsid:
- description: 商品ID
- type: integer
- goodsname:
- description: 订单商品名称
- type: string
- goodunit:
- description: 报价单位
- type: string
- handlestatus:
- description: 处理状态
- type: integer
- marketid:
- description: 市场ID
- type: integer
- marketname:
- description: 市场名称
- type: string
- tradedate:
- description: 交易日(yyyyMMdd)
- type: string
- userid:
- description: 申请人ID
- type: integer
- required:
- - cancelid
- type: object
- cptrade.Cptradepresaleapply:
- properties:
- accountid:
- description: 申请人账户ID
- type: integer
- applyid:
- description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
- type: integer
- applyremark:
- description: 申请备注
- type: string
- applystatus:
- description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
- type: integer
- applytime:
- description: 申请时间
- type: string
- attachmenturl:
- description: 附件地址
- type: string
- endtime:
- description: 预售结束时间
- type: string
- goodscode:
- description: 商品代码
- type: string
- goodsid:
- description: 商品ID
- type: integer
- goodsname:
- description: 商品名称
- type: string
- goodunit:
- description: 报价单位
- type: string
- handlestatus:
- description: 处理状态
- type: integer
- marketid:
- description: 预售市场ID
- type: integer
- marketname:
- description: 预售市场名称
- type: string
- presaleqty:
- description: 预售数量
- type: integer
- relatedgoodscode:
- description: 关联交易合约代码
- type: string
- relatedgoodsid:
- description: 关联交易合约ID
- type: integer
- relatedgoodsname:
- description: 关联交易合约名称
- type: string
- starttime:
- description: 预售开始时间
- type: string
- tradedate:
- description: 交易日(yyyyMMdd)
- type: string
- trademode:
- description: 交易模式 - 16:挂牌点选 21:大宗竞拍
- type: integer
- userid:
- description: 申请人ID
- type: integer
- required:
- - applyid
- type: object
- cptrade.Cptradeusergoodsdata:
- properties:
- EnabledQty:
- description: 可用量
- type: integer
- GoodsCode:
- description: 订单商品代码
- type: string
- GoodsName:
- description: 订单商品名称
- type: string
- WRStandardCode:
- description: 仓单标准代码
- type: string
- WRStandardName:
- description: 仓单标准名称
- type: string
- accountid:
- description: 账户ID
- type: integer
- cancelqty:
- description: 注销量
- type: integer
- curpresaleqty:
- description: 当前预售量
- type: integer
- deliveryqty:
- description: 交割量
- type: integer
- freezeamount:
- description: 冻结金额
- type: number
- goodsid:
- description: 商品ID
- type: integer
- goodunit:
- description: 报价单位
- type: string
- hasspotfreeze:
- description: 是否有现货冻结 - 0:否 1:有
- type: integer
- inqty:
- description: 转入量(总数量)
- type: integer
- marketid:
- description: 市场ID
- type: integer
- presaledamount:
- description: 已预售总金额
- type: integer
- presaledqty:
- description: 已预售量
- type: integer
- userid:
- description: 用户ID
- type: integer
- wrstandardid:
- description: 仓单标准ID
- type: integer
- required:
- - accountid
- - goodsid
- type: object
- cptrade.QueryCPTradeMyBidRsp:
- properties:
- accountid:
- description: 账户ID[报价币种]
- type: integer
- goodsid:
- description: 商品ID
- type: integer
- goodunit:
- description: 报价单位
- type: string
- marketid:
- description: 市场ID
- type: integer
- orderid:
- description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
- type: integer
- orderprice:
- description: 委托价格
- type: number
- orderqty:
- description: 委托数量
- type: integer
- ordertime:
- description: 委托时间
- type: string
- ordertotalprice:
- description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
- type: number
- ordertotalweight:
- description: 竞拍总重量(委托总重量=委托数量*合约单位)
- type: integer
- totaltotalprice:
- description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
- type: number
- tradeprice:
- description: 成交价格
- type: number
- tradeqty:
- description: 成交数量
- type: integer
- required:
- - accountid
- - goodsid
- - marketid
- - orderid
- - orderqty
- - ordertime
- - tradeprice
- - tradeqty
- type: object
- cptrade.QueryCPTradeOrderDetailRsq:
- properties:
- accountid:
- description: 账户ID[报价币种]
- type: integer
- buildtype:
- description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
- type: integer
- buyorsell:
- description: 买卖 - 0:买 1:卖
- type: integer
- cancelorderid:
- description: 撤单单号(撤单时填写)
- type: integer
- cancelqty:
- description: 撤单数量
- type: integer
- clientordertime:
- description: 客户端委托时间
- type: string
- clientticket:
- description: 客户端流水号
- type: string
- clienttype:
- description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
- 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
- type: integer
- closeexchagechargevalue:
- description: 平仓交易所手续费设置值
- type: number
- closefeealgorithm:
- description: 平仓手续费收取方式 1:比率 2:固定
- type: integer
- closefreezecharge:
- description: 平仓冻结手续费(先建后平操作,需要记录)
- type: number
- closememberchargevalue:
- description: 平仓会员手续费设置值
- type: number
- closeqty:
- description: 平仓数量(先建后平操作 需要记录)
- type: integer
- closetradeqty:
- description: 平仓成交数量(先建后平操作,需要记录)
- type: integer
- closeunfreezecharge:
- description: 平仓解冻手续费(先建后平操作,需要记录)
- type: number
- delistingtype:
- description: 摘牌类型 - 1:价格最优 2:点选成交
- type: integer
- freezecharge:
- description: 冻结手续费
- type: number
- freezemargin:
- description: 冻结保证金(冻结交易金额)
- type: number
- gcaccountid:
- description: 账户ID[合约币种]
- type: integer
- goodsid:
- description: 商品ID
- type: integer
- isconfirmexercise:
- description: 是否确认行权- 0:否 1:是
- type: integer
- ispreexercise:
- description: 是否预申报- 0:否 1:是
- type: integer
- listingselecttype:
- description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
- type: integer
- marginalgorithm:
- description: 保证金收取方式 1:比率 2:固定
- type: integer
- marginvalue:
- description: 即市保证金设置值
- type: number
- marketid:
- description: 市场ID
- type: integer
- marketmaxsub:
- description: 市价最大偏移范围
- type: number
- memberuserid:
- description: 所属会员UserID
- type: integer
- openexchagechargevalue:
- description: 建仓交易所手续费设置值
- type: number
- openfeealgorithm:
- description: 建仓手续费收取方式 1:比率 2:固定
- type: integer
- openfreezecharge:
- description: 开仓冻结手续费(先建后平操作,需要记录)
- type: number
- openmemberchargevalue:
- description: 建仓会员手续费设置值
- type: number
- openqty:
- description: 开仓数量(先建后平操作,需要记录)
- type: integer
- opentradeqty:
- description: 开仓成交数量(先建后平操作,需要记录)
- type: integer
- openunfreezecharge:
- description: 开仓解冻手续费(先建后平操作,需要记录)
- type: number
- operatetype:
- description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
- 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
- 15:管理端协议转让
- type: integer
- operatorid:
- description: 登录账号(LoginID)
- type: integer
- optiontype:
- description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
- type: integer
- orderprice:
- description: 委托价格
- type: number
- orderqty:
- description: 委托数量
- type: integer
- ordersrc:
- description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
- 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
- type: integer
- orderstatus:
- description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
- 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
- 16:成交失败违约(荷兰式竞拍专用)
- type: integer
- ordertime:
- description: 委托时间
- type: string
- preexerciseprice:
- description: 预申报价格
- type: number
- premium:
- description: 权利金
- type: number
- preorderid:
- description: 关联预埋单号(止盈止损单时填写)
- type: integer
- pricemode:
- description: '取价方式 - 1:市价 2: 限价'
- type: integer
- quoteid:
- description: 报价单ID
- type: integer
- relatedid:
- description: 关联单号(交割单)
- type: integer
- retcode:
- description: 错误代码
- type: integer
- sessionid:
- description: 会话ID
- type: integer
- strorderid:
- description: 委托单号
- type: string
- tradedate:
- description: 交易日(yyyyMMdd)
- type: string
- tradeproperty:
- description: 交易属性
- type: integer
- tradeqty:
- description: 成交数量
- type: integer
- unfreezecharge:
- description: 解冻手续费
- type: number
- unfreezemargin:
- description: 解冻保证金
- type: number
- updatetime:
- description: 更新时间
- type: string
- uuid:
- description: 发起端唯一id
- type: string
- validtime:
- description: 有效期限
- type: string
- validtype:
- description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
- type: integer
- volumetype:
- description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
- type: integer
- required:
- - accountid
- - buildtype
- - buyorsell
- - goodsid
- - marketid
- - memberuserid
- - operatetype
- - orderqty
- - ordertime
- - pricemode
- - strorderid
- - tradedate
- - validtype
- type: object
- cptrade.QueryMyCPTradeGoodsRsp:
- properties:
- accountid:
- description: 卖方账户ID
- type: integer
- agreeunit:
- description: 合约单位
- type: number
- applyid:
- description: 关联申请ID
- type: integer
- attachmenturl:
- description: 附件地址
- type: string
- createtime:
- description: 创建时间
- type: string
- currencyid:
- description: 报价货币ID
- type: integer
- decimalplace:
- description: 报价小数位
- type: integer
- endtime:
- description: 预售结束时间
- type: string
- floorprice:
- description: 底价[大宗式竞拍]
- type: number
- goodscode:
- description: 商品代码(预售)
- type: string
- goodsdetail:
- description: 详情[大宗]
- type: string
- goodsid:
- description: 商品ID(自增ID SEQ_GOODS)
- type: integer
- goodsname:
- description: 商品名称(预售)
- type: string
- goodunit:
- description: 报价单位
- type: string
- goodunitid:
- description: 报价单位ID
- type: integer
- marketid:
- description: 所属市场ID
- type: integer
- marketname:
- description: 预售市场名称
- type: string
- presaledamount:
- description: 已预售总金额(预售结束时更新)
- type: number
- presaledqty:
- description: 已预售量(预售结束时更新)
- type: integer
- presalemode:
- description: 预售模式 - 1:一口价 2:大宗式竞拍
- type: integer
- presaleqty:
- description: 预售数量
- type: integer
- refprice:
- description: 参考价格[一口价]
- type: number
- relatedgoodscode:
- description: 商品代码(订单)
- type: string
- relatedgoodsid:
- description: 关联交易合约ID
- type: integer
- relatedgoodsname:
- description: 商品名称(订单)
- type: string
- relatedmarketid:
- description: 关联交易合约市场ID
- type: integer
- sellstatus:
- description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
- type: integer
- startprice:
- description: 起拍价[大宗式竞拍]
- type: number
- starttime:
- description: 预售开始时间
- type: string
- tradedate:
- description: 交易日(yyyyMMdd)
- type: string
- tradeprice:
- description: 成交价[大宗]
- type: number
- userid:
- description: 卖方用户ID
- type: integer
- required:
- - goodscode
- - goodsid
- - goodsname
- - marketid
- - relatedgoodscode
- - relatedgoodsname
- type: object
- cptrade.QueryPresaleGoodsExRsp:
- properties:
- attachmenturl:
- description: 附件地址
- type: string
- createtime:
- description: 创建时间
- type: string
- endtime:
- description: 预售结束时间
- type: string
- floorprice:
- description: 底价[大宗式竞拍]
- type: number
- goodsdetail:
- description: 详情[大宗]
- type: string
- goodsid:
- description: 商品ID(预售)
- type: integer
- goodunit:
- description: 报价单位
- type: string
- marketid:
- description: 预售市场ID - 根据预售模式选择市场
- type: integer
- presaledamount:
- description: 已预售总金额(预售结束时更新)
- type: number
- presaledqty:
- description: 已预售量(预售结束时更新)
- type: integer
- presalemode:
- description: 预售模式 - 1:一口价 2:大宗式竞拍
- type: integer
- presaleqty:
- description: 预售数量
- type: integer
- refprice:
- description: 参考价格[一口价]
- type: number
- relatedgoodsid:
- description: 关联交易合约ID
- type: integer
- relatedmarketid:
- description: 关联交易合约市场ID
- type: integer
- sellstatus:
- description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
- type: integer
- startprice:
- description: 起拍价[大宗式竞拍]
- type: number
- starttime:
- description: 预售开始时间
- type: string
- tradedate:
- description: 交易日(yyyyMMdd)
- type: string
- tradeprice:
- description: 成交价[大宗]
- type: number
- required:
- - goodsid
- type: object
- delivery.QueryDeliveryRelationRsp:
- properties:
- begindate:
- description: 起始日期(yyyyMMdd)
- type: string
- buytemplateid:
- description: 买履约计划模板ID
- type: integer
- deliverygoodscode:
- description: 品种代码
- type: string
- deliverygoodsid:
- description: 交割商品
- type: integer
- deliverygoodsname:
- description: 品种名称
- type: string
- deliverymode:
- description: 交割方式 - 1:点选式 2:申报式
- type: integer
- deliverypricerule:
- description: 交割价规则- 1:行情价 2:建仓价
- type: integer
- deliverytype:
- description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
- type: integer
- enddate:
- description: 结束日期(yyyyMMdd)
- type: string
- goodscode:
- description: 商品代码
- type: string
- goodsid:
- description: 交易合约ID
- type: integer
- goodsname:
- description: 商品名称
- type: string
- marketid:
- description: 市场ID
- type: integer
- mindeliveryqty:
- description: 最小交割系数(K)
- type: integer
- p2deliveryprice:
- description: P2合约价格(商品价时填写0,固定值时填写固定值)
- type: number
- p2deliveryratio:
- description: P2合约系数(p)
- type: integer
- p2goodsid:
- description: P2合约ID
- type: integer
- p2pricemode:
- description: P2合约价格方式 - 1:商品价 2:固定值
- type: integer
- pdeliveryprice:
- description: P合约价格(商品价时填写0,固定值时填写固定值)
- type: number
- pdeliveryratio:
- description: P合约系数(n)
- type: integer
- pgoodsid:
- description: P合约ID
- type: integer
- ppricemode:
- description: P合约价格方式 - 1:商品价 2:固定值
- type: integer
- rratio:
- description: 兑换系数(R)
- type: integer
- rratio1:
- description: 兑换系数(交易合约)(R1)
- type: integer
- rratio2:
- description: 兑换系数(仓单标准)(R2)
- type: integer
- selltemplateid:
- description: 卖履约计划模板ID
- type: integer
- wrstandardid:
- description: 仓单标准ID
- type: integer
- xdeliveryratio:
- description: 交易合约系数(m)
- type: integer
- required:
- - begindate
- - enddate
- - goodsid
- - mindeliveryqty
- - xdeliveryratio
- type: object
- erms2.QueryArbitrageStrategyRsp:
- properties:
- applybasis:
- description: 申请基差
- type: number
- asapplyid:
- description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
- type: string
- asname:
- description: 策略名称
- type: string
- asno:
- description: 策略编号
- type: string
- basischangepl:
- description: 基差变动损益[结算更新]
- type: number
- biztype:
- description: 业务类型 - 1:正向套利 -1:反向套利
- type: integer
- closetradedate:
- description: 完结交易日(yyyyMMdd)
- type: string
- curbasis:
- description: 当前基差[结算更新]
- type: number
- deliverygoodsid:
- description: 现货品种ID
- type: integer
- futureavgprice:
- description: 期货建仓均价
- type: number
- futurecloseamount:
- description: 期货平仓金额
- type: number
- futurecloseqty:
- description: 期货平仓数量
- type: number
- futureopenamount:
- description: 期货开仓金额
- type: number
- futureopenqty:
- description: 期货开仓数量
- type: number
- futurepl:
- description: 期货总盈亏[结算更新]
- type: number
- futureqty:
- description: 期货持仓数量
- type: number
- futurequote:
- description: 期货额度
- type: number
- goodsgroupid:
- description: 期货品种ID
- type: integer
- marketid:
- description: 市场ID
- type: integer
- netexposure:
- description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
- type: number
- netexposurepl:
- description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
- type: number
- netexposurerate:
- description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
- type: number
- openbasis:
- description: 建仓基差
- type: number
- pricedspotqty:
- description: 已定价现货数量
- type: number
- pricedspotqtynotax:
- description: 已定价现货不含税数量
- type: number
- remark:
- description: 备注
- type: string
- spotavgprice:
- description: 现货均价
- type: number
- spotbuyamount:
- description: 现货采购金额
- type: number
- spotbuyqty:
- description: 现货采购数量
- type: number
- spotpl:
- description: 现货总盈亏[结算更新]
- type: number
- spotquota:
- description: 现货额度
- type: number
- spotsellamount:
- description: 现货销售金额
- type: number
- spotsellqty:
- description: 现货销售数量
- type: number
- spotusedquota:
- description: 现货占用资金
- type: number
- strategystatus:
- description: 策略状态 - 0:未结束 1:已结束
- type: integer
- totalpl:
- description: 业务合计损益 = FuturePL + SpotPL [结算更新]
- type: number
- tradedate:
- description: 交易日(yyyyMMdd)
- type: string
- updatetime:
- description: 更新时间
- type: string
- usedquota:
- description: 已占用资金
- type: number
- userid:
- description: 所属机构
- type: integer
- required:
- - asapplyid
- type: object
- erms2.QueryInnerTradeDetailRsp:
- properties:
- accountid:
- description: 账号ID
- type: integer
- agreeunit:
- description: 合约单位
- type: number
- asapplyid:
- description: 策略申请ID
- type: integer
- asname:
- description: 策略名称
- type: string
- asno:
- description: 策略编号
- type: string
- buyorsell:
- description: 方向 - 0:买 1:卖
- type: integer
- channelbuildtype:
- description: 委托单据类型 0:无 1:建仓 2:平仓
- type: integer
- closetype:
- description: 平仓方式 - 0:无 1:平今 2:平昨
- type: integer
- decimalplace:
- description: 报价小数位
- type: integer
- detailtype:
- description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
- type: integer
- exexchangecode:
- description: 外部交易所代码
- type: string
- exexchangename:
- description: 外部交易所名称
- type: string
- goodscode:
- description: 商品代码(合约)
- type: string
- goodsgroupid:
- description: 商品组ID(品种ID)
- type: integer
- goodsgroupname:
- description: 商品组名称(品种)
- type: string
- goodsid:
- description: 商品ID
- type: integer
- goodsname:
- description: 商品名称(合约)
- type: string
- goodunit:
- description: 报价单位
- type: string
- marketid:
- description: 市场ID
- type: integer
- orderid:
- description: 委托单号
- type: string
- outgoodscode:
- description: 商品代码(外部)
- type: string
- relatedouttradeid:
- description: 关联外部成交单ID
- type: string
- remark:
- description: 备注
- type: string
- spotcontractid:
- description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
- type: integer
- spotcontractno:
- description: 现货合同编号
- type: string
- tradeid:
- description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
- type: string
- tradeprice:
- description: 成交价格
- type: number
- tradeqty:
- description: 成交数量
- type: integer
- tradetime:
- description: 成交时间
- type: string
- updatetime:
- description: 更新时间
- type: string
- required:
- - asapplyid
- - buyorsell
- - goodscode
- - goodsgroupid
- - goodsgroupname
- - goodsname
- - tradeid
- type: object
- erms2.QuerySpotContractRsp:
- properties:
- accountid:
- description: 资金账户ID
- type: integer
- areauserid:
- description: 所属机构
- type: integer
- closedate:
- description: 终止日期
- type: string
- closeremark:
- description: 结束备注
- type: string
- closetradedate:
- description: 完结交易日(yyyyMMdd)
- type: string
- closetype:
- description: 终止类型 - 1:违约 2:提前终止
- type: integer
- contractamount:
- description: 合同金额
- type: number
- contractattachment:
- description: 合同附件
- type: string
- contractno:
- description: 现货合同编号
- type: string
- contractqty:
- description: 合同数量(数值) (用于计算)
- type: number
- contractqtychar:
- description: 合同数量\已订价数量 (用于显示)
- type: string
- contractstatus:
- description: 合同状态 - 0:未结束 1:已结束
- type: integer
- contracttype:
- description: 现货合同类型 - 1:采购合同 -1:销售合同
- type: integer
- customeraccountid:
- description: 客户资金账户ID
- type: integer
- customeruserid:
- description: 客户ID
- type: integer
- deliverygoodsdesc:
- description: 品种说明
- type: string
- deliverygoodsid:
- description: 现货品种ID
- type: integer
- handlestatus:
- description: 处理状态
- type: integer
- invoiceatt:
- description: 发票附件
- type: string
- invoicedatetime:
- description: 开收票更新时间
- type: string
- invoiceopentime:
- description: 开票时间
- type: string
- invoiceremark:
- description: 发票备注
- type: string
- invoicestatus:
- description: 开收票状态 - 0:未开票 1:已开票
- type: integer
- lastdate:
- description: 交货时间
- type: string
- marketid:
- description: 市场ID
- type: integer
- paydatetime:
- description: 收付款更新时间
- type: string
- payremark:
- description: 收付款备注
- type: string
- paystatus:
- description: 收付款状态 - 0:未支付 1:已收款 2:已付款
- type: integer
- positionqty:
- description: 头寸数量 - 合同数量去小数部分
- type: integer
- producttype:
- description: 产品类型 - 1:标准仓单 2:等标 3:非标
- type: integer
- relatedqty:
- description: 已关联数量
- type: number
- relatedstatus:
- description: 关联完结状态 - 0:未结束 1:已结束
- type: integer
- remark:
- description: 备注
- type: string
- signdate:
- description: 签订日期
- type: string
- spotcontractid:
- description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
- type: string
- spotdatetime:
- description: 收发货更新时间
- type: string
- spotprice:
- description: 价格
- type: number
- spotremark:
- description: 收发货备注
- type: string
- spotstatus:
- description: 收发货状态 - 0:未交收 1:已发货 2:已发货
- type: integer
- tradedate:
- description: 交易日(yyyyMMdd)
- type: string
- userid:
- description: 业务员用户ID
- type: integer
- warehouseid:
- description: 仓库ID
- type: integer
- wrfactortypeid:
- description: 仓单要素类型ID
- type: integer
- wrstandardid:
- description: 仓单标准ID(SEQ_WRSTANDARD)
- type: integer
- required:
- - spotcontractid
- type: object
- erms3.AddSpotContractApplyReq:
- properties:
- accountid:
- description: 资金账户ID
- type: integer
- areauserid:
- description: 所属机构
- type: integer
- contractattachment:
- description: 合同附件
- type: string
- contractno:
- description: 现货合同编号
- type: string
- contracttype:
- description: 现货合同类型 - 1:采购 -1:销售
- type: integer
- creatorid:
- description: 申请人
- type: integer
- customeraccountid:
- description: 客户资金账户ID
- type: integer
- customeruserid:
- description: 客户ID
- type: integer
- details:
- description: 明细
- items:
- $ref: '#/definitions/erms3.SoptContractDetail'
- type: array
- lastdate:
- description: 交货时间
- type: string
- marketid:
- description: 市场ID
- type: integer
- orimargin:
- description: 初始保证金
- type: number
- orimarginpayer:
- description: 初始保证金支付方 -1:买方 2:卖方
- type: integer
- remark:
- description: 备注
- type: string
- signdate:
- description: 签订日期
- type: string
- required:
- - accountid
- - areauserid
- - contractno
- - contracttype
- - customeraccountid
- - customeruserid
- - details
- - lastdate
- - marketid
- - orimargin
- - orimarginpayer
- - signdate
- type: object
- erms3.AddSpotContractApplyRsp:
- properties:
- contractno:
- description: 现货合同编号
- type: string
- spotcontractid:
- description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
- type: integer
- required:
- - contractno
- type: object
- erms3.CustomerInfo:
- properties:
- accountids:
- description: 资金账户ID列表
- items:
- type: integer
- type: array
- customername:
- description: 名称(企业名称)
- type: string
- mobile:
- description: 手机号码
- type: string
- userid:
- description: 用户ID
- type: integer
- required:
- - userid
- type: object
- erms3.QuerySpotContractAppleFormRsp:
- properties:
- goodses:
- description: 合约列表
- items:
- $ref: '#/definitions/models.GoodsIDAndName'
- type: array
- oppositeusers:
- description: 对方账号列表
- items:
- $ref: '#/definitions/erms3.CustomerInfo'
- type: array
- ouruser:
- $ref: '#/definitions/erms3.CustomerInfo'
- description: 我方账号
- warehouseinfos:
- description: 仓库信息列表
- items:
- $ref: '#/definitions/models.Warehouseinfo'
- type: array
- wrstandards:
- description: 仓单标准列表
- items:
- $ref: '#/definitions/models.WRStandardInfo'
- type: array
- type: object
- erms3.QuerySpotContractInfoRsp:
- properties:
- accountid:
- description: 表示交易员ID.
- type: integer
- curdeliveryqty:
- description: 表示未交收量.
- type: number
- customername:
- description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
- type: string
- deliverygoodsid:
- description: 表示品种ID.
- type: string
- deliveryqty:
- description: 表示交收量.
- type: number
- matchaccountid:
- description: 表示业务员ID.
- type: integer
- matchcustomername:
- description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
- type: string
- priceqty:
- description: 表示定价量.
- type: number
- relatedbizid:
- description: 表示业务ID.
- type: string
- signdate:
- description: 表示签订日期.
- type: string
- spotcontractid:
- description: 合同ID
- type: string
- status:
- description: 表示状态,0-履约中 1-已完成.
- type: integer
- totalqty:
- description: 表示合同量.
- type: number
- unpricedqty:
- description: 表示未定价量.
- type: number
- wrstandardname:
- description: 表示商品ID.
- type: string
- type: object
- erms3.SoptContractDetail:
- properties:
- deliverygoodsdesc:
- description: 现货品种说明
- type: string
- deliverygoodsid:
- description: 现货品种ID
- type: integer
- deliverygoodsname:
- description: 现货品种名称
- type: string
- pointdesc:
- description: 点价描述
- type: string
- producttype:
- description: 产品类型 1:标准仓单 2:等标 3:非标
- type: integer
- producttypename:
- description: 产品类型名称
- type: string
- spotPointOrderVoList:
- description: 点价列表
- items:
- $ref: '#/definitions/erms3.SpotPointOrder'
- type: array
- spotPriceOrderList:
- description: 定价列表
- items:
- $ref: '#/definitions/erms3.SpotPriceOrder'
- type: array
- unitname:
- description: 单位名称
- type: string
- warehouseid:
- description: 仓库ID
- type: integer
- warehousename:
- description: 仓库名称
- type: integer
- wrstandardid:
- description: 交易标的ID
- type: integer
- wrstandardname:
- description: 交易标的名称
- type: string
- required:
- - deliverygoodsid
- - producttype
- - unitname
- - warehouseid
- - wrstandardid
- - wrstandardname
- type: object
- erms3.SpotPointOrder:
- properties:
- basic:
- description: 基差
- type: number
- enddate:
- description: 点价结束日期
- type: string
- goodsid:
- description: 商品ID
- type: integer
- goodsname:
- description: 商品名称
- type: string
- qty:
- description: 数量
- type: number
- startdate:
- description: 点价开始日期
- type: string
- required:
- - basic
- - enddate
- - goodsid
- - qty
- - startdate
- type: object
- erms3.SpotPriceOrder:
- properties:
- amount:
- description: 金额
- type: number
- price:
- description: 价格
- type: number
- qty:
- description: 数量
- type: number
- required:
- - amount
- - price
- - qty
- type: object
- hsby.GetHsbyMyCountRsp:
- properties:
- myOrderDetailListingCount:
- description: 我的订单求购中数量
- type: integer
- myOrderDetailPreCount:
- description: 我的订单抢购中数量
- type: integer
- myPackageUnReceiveCount:
- description: 我的包裹待收货数量
- type: integer
- myPackageUnSendCount:
- description: 我的包裹待发货数量
- type: integer
- type: object
- hsby.QueryProvincesAndCitiesRsp:
- properties:
- cities:
- description: 市
- items:
- $ref: '#/definitions/models.Division'
- type: array
- province:
- $ref: '#/definitions/models.Division'
- description: 省
- type: object
- models.Division:
- properties:
- autoid:
- description: 自增ID
- type: integer
- divisioncode:
- description: 行政代码
- type: string
- divisionlevel:
- description: 行政级别
- type: string
- divisionname:
- description: 行政名称
- type: string
- modifierid:
- description: 修改人
- type: integer
- modifytime:
- description: 修改时间
- type: string
- parentcode:
- description: 上级行政代码
- type: string
- pathname:
- description: 路径名称
- type: string
- postcode:
- description: 邮政编码
- type: string
- separablename:
- description: 可拆分的全称
- type: string
- shortcode:
- description: 地区简码
- type: string
- required:
- - autoid
- - divisioncode
- type: object
- models.GoodsIDAndName:
- properties:
- goodscode:
- description: 商品代码(内部)
- type: string
- goodsid:
- description: 商品ID(自增ID SEQ_GOODS)
- type: integer
- goodsname:
- description: 商品名称
- type: string
- marketid:
- description: 所属市场ID
- type: integer
- required:
- - goodscode
- - goodsid
- - goodsname
- - marketid
- type: object
- models.HsbyBuyMyTradeDetail:
- properties:
- accountid:
- description: 账户ID[报价币种]
- type: integer
- agreeunit:
- description: 合约单位
- type: number
- amount:
- description: 金额 = 价格 * 数量 * 合约单位
- type: number
- buyorsell:
- description: 买卖 - 0:买 1:卖
- type: integer
- currencysign:
- description: 货币符号
- type: string
- decimalplace:
- description: 报价小数位
- type: integer
- goodscode:
- description: 商品代码(内部)
- type: string
- goodsid:
- description: 商品ID
- type: integer
- goodsname:
- description: 商品名称
- type: string
- marketid:
- description: 市场ID
- type: integer
- orderid:
- description: 单号(成交单号)
- type: string
- picurls1:
- description: 预售商品介绍图片[多张用逗号分隔]
- type: string
- picurls2:
- description: 挂牌商品介绍图片[多张用逗号分隔]
- type: string
- price:
- description: 价格
- type: number
- qty:
- description: 数量
- type: integer
- time:
- description: 时间
- type: string
- trademode:
- description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
- 21:竞拍-大宗式 22:受托竞价
- type: integer
- vendorname1:
- description: 预售商品供应商名称
- type: string
- vendorname2:
- description: 挂牌商品供应商名称
- type: string
- required:
- - accountid
- - buyorsell
- - goodscode
- - goodsid
- - goodsname
- - marketid
- - orderid
- - qty
- - time
- - trademode
- type: object
- models.HsbyGoodsOrderDetail:
- properties:
- buyorsell:
- description: 买卖 - 0:买 1:卖
- type: integer
- currencysign:
- description: 货币符号
- type: string
- customername:
- description: 客户名称(企业名称),已脱敏
- type: string
- enableqty:
- description: 可用数量
- type: integer
- goodunit:
- description: 报价单位
- type: string
- orderid:
- description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
- type: string
- orderprice:
- description: 委托价格
- type: number
- ordertime:
- description: 委托时间
- type: string
- required:
- - buyorsell
- - orderid
- - ordertime
- type: object
- models.HsbyListingGoodsDetail:
- properties:
- agreeunit:
- description: 合约单位
- type: number
- currency:
- description: 货币
- type: string
- currencysign:
- description: 货币符号
- type: string
- decimalplace:
- description: 报价小数位
- type: integer
- desccityid:
- description: 目的地(市)ID
- type: integer
- descprovinceid:
- description: 目的地(省)ID
- type: integer
- goodscode:
- description: 商品代码(内部)
- type: string
- goodsdesc:
- description: 商品详情
- type: string
- goodsid:
- description: 商品ID(自增ID SEQ_GOODS)
- type: integer
- goodsname:
- description: 商品名称
- type: string
- hotindex:
- description: 景点热度
- type: integer
- last:
- description: 现价
- type: number
- limitdown:
- description: 跌停价
- type: number
- limitup:
- description: 涨停价
- type: number
- lotsize:
- description: 手数最小变动单位
- type: integer
- marketid:
- description: 所属市场ID
- type: integer
- picurls:
- description: 介绍图片[多张用逗号分隔]
- type: string
- quoteminunit:
- description: 行情最小变动单位 [整数,报价小数位一起使用]
- type: integer
- stepvalue:
- description: 价格最小变动单位
- type: number
- trademode:
- description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
- 21:竞拍-大宗式 22:受托竞价
- type: integer
- vendorattr:
- description: 供应商附件(多张,逗号分隔)
- type: string
- vendorname:
- description: 供应商名称
- type: string
- vendorphone:
- description: 供应商客服电话
- type: string
- videourls:
- description: 介绍视频[多张用逗号分隔]
- type: string
- required:
- - goodscode
- - goodsid
- - goodsname
- - marketid
- - trademode
- type: object
- models.HsbyMyGoods:
- properties:
- accountid:
- description: 账号Id
- type: integer
- agreeunit:
- description: 合约单位
- type: number
- buyaverageprice:
- description: 持仓均价
- type: number
- buycurholderamount:
- description: 买当前持仓总金额[商品币种]
- type: number
- buycurpositionqty:
- description: 买当前持仓总数量
- type: integer
- currencysign:
- description: 货币符号
- type: string
- decimalplace:
- description: 报价小数位
- type: integer
- enableqty:
- description: 可用数量
- type: integer
- goodscode:
- description: 商品代码(内部)
- type: string
- goodsid:
- description: 商品Id
- type: integer
- goodsname:
- description: 商品名称
- type: string
- goodsstatus:
- description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
- type: integer
- picurls:
- description: 介绍图片[多张用逗号分隔]
- type: string
- required:
- - accountid
- - goodscode
- - goodsid
- - goodsname
- type: object
- models.HsbyMyPackage:
- properties:
- accountid:
- description: 账户ID
- type: integer
- address:
- description: 提货人详细地址
- type: string
- agreeunit:
- description: 合约单位
- type: number
- amount:
- description: 提货金额
- type: number
- auditer:
- description: 审核人
- type: integer
- audittime:
- description: 审核时间
- type: string
- averageprice:
- description: 均价
- type: number
- cardnum:
- description: 提货人证件号码
- type: string
- cardtypeid:
- description: 提货人证件类型
- type: integer
- checkremark:
- description: 审核备注
- type: string
- currencysign:
- description: 货币符号
- type: string
- decimalplace:
- description: 报价小数位
- type: integer
- goodscode:
- description: 商品代码(内部)
- type: string
- goodsid:
- description: 商品ID
- type: integer
- goodsname:
- description: 商品名称
- type: string
- handlestatus:
- description: 处理状态
- type: integer
- marketid:
- description: 市场ID
- type: integer
- phonenum:
- description: 提货人联系方式
- type: string
- picurls:
- description: 介绍图片[多张用逗号分隔]
- type: string
- qty:
- description: 提货数量
- type: number
- recivername:
- description: 提货人姓名
- type: string
- reqtime:
- description: 更新时间
- type: string
- takemode:
- description: 提货方式 - 2:自提 3:配送
- type: integer
- takeorderid:
- description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
- type: string
- takeorderstatus:
- description: 提货状态 - 1:待发货 2:已发货 3:已收货
- type: integer
- takeremark:
- description: 提货备注
- type: string
- tradedate:
- description: 交易日(yyyyMMdd)
- type: string
- userid:
- description: 用户ID
- type: integer
- vendorname:
- description: 供应商名称
- type: string
- required:
- - goodscode
- - goodsname
- - takeorderid
- type: object
- models.HsbyPreGoods:
- properties:
- agreeunit:
- description: 合约单位
- type: number
- currency:
- description: 货币
- type: string
- currencysign:
- description: 货币符号
- type: string
- decimalplace:
- description: 报价小数位
- type: integer
- enableqty:
- description: 剩余数量
- type: integer
- goodscode:
- description: 商品代码(内部)
- type: string
- goodsid:
- description: 商品ID(自增ID SEQ_GOODS)
- type: integer
- goodsname:
- description: 商品名称
- type: string
- goodsstatus:
- description: 商品状态- 2:未上市 3:上市
- type: integer
- lasttradedate:
- description: 最后交易日期(状态:待退市)
- type: string
- listingdate:
- description: 交易开始日期
- type: string
- marketid:
- description: 所属市场ID
- type: integer
- picurls:
- description: 介绍图片[多张用逗号分隔]
- type: string
- presaledqty:
- description: 已预售量(预售结束时更新)
- type: integer
- presaleqty:
- description: 预售数量
- type: integer
- quoteminunit:
- description: 行情最小变动单位 [整数,报价小数位一起使用]
- type: integer
- refprice:
- description: 参考价格[一口价]
- type: number
- relatedgoodsid:
- description: 关联交易合约ID
- type: integer
- trademode:
- description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
- 21:竞拍-大宗式 22:受托竞价
- type: integer
- videourls:
- description: 介绍视频[多张用逗号分隔]
- type: string
- required:
- - goodscode
- - goodsid
- - goodsname
- - marketid
- - trademode
- type: object
- models.HsbyPreGoodsDetail:
- properties:
- agreeunit:
- description: 合约单位
- type: number
- buymaxqty:
- description: 购买上限 [71] - 0为不限
- type: integer
- currency:
- description: 货币
- type: string
- currencysign:
- description: 货币符号
- type: string
- customername:
- description: 发行单位
- type: string
- decimalplace:
- description: 报价小数位
- type: integer
- desccityid:
- description: 目的地(市)ID
- type: integer
- descprovinceid:
- description: 目的地(省)ID
- type: integer
- enableqty:
- description: 剩余数量
- type: integer
- goodscode:
- description: 商品代码(内部)
- type: string
- goodsdesc:
- description: 商品详情
- type: string
- goodsid:
- description: 商品ID(自增ID SEQ_GOODS)
- type: integer
- goodsname:
- description: 商品名称
- type: string
- goodsstatus:
- description: 商品状态- 2:未上市 3:上市
- type: integer
- goodunit:
- description: 报价单位
- type: string
- lasttradedate:
- description: 最后交易日期(状态:待退市)
- type: string
- listingdate:
- description: 交易开始日期
- type: string
- lotsize:
- description: 手数最小变动单位
- type: integer
- marketid:
- description: 所属市场ID
- type: integer
- picurls:
- description: 介绍图片[多张用逗号分隔]
- type: string
- presaledqty:
- description: 已预售量(预售结束时更新)
- type: integer
- presaleqty:
- description: 预售数量
- type: integer
- quoteminunit:
- description: 行情最小变动单位 [整数,报价小数位一起使用]
- type: integer
- refprice:
- description: 参考价格[一口价]
- type: number
- relatedgoodsid:
- description: 关联交易合约ID
- type: integer
- stepvalue:
- description: 价格最小变动单位
- type: number
- trademode:
- description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
- 21:竞拍-大宗式 22:受托竞价
- type: integer
- vendorattr:
- description: 供应商附件(多张,逗号分隔)
- type: string
- vendorname:
- description: 供应商名称
- type: string
- vendorphone:
- description: 供应商客服电话
- type: string
- videourls:
- description: 介绍视频[多张用逗号分隔]
- type: string
- required:
- - goodscode
- - goodsid
- - goodsname
- - marketid
- - trademode
- type: object
- models.HsbySellMyDetail:
- properties:
- accountid:
- description: 账户ID[报价币种]
- type: integer
- agreeunit:
- description: 合约单位
- type: number
- amount:
- description: 金额 = 价格 * 数量 * 合约单位
- type: number
- buyorsell:
- description: 买卖 - 0:买 1:卖
- type: integer
- currencysign:
- description: 货币符号
- type: string
- decimalplace:
- description: 报价小数位
- type: integer
- goodscode:
- description: 商品代码(内部)
- type: string
- goodsid:
- description: 商品ID
- type: integer
- goodsname:
- description: 商品名称
- type: string
- marketid:
- description: 市场ID
- type: integer
- orderid:
- description: 单号(已发布 - 委托单号;已完成 - 成交单号)
- type: string
- ordertype:
- description: 单据类型:0 - 已发布, 1 - 已完成
- type: integer
- picurls:
- description: 介绍图片[多张用逗号分隔]
- type: string
- price:
- description: 价格
- type: number
- qty:
- description: 数量
- type: integer
- time:
- description: 时间
- type: string
- trademode:
- description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
- 21:竞拍-大宗式 22:受托竞价
- type: integer
- vendorname:
- description: 供应商名称
- type: string
- required:
- - accountid
- - buyorsell
- - goodscode
- - goodsid
- - goodsname
- - marketid
- - orderid
- - qty
- - time
- - trademode
- type: object
- models.HsbyTopGoods:
- properties:
- agreeunit:
- description: 合约单位
- type: number
- currency:
- description: 货币
- type: string
- currencysign:
- description: 货币符号
- type: string
- decimalplace:
- description: 报价小数位
- type: integer
- goodscode:
- description: 商品代码(内部)
- type: string
- goodsid:
- description: 商品ID(自增ID SEQ_GOODS)
- type: integer
- goodsname:
- description: 商品名称
- type: string
- hotindex:
- description: 景点热度
- type: integer
- last:
- description: 现价
- type: number
- marketid:
- description: 所属市场ID
- type: integer
- picurls:
- description: 介绍图片[多张用逗号分隔]
- type: string
- quoteminunit:
- description: 行情最小变动单位 [整数,报价小数位一起使用]
- type: integer
- trademode:
- description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
- 21:竞拍-大宗式 22:受托竞价
- type: integer
- videourls:
- description: 介绍视频[多张用逗号分隔]
- type: string
- required:
- - goodscode
- - goodsid
- - goodsname
- - marketid
- - trademode
- type: object
- models.HybsMyBuyOrderDetail:
- properties:
- accountid:
- description: 账户ID[报价币种]
- type: integer
- agreeunit:
- description: 合约单位
- type: number
- buyorsell:
- description: 买卖 - 0:买 1:卖
- type: integer
- cancelqty:
- description: 撤单数量
- type: integer
- currencysign:
- description: 货币符号
- type: string
- decimalplace:
- description: 报价小数位
- type: integer
- goodscode:
- description: 商品代码(内部)
- type: string
- goodsid:
- description: 商品ID
- type: integer
- goodsname:
- description: 商品名称
- type: string
- listingselecttype:
- description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
- type: integer
- marketid:
- description: 市场ID
- type: integer
- mybuystatus:
- description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
- type: integer
- orderamount:
- description: 委托金额
- type: number
- orderid:
- description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
- type: string
- orderprice:
- description: 委托价格
- type: number
- orderqty:
- description: 委托数量
- type: integer
- orderstatus:
- description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
- 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
- 16:成交失败违约(荷兰式竞拍专用)
- type: integer
- ordertime:
- description: 委托时间
- type: string
- picurls1:
- description: 预售商品介绍图片[多张用逗号分隔]
- type: string
- picurls2:
- description: 挂牌商品介绍图片[多张用逗号分隔]
- type: string
- trademode:
- description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
- 21:竞拍-大宗式 22:受托竞价
- type: integer
- tradeqty:
- description: 成交数量
- type: integer
- vendorname1:
- description: 预售商品供应商名称
- type: string
- vendorname2:
- description: 挂牌商品供应商名称
- type: string
- required:
- - accountid
- - buyorsell
- - goodscode
- - goodsid
- - goodsname
- - marketid
- - orderid
- - orderqty
- - ordertime
- - trademode
- type: object
- models.Messageboard:
- properties:
- createtime:
- description: 创建时间
- type: string
- message:
- description: 留言信息
- type: string
- messageboardid:
- description: 留言簿ID(SEQ_MessageBoard)
- type: integer
- userid:
- description: 用户ID
- type: integer
- required:
- - messageboardid
- type: object
- models.OperationPrimaryMenu:
- properties:
- Children:
- description: 二级功能菜单
- items:
- $ref: '#/definitions/models.OperationSecondaryMenu'
- type: array
- Key:
- description: 菜单KEY
- type: string
- Label:
- description: 菜单标题
- type: string
- type: object
- models.OperationSecondaryMenu:
- properties:
- Key:
- description: 菜单KEY
- type: string
- Label:
- description: 菜单标题
- type: string
- TabList:
- description: 三级功能菜单
- items:
- $ref: '#/definitions/models.OperationTabMenu'
- type: array
- type: object
- models.OperationTabMenu:
- properties:
- Key:
- description: 菜单KEY
- type: string
- Label:
- description: 菜单标题
- type: string
- type: object
- models.QuotePrimaryMenu:
- properties:
- Index:
- description: 序号
- type: integer
- Key:
- description: 键名
- type: string
- Name:
- description: 菜单名称
- type: string
- SubMenus:
- description: 子菜单
- items:
- $ref: '#/definitions/models.QuoteSecondaryMenu'
- type: array
- SubTitleType:
- description: 子菜单标题模式:0-市场名称;1-外部交易所名称
- type: integer
- TradeModes:
- description: 包含市场交易类型
- type: string
- type: object
- models.QuoteSecondaryMenu:
- properties:
- ExExchangeCode:
- description: 外部交易所代码
- type: string
- ExExchangeID:
- description: 外部交易所ID
- type: integer
- GoodsGroupIDs:
- description: 商品组ID列表
- items:
- type: integer
- type: array
- Index:
- description: 序号
- type: integer
- MarketID:
- description: 市场ID
- type: integer
- MenuTitle:
- description: 菜单标题(市场名称或外部交易所名称)
- type: string
- TradeMode:
- description: 交易模式
- type: integer
- type: object
- models.SearchGoods:
- properties:
- goodscode:
- description: 商品代码(内部)
- type: string
- goodsid:
- description: 商品ID(自增ID SEQ_GOODS)
- type: integer
- goodsname:
- description: 商品名称
- type: string
- marketid:
- description: 所属市场ID
- type: integer
- marketname:
- description: 市场名称
- type: string
- trademode:
- description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
- 21:竞拍-大宗式 22:受托竞价
- type: integer
- required:
- - goodscode
- - goodsid
- - goodsname
- - marketid
- - trademode
- type: object
- models.Szdz2imageconfig:
- properties:
- configid:
- description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
- type: integer
- imagepath:
- description: 图片
- type: string
- imagetype:
- description: 类型 - 1:App首页轮播 2:我的
- type: integer
- sort:
- description: 排序
- type: integer
- title:
- description: 标题
- type: string
- url:
- description: 链接
- type: string
- required:
- - configid
- type: object
- models.Szdz3convertconfig:
- properties:
- canin:
- description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
- type: integer
- canout:
- description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
- type: integer
- converttype:
- description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
- 6:交易转花生米(不设置)
- type: integer
- createtime:
- description: 创建时间
- type: string
- creatorid:
- description: 创建人
- type: integer
- daymaxvalue:
- description: 当日最大转入限制
- type: number
- freezedays:
- description: 冻结天数 [5:花生米转交易]
- type: integer
- innergoodsid:
- description: 内部商品ID[交易]
- type: integer
- inratio:
- description: 目标值
- type: integer
- modifierid:
- description: 修改人
- type: integer
- modifytime:
- description: 修改时间
- type: string
- outergoodscode:
- description: 外部商品代码[JD\PD]
- type: string
- outratio:
- description: 源值
- type: integer
- pddecimalplace:
- description: PD小数位
- type: integer
- timemaxvalue:
- description: 单次最大转入限制
- type: number
- timeminvalue:
- description: 单次最小转入限制
- type: number
- required:
- - converttype
- - innergoodsid
- - outergoodscode
- type: object
- models.Szdz3searchwhitelist:
- properties:
- createtime:
- description: 创建时间
- type: string
- creatorid:
- description: 创建人
- type: integer
- modifierid:
- description: 修改人
- type: integer
- modifytime:
- description: 修改时间
- type: string
- userid:
- description: 用户ID
- type: integer
- required:
- - userid
- type: object
- models.Tablecolumnconfig:
- properties:
- aligntype:
- description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
- type: integer
- autoid:
- description: AutoID
- type: integer
- columnfield:
- description: 列字段
- type: string
- columntitle:
- description: 列Title
- type: string
- columnwidth:
- description: 列宽
- type: string
- formatterstring:
- description: 格式化字符
- type: string
- formattertype:
- description: 格式化类型
- type: string
- groupname:
- description: 表头分组名称
- type: string
- isshow:
- description: 是否显示 - 0:不显示 1:显示
- type: integer
- needsummary:
- description: 是否需要汇总 - 0:不需要 1:需要
- type: integer
- orderindex:
- description: 顺序
- type: integer
- remark:
- description: 备注
- type: string
- summarytype:
- description: 汇总类型 - 1:加总 2:最后一个
- type: integer
- tablekey:
- description: 列表Key
- type: string
- required:
- - autoid
- type: object
- models.Useraccount:
- properties:
- accountname:
- description: 账户名称(机构名称)
- type: string
- accountstatus:
- description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
- type: integer
- auditremark:
- description: 审核备注
- type: string
- audittime:
- description: 审核时间
- type: string
- audituserid:
- description: 审核人
- type: integer
- broker:
- description: 所属经纪人ID
- type: integer
- canceltime:
- description: 销户时间
- type: string
- canceluserid:
- description: 销户人
- type: integer
- createtime:
- description: 创建时间
- type: string
- creatorid:
- description: 创建人
- type: integer
- hasauth:
- description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
- type: integer
- isanonymous:
- description: 是否匿名下单 - 0:否 1:是
- type: integer
- maxinvestornum:
- description: 最大用户数(经纪会员下投资者个数)
- type: integer
- memberuserid:
- description: 所属会员ID
- type: integer
- modifierid:
- description: 修改人
- type: integer
- modifyremark:
- description: 变更备注
- type: string
- modifystatus:
- description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
- type: integer
- modifytime:
- description: 修改时间
- type: string
- parentuserid:
- description: 所属机构ID
- type: integer
- reckonaccountid:
- description: 默认结算资金账号ID(机构分润使用) 作废
- type: integer
- refercount:
- description: 推荐总人数
- type: integer
- refereeuserid:
- description: 推荐人ID
- type: integer
- refernum:
- description: 推荐码
- type: string
- subarealevelpath:
- description: 子机构层级路径(逗号分隔,首尾加逗号)
- type: string
- userid:
- description: 用户ID
- type: integer
- usertype:
- description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
- type: integer
- required:
- - userid
- type: object
- models.Userfavoritegoods:
- properties:
- goodsid:
- description: 商品ID
- type: integer
- required:
- - goodsid
- type: object
- models.Userinfo:
- properties:
- address:
- description: 地址
- type: string
- attachment1:
- description: 附件1
- type: string
- attachment2:
- description: 附件2
- type: string
- bankaccount:
- description: 银行帐号 (加密存储)
- type: string
- bankaccountname:
- description: 收款人名称
- type: string
- bankcardfrontphotourl:
- description: 银行卡正面照地址
- type: string
- bankid:
- description: 银行编码
- type: string
- bankname:
- description: 银行名称
- type: string
- biznature:
- description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
- type: integer
- bizscope:
- description: 企业经营范围(企业)
- type: string
- cardbackphotourl:
- description: 证件背面图片地址
- type: string
- cardfrontphotourl:
- description: 证件正面图片地址
- type: string
- cardnum:
- description: 证件号码(加密存储)
- type: string
- cardtypeid:
- description: 证件类型ID
- type: integer
- cityid:
- description: 市
- type: integer
- company:
- description: 公司(个人)
- type: string
- contactname:
- description: 联系人
- type: string
- countryid:
- description: 国家
- type: integer
- createtime:
- description: 创建时间
- type: string
- creatorid:
- description: 创建人
- type: integer
- customername:
- description: 客户名称(企业名称)
- type: string
- districtid:
- description: 地区
- type: integer
- email:
- description: 邮件(加密存储)
- type: string
- fax:
- description: 传真(加密存储)
- type: string
- halfbodyphotourl:
- description: 半身照地址
- type: string
- hasencrypt:
- description: 数据是否已加密 - 0:未加密 1:已加密
- type: integer
- headurl:
- description: 头像地址
- type: string
- legalcardbackphotourl:
- description: 法人身份证背面照地址
- type: string
- legalcardfrontphotourl:
- description: 法人身份证正面照地址
- type: string
- legalpersonname:
- description: 法人姓名(企业)
- type: string
- mobile:
- description: 手机号码(加密存储)
- type: string
- mobile2:
- description: 手机号码[明文-尚志]
- type: string
- modifierid:
- description: 修改人
- type: integer
- modifiertime:
- description: 修改时间
- type: string
- needinvoice:
- description: 是否需要发票 - 0:不需要 1:需要
- type: integer
- nickname:
- description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
- type: string
- openmode:
- description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
- 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
- type: integer
- otherurl:
- description: 其它图片地址[使用分号分隔]
- type: string
- postalcode:
- description: 邮政编码
- type: string
- provinceid:
- description: 省
- type: integer
- qq:
- description: QQ(加密存储
- type: string
- remark:
- description: 备注
- type: string
- sex:
- description: '用户性别 0: 女 1: 男'
- type: integer
- signpdfurl:
- description: 签约pdf文件
- type: string
- telphone:
- description: 联系电话(加密存储)
- type: string
- userid:
- description: 用户ID
- type: integer
- userinfotype:
- description: 用户信息类型 - 1:个人 2:企业
- type: integer
- userstatus:
- description: 用户状态 - 1:正常 2:注销
- type: integer
- usertype:
- description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
- type: integer
- wechat:
- description: 微信(加密存储)
- type: string
- wskhinfo:
- description: 开户申请信息(JSON)
- type: string
- required:
- - userid
- type: object
- models.WRStandardInfo:
- properties:
- createtime:
- description: 创建时间
- type: string
- creatorid:
- description: 创建人
- type: integer
- deliverygoodsid:
- description: 品种ID
- type: integer
- deliverygoodsname:
- description: 交割商品名称
- type: string
- factoryitemjson:
- description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
- },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
- - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
- 逗号分隔'
- type: string
- isvalid:
- description: 是否有效 - 0:无效 1:有效
- type: integer
- minivalue:
- description: 最小变动值
- type: integer
- minivaluedp:
- description: 最小变动值小数位
- type: integer
- realminivalue:
- description: 实际最小变动值
- type: integer
- realminivaluedp:
- description: 实际最小变动值小数位
- type: integer
- unitid:
- description: 单位ID
- type: integer
- unitname:
- description: 单位
- type: string
- updatetime:
- description: 更新时间
- type: string
- updatorid:
- description: 更新人
- type: integer
- wrsstatus:
- description: 状态 - 作废 - 0:未激活 1:正常
- type: integer
- wrstandardcode:
- description: 仓单标准代码
- type: string
- wrstandardid:
- description: 仓单标准ID(SEQ_WRSTANDARD)
- type: integer
- wrstandardname:
- description: 仓单标准名称
- type: string
- required:
- - wrstandardid
- type: object
- models.Warehouseinfo:
- properties:
- address:
- description: 详细地址
- type: string
- areauserid:
- description: 所属机构
- type: integer
- autoid:
- description: 自增ID
- type: integer
- cityid:
- description: 市
- type: integer
- contactname:
- description: 联系人
- type: string
- contactnum:
- description: 联系电话
- type: string
- countryid:
- description: 国家
- type: integer
- createtime:
- description: 创建时间
- type: string
- districtid:
- description: 区
- type: integer
- hasvideo:
- description: 是否有视频 - 0:无 1:有
- type: integer
- provinceid:
- description: 省
- type: integer
- remark:
- description: 审核备注
- type: string
- videourl:
- description: 视频地址
- type: string
- warehousecode:
- description: 仓库代码
- type: string
- warehousename:
- description: 仓库名称
- type: string
- warehousestatus:
- description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
- type: integer
- warehousetype:
- description: 仓库类型 - 1 厂库 2 自有库 3 合作库
- type: integer
- required:
- - autoid
- - warehousecode
- type: object
- order.QueryHisTradeDetailRsp:
- properties:
- accountid:
- description: 账户ID[报价币种]
- type: integer
- buildtype:
- description: 委托单据类型 1:建仓 2:平仓 3:先平后建
- type: integer
- buyorsell:
- description: 方向 - 0:买 1:卖
- type: integer
- charge:
- description: 手续费
- type: number
- closecharge:
- description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
- type: number
- closeexchagechargevalue:
- description: 平仓交易所手续费设置值
- type: number
- closefeealgorithm:
- description: 平仓手续费收取方式 1:比率 2:固定
- type: integer
- closememberchargevalue:
- description: 平仓会员手续费设置值
- type: number
- closepl:
- description: 平仓盈亏
- type: number
- closepl2:
- description: 平仓盈亏[逐笔]
- type: number
- closeqty:
- description: 平仓数量(先建后平操作 需要记录)
- type: integer
- creditamount:
- description: 授信金额
- type: number
- gcaccountid:
- description: 账户ID[合约币种]
- type: integer
- goodscode:
- description: 商品代码
- type: string
- goodsid:
- description: 商品ID
- type: integer
- goodsname:
- description: 商品名称
- type: string
- histradedate:
- description: 历史交易日
- type: string
- intclosepl:
- description: 整型盈亏(用于交易结算试算平衡-收益权)
- type: integer
- isconfirmexercise:
- description: 是否确认行权- 0:否 1:是
- type: integer
- ismain:
- description: 是否主单 - 0:不是 1:是
- type: integer
- ispreexercise:
- description: 是否预申报- 0:否 1:是
- type: integer
- isreckoned:
- description: 是否结算 - 0:未结算 1:已结算
- type: integer
- isvaliddata:
- description: 是否有效 - 0:无效 1:有效
- type: integer
- listingselecttype:
- description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
- type: integer
- marketid:
- description: 市场ID
- type: integer
- marketname:
- description: 市场名称
- type: string
- matchaccountid:
- description: 对手账号id
- type: integer
- memberuserid:
- description: 会员id 个人投资者 需要填写
- type: integer
- opencharge:
- description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
- type: number
- openexchagechargevalue:
- description: 建仓交易所手续费设置值
- type: number
- openfeealgorithm:
- description: 建仓手续费收取方式 1:比率 2:固定
- type: integer
- openmemberchargevalue:
- description: 建仓会员手续费设置值
- type: number
- openqty:
- description: 开仓数量(先建后平操作 需要记录)
- type: integer
- optiontype:
- description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
- type: integer
- orderid:
- description: 委托单号
- type: string
- performanceplanid:
- description: 履约计划ID[期权]
- type: integer
- performancestatus:
- description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
- type: integer
- preexerciseprice:
- description: 预申报价格
- type: number
- premium:
- description: 权利金 - [持仓单的权利金]
- type: number
- relatedouttradeid:
- description: 关联外部成交单ID
- type: integer
- status:
- description: 处理状态 - 1:待处理 2:已处理 3:处理失败
- type: integer
- tradeamount:
- description: 成交金额[账户币种,用于所有权]
- type: number
- tradedate:
- description: 交易日(yyyyMMdd)
- type: string
- tradeid:
- description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
- type: string
- trademode:
- description: 交易模式
- type: integer
- tradeprice:
- description: 成交价格
- type: number
- tradeproperty:
- description: 交易属性
- type: integer
- tradeqty:
- description: 成交数量
- type: integer
- tradetime:
- description: 成交时间
- type: string
- tradetype:
- description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
- 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
- type: integer
- required:
- - accountid
- - buyorsell
- - goodsid
- - histradedate
- - marketid
- - memberuserid
- - orderid
- - tradeamount
- - tradedate
- - tradeid
- - tradeprice
- - tradeqty
- - tradetime
- type: object
- order.QueryHisTradeOrderDetailRsp:
- properties:
- accountid:
- description: 账户ID[报价币种]
- type: integer
- buildtype:
- description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
- type: integer
- buyorsell:
- description: 买卖 - 0:买 1:卖
- type: integer
- cancelorderid:
- description: 撤单单号(撤单时填写)
- type: string
- cancelqty:
- description: 撤单数量
- type: integer
- clientordertime:
- description: 客户端委托时间
- type: string
- clientticket:
- description: 客户端流水号
- type: string
- clienttype:
- description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
- 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
- type: integer
- closeexchagechargevalue:
- description: 平仓交易所手续费设置值
- type: number
- closefeealgorithm:
- description: 平仓手续费收取方式 1:比率 2:固定
- type: integer
- closefreezecharge:
- description: 平仓冻结手续费(先建后平操作,需要记录)
- type: number
- closememberchargevalue:
- description: 平仓会员手续费设置值
- type: number
- closeqty:
- description: 平仓数量(先建后平操作 需要记录)
- type: integer
- closetradeqty:
- description: 平仓成交数量(先建后平操作,需要记录)
- type: integer
- closeunfreezecharge:
- description: 平仓解冻手续费(先建后平操作,需要记录)
- type: number
- delistingtype:
- description: 摘牌类型 - 1:价格最优 2:点选成交
- type: integer
- freezecharge:
- description: 冻结手续费
- type: number
- freezemargin:
- description: 冻结保证金(冻结交易金额)
- type: number
- gcaccountid:
- description: 账户ID[合约币种]
- type: integer
- goodscode:
- description: 商品代码
- type: string
- goodsid:
- description: 商品ID
- type: integer
- goodsname:
- description: 商品名称
- type: string
- histradedate:
- description: 历史交易日
- type: string
- isconfirmexercise:
- description: 是否确认行权- 0:否 1:是
- type: integer
- ispreexercise:
- description: 是否预申报- 0:否 1:是
- type: integer
- isvaliddata:
- description: 是否有效 - 0:无效 1:有效
- type: integer
- listingselecttype:
- description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
- type: integer
- marginalgorithm:
- description: 保证金收取方式 1:比率 2:固定
- type: integer
- marginvalue:
- description: 即市保证金设置值
- type: number
- marketid:
- description: 市场ID
- type: integer
- marketmaxsub:
- description: 市价最大偏移范围
- type: number
- marketname:
- description: 市场名称
- type: string
- memberuserid:
- description: 所属会员UserID
- type: integer
- openexchagechargevalue:
- description: 建仓交易所手续费设置值
- type: number
- openfeealgorithm:
- description: 建仓手续费收取方式 1:比率 2:固定
- type: integer
- openfreezecharge:
- description: 开仓冻结手续费(先建后平操作,需要记录)
- type: number
- openmemberchargevalue:
- description: 建仓会员手续费设置值
- type: number
- openqty:
- description: 开仓数量(先建后平操作,需要记录)
- type: integer
- opentradeqty:
- description: 开仓成交数量(先建后平操作,需要记录)
- type: integer
- openunfreezecharge:
- description: 开仓解冻手续费(先建后平操作,需要记录)
- type: number
- operatetype:
- description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
- 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
- 15:管理端协议转让
- type: integer
- operatorid:
- description: 登录账号(LoginID)
- type: integer
- optiontype:
- description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
- type: integer
- orderid:
- description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
- type: string
- orderprice:
- description: 委托价格
- type: number
- orderqty:
- description: 委托数量
- type: integer
- ordersrc:
- description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
- 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
- type: integer
- orderstatus:
- description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
- 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
- 16:成交失败违约(荷兰式竞拍专用)
- type: integer
- ordertime:
- description: 委托时间
- type: string
- preexerciseprice:
- description: 预申报价格
- type: number
- premium:
- description: 权利金
- type: number
- preorderid:
- description: 关联预埋单号(止盈止损单时填写)
- type: string
- pricemode:
- description: '取价方式 - 1:市价 2: 限价'
- type: integer
- quoteid:
- description: 报价单ID
- type: integer
- relatedid:
- description: 关联单号(交割单)
- type: string
- retcode:
- description: 错误代码
- type: integer
- sessionid:
- description: 会话ID
- type: integer
- tradedate:
- description: 交易日(yyyyMMdd)
- type: string
- trademode:
- description: 交易模式
- type: integer
- tradeproperty:
- description: 交易属性
- type: integer
- tradeqty:
- description: 成交数量
- type: integer
- unfreezecharge:
- description: 解冻手续费
- type: number
- unfreezemargin:
- description: 解冻保证金
- type: number
- updatetime:
- description: 更新时间
- type: string
- uuid:
- description: 发起端唯一id
- type: string
- validtime:
- description: 有效期限
- type: string
- validtype:
- description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
- type: integer
- volumetype:
- description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
- type: integer
- required:
- - accountid
- - buildtype
- - buyorsell
- - goodsid
- - histradedate
- - marketid
- - memberuserid
- - operatetype
- - orderid
- - orderqty
- - ordertime
- - pricemode
- - tradedate
- - validtype
- type: object
- order.QueryTradeDetailRsp:
- properties:
- accountid:
- description: 账户ID[报价币种]
- type: integer
- buildtype:
- description: 委托单据类型 1:建仓 2:平仓 3:先平后建
- type: integer
- buyorsell:
- description: 方向 - 0:买 1:卖
- type: integer
- charge:
- description: 手续费
- type: number
- closecharge:
- description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
- type: number
- closeexchagechargevalue:
- description: 平仓交易所手续费设置值
- type: number
- closefeealgorithm:
- description: 平仓手续费收取方式 1:比率 2:固定
- type: integer
- closememberchargevalue:
- description: 平仓会员手续费设置值
- type: number
- closepl:
- description: 平仓盈亏
- type: number
- closepl2:
- description: 平仓盈亏[逐笔]
- type: number
- closeqty:
- description: 平仓数量(先建后平操作 需要记录)
- type: integer
- creditamount:
- description: 授信金额
- type: number
- gcaccountid:
- description: 账户ID[合约币种]
- type: integer
- goodscode:
- description: 商品代码
- type: string
- goodsid:
- description: 商品ID
- type: integer
- goodsname:
- description: 商品名称
- type: string
- intclosepl:
- description: 整型盈亏(用于交易结算试算平衡-收益权)
- type: integer
- isconfirmexercise:
- description: 是否确认行权- 0:否 1:是
- type: integer
- ismain:
- description: 是否主单 - 0:不是 1:是
- type: integer
- ispreexercise:
- description: 是否预申报- 0:否 1:是
- type: integer
- isreckoned:
- description: 是否结算 - 0:未结算 1:已结算
- type: integer
- listingselecttype:
- description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
- type: integer
- marketid:
- description: 市场ID
- type: integer
- marketname:
- description: 市场名称
- type: string
- matchaccountid:
- description: 对手账号id
- type: integer
- memberuserid:
- description: 会员id 个人投资者 需要填写
- type: integer
- opencharge:
- description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
- type: number
- openexchagechargevalue:
- description: 建仓交易所手续费设置值
- type: number
- openfeealgorithm:
- description: 建仓手续费收取方式 1:比率 2:固定
- type: integer
- openmemberchargevalue:
- description: 建仓会员手续费设置值
- type: number
- openqty:
- description: 开仓数量(先建后平操作 需要记录)
- type: integer
- optiontype:
- description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
- type: integer
- orderid:
- description: 委托单号
- type: string
- performanceplanid:
- description: 履约计划ID[期权]
- type: integer
- performancestatus:
- description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
- type: integer
- preexerciseprice:
- description: 预申报价格
- type: number
- premium:
- description: 权利金 - [持仓单的权利金]
- type: number
- relatedouttradeid:
- description: 关联外部成交单ID
- type: integer
- status:
- description: 处理状态 - 1:待处理 2:已处理 3:处理失败
- type: integer
- tradeamount:
- description: 成交金额[账户币种,用于所有权]
- type: number
- tradedate:
- description: 交易日(yyyyMMdd)
- type: string
- tradeid:
- description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
- type: string
- trademode:
- description: 交易模式
- type: integer
- tradeprice:
- description: 成交价格
- type: number
- tradeproperty:
- description: 交易属性
- type: integer
- tradeqty:
- description: 成交数量
- type: integer
- tradetime:
- description: 成交时间
- type: string
- tradetype:
- description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
- 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
- type: integer
- required:
- - accountid
- - buyorsell
- - goodsid
- - marketid
- - memberuserid
- - orderid
- - tradeamount
- - tradedate
- - tradeid
- - tradeprice
- - tradeqty
- - tradetime
- type: object
- order.QueryTradeOrderDetailRsp:
- properties:
- accountid:
- description: 账户ID[报价币种]
- type: integer
- buildtype:
- description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
- type: integer
- buyorsell:
- description: 买卖 - 0:买 1:卖
- type: integer
- cancelorderid:
- description: 撤单单号(撤单时填写)
- type: string
- cancelqty:
- description: 撤单数量
- type: integer
- clienttype:
- description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
- 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
- type: integer
- closefreezecharge:
- description: 平仓冻结手续费(先建后平操作,需要记录)
- type: number
- closeqty:
- description: 平仓数量(先建后平操作 需要记录)
- type: integer
- closetradeqty:
- description: 平仓成交数量(先建后平操作,需要记录)
- type: integer
- closeunfreezecharge:
- description: 平仓解冻手续费(先建后平操作,需要记录)
- type: number
- delistingtype:
- description: 摘牌类型 - 1:价格最优 2:点选成交
- type: integer
- enableqty:
- description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
- type: integer
- freezecharge:
- description: 冻结手续费
- type: number
- freezemargin:
- description: 冻结保证金(冻结交易金额)
- type: number
- goodscode:
- description: 商品代码
- type: string
- goodsid:
- description: 商品ID
- type: integer
- goodsname:
- description: 商品名称
- type: string
- listingselecttype:
- description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
- type: integer
- marketid:
- description: 市场ID
- type: integer
- marketname:
- description: 市场名称
- type: string
- openfreezecharge:
- description: 开仓冻结手续费(先建后平操作,需要记录)
- type: number
- openqty:
- description: 开仓数量(先建后平操作,需要记录)
- type: integer
- opentradeqty:
- description: 开仓成交数量(先建后平操作,需要记录)
- type: integer
- openunfreezecharge:
- description: 开仓解冻手续费(先建后平操作,需要记录)
- type: number
- operatetype:
- description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
- 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
- 15:管理端协议转让
- type: integer
- operatorid:
- description: 登录账号(LoginID)
- type: integer
- orderid:
- description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
- type: string
- orderprice:
- description: 委托价格
- type: number
- orderqty:
- description: 委托数量
- type: integer
- ordersrc:
- description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
- 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
- type: integer
- orderstatus:
- description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
- 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
- 16:成交失败违约(荷兰式竞拍专用)
- type: integer
- ordertime:
- description: 委托时间
- type: string
- preorderid:
- description: 关联预埋单号(止盈止损单时填写)
- type: string
- pricemode:
- description: '取价方式 - 1:市价 2: 限价'
- type: integer
- relatedid:
- description: 关联单号(交割单)
- type: string
- tradedate:
- description: 交易日(yyyyMMdd)
- type: string
- trademode:
- description: 交易模式
- type: integer
- tradeqty:
- description: 成交数量
- type: integer
- unfreezecharge:
- description: 解冻手续费
- type: number
- unfreezemargin:
- description: 解冻保证金
- type: number
- validtime:
- description: 有效期限
- type: string
- validtype:
- description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
- type: integer
- volumetype:
- description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
- type: integer
- required:
- - accountid
- - buildtype
- - buyorsell
- - goodsid
- - marketid
- - operatetype
- - orderqty
- - ordertime
- - pricemode
- - tradedate
- - validtype
- type: object
- order.QueryTradePositionRsp:
- properties:
- accountid:
- description: 资金账户
- type: integer
- agreeunit:
- description: 合约单位
- type: number
- averageprice:
- description: 持仓均价
- type: number
- buyorsell:
- description: 方向 - 0:买 1:卖
- type: integer
- closetotalqty:
- description: 平仓总数量
- type: integer
- curholderamount:
- description: 当前持仓总金额[商品币种]
- type: number
- curpositionqty:
- description: 当前持仓总数量
- type: integer
- currencyid:
- description: 报价货币ID
- type: integer
- curtdposition:
- description: 期末今日头寸
- type: integer
- decimalplace:
- description: 报价小数位
- type: integer
- enableqty:
- description: 可用量
- type: integer
- fretdposition:
- description: 冻结今日头寸
- type: integer
- frozenqty:
- description: 持仓冻结数量
- type: integer
- goodscode:
- description: 商品代码
- type: string
- goodsid:
- description: 商品Id
- type: integer
- goodsname:
- description: 商品名称
- type: string
- goodunit:
- description: 报价单位
- type: string
- goodunitid:
- description: 报价单位ID
- type: integer
- holderamount:
- description: 期初持仓总金额[商品币种]
- type: number
- marketid:
- description: 所属市场ID
- type: integer
- openreqqty:
- description: 开仓申请数量(用于比较最大持仓数量)
- type: integer
- opentotalqty:
- description: 开仓总数量
- type: integer
- otherfrozenqty:
- description: 持仓其他冻结数量(交割冻结)
- type: integer
- positionqty:
- description: 期初持仓数量
- type: integer
- tnqty:
- description: T+N冻结总量
- type: integer
- tnusedqty:
- description: T+N使用量(可以使用T+N的冻结数量)
- type: integer
- trademode:
- description: 交易模式
- type: integer
- usedmargin:
- description: 占用保证金[商品币种]
- type: number
- required:
- - goodsid
- type: object
- quote.HistoryData:
- properties:
- c:
- description: 收盘价
- type: number
- h:
- description: 最高价
- type: number
- hv:
- description: 持仓量
- type: integer
- l:
- description: 最低价
- type: number
- o:
- description: 开盘价
- type: number
- s:
- description: 结算价,日线周期(包括)以上才有
- type: number
- ts:
- description: 时间
- type: string
- tt:
- description: 总金额
- type: number
- tv:
- description: 总量
- type: integer
- type: object
- quote.QueryTSDataRsp:
- properties:
- decimalPlace:
- description: 小数位
- type: integer
- endTime:
- description: 结束时间
- type: string
- goodsCode:
- description: 商品代码
- type: string
- historyDatas:
- description: 历史数据
- items:
- $ref: '#/definitions/quote.HistoryData'
- type: array
- preSettle:
- description: 昨结
- type: number
- startTime:
- description: 开始时间
- type: string
- tradeDate:
- description: 交易日
- type: string
- type: object
- szdz.QueryConvertLogRsp:
- properties:
- accountid:
- description: 资金账户ID
- type: integer
- clientticket:
- description: 客户端流水号
- type: string
- converttype:
- description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
- type: integer
- createtime:
- description: 记账时间
- type: string
- daymaxvalue:
- description: 配置当日最大转入限制
- type: number
- daymaxvalue2:
- description: 配置当日最大转入限制(转入)
- type: number
- goodscode:
- description: 商品代码
- type: string
- goodsname:
- description: 商品名称
- type: string
- handlestatus:
- description: 处理状态
- type: integer
- innergoodsid:
- description: 内部商品ID
- type: integer
- inratio:
- description: 配置转入比值
- type: integer
- invalue:
- description: 目标值
- type: number
- logid:
- description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
- type: integer
- mobile:
- description: 手机号码(加密存储)
- type: string
- outergoodscode:
- description: 外部商品代码[JD\PD]
- type: string
- outratio:
- description: 配置转出比值
- type: integer
- outvalue:
- description: 源值
- type: number
- pddecimalplace:
- description: PD小数位
- type: integer
- qty:
- description: 数量
- type: string
- remark:
- description: 备注
- type: string
- sessionid:
- description: 会话ID
- type: integer
- timemaxvalue:
- description: 配置单次最大转入限制
- type: number
- timemaxvalue2:
- description: 配置单次最大转入限制(转入)
- type: number
- timeminvalue:
- description: 配置单次最小数量限制
- type: number
- timeminvalue2:
- description: 配置单次最小数量限制(转入)
- type: number
- tradedate:
- description: 交易日(yyyyMMdd)
- type: string
- userid:
- description: 用户ID
- type: integer
- required:
- - logid
- type: object
- szdz.QueryGoodsPickupRsp:
- properties:
- accountid:
- description: 账户ID
- type: integer
- address:
- description: 提货人详细地址
- type: string
- auditer:
- description: 审核人
- type: integer
- audittime:
- description: 审核时间
- type: string
- cardnum:
- description: 提货人证件号码
- type: string
- cardtypeid:
- description: 提货人证件类型
- type: integer
- checkremark:
- description: 审核备注
- type: string
- goodscode:
- description: 商品代码
- type: string
- goodsid:
- description: 商品ID
- type: integer
- goodsname:
- description: 商品名称
- type: string
- handlestatus:
- description: 处理状态
- type: integer
- marketid:
- description: 市场ID
- type: integer
- phonenum:
- description: 提货人联系方式
- type: string
- qty:
- description: 提货数量
- type: number
- recivername:
- description: 提货人姓名
- type: string
- reqtime:
- description: 更新时间
- type: string
- takemode:
- description: 提货方式 - 2:自提 3:配送
- type: integer
- takeorderid:
- description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
- type: string
- takeorderstatus:
- description: 提货状态 - 1:待发货 2:已发货 3:已收货
- type: integer
- takeremark:
- description: 提货备注
- type: string
- tradedate:
- description: 交易日(yyyyMMdd)
- type: string
- userid:
- description: 用户ID
- type: integer
- required:
- - takeorderid
- type: object
- szdz.QueryRecieptOrderRsp:
- properties:
- accountName:
- description: 所属账号名称(已脱敏)
- type: string
- accountid:
- description: 资金账号
- type: integer
- buyorsell:
- description: 方向 - 0:买 1:卖
- type: integer
- enableqty:
- description: 可摘数量
- type: integer
- goodscode:
- description: 商品代码
- type: string
- goodsid:
- description: 商品ID
- type: integer
- goodsname:
- description: 商品名称
- type: string
- orderid:
- description: 委托单号
- type: string
- orderprice:
- description: 委托价格
- type: number
- tradedate:
- description: 交易日(yyyyMMdd)
- type: string
- type: object
- szdz.QuerySZDZTradePositionRsp:
- properties:
- accountid:
- description: 账号Id
- type: integer
- agreeunit:
- description: 合约单位
- type: number
- averageprice:
- description: 持仓均价
- type: number
- buyorsell:
- description: 方向 - 0:买 1:卖
- type: integer
- closetotalqty:
- description: 平仓总数量
- type: integer
- curholderamount:
- description: 当前持仓总金额
- type: number
- curpositionqty:
- description: 当前持仓总数量
- type: integer
- currencyid:
- description: 报价货币ID
- type: integer
- curtdposition:
- description: 期末今日头寸
- type: integer
- decimalplace:
- description: 报价小数位
- type: integer
- enableqty:
- description: 可用量
- type: integer
- fretdposition:
- description: 冻结今日头寸
- type: integer
- frozenqty:
- description: 持仓冻结数量
- type: integer
- goodscode:
- description: 商品代码(内部)
- type: string
- goodsid:
- description: 商品Id
- type: integer
- goodsname:
- description: 商品名称
- type: string
- goodunit:
- description: 报价单位
- type: string
- goodunitid:
- description: 报价单位ID
- type: integer
- holderamount:
- description: 期初持仓总金额
- type: number
- marketid:
- description: 市场ID
- type: integer
- openreqqty:
- description: 开仓申请数量
- type: integer
- opentotalqty:
- description: 开仓总数量
- type: integer
- otherfrozenqty:
- description: 持仓其他冻结数量(交割冻结)
- type: integer
- positionqty:
- description: 期初持仓数量
- type: integer
- szdz3freezqty:
- description: 尚志大宗转换冻结总数量
- type: integer
- tnqty:
- description: T+N冻结总量
- type: integer
- tnusedqty:
- description: T+N使用量
- type: integer
- trademode:
- description: 交易模式
- type: integer
- usedmargin:
- description: 占用保证金
- type: number
- type: object
- taaccount.QueryAmountLogRsp:
- properties:
- OPERATETYPENAME:
- description: 资金操作类型名称
- type: string
- accountid:
- description: 资金账户ID
- type: integer
- agoodscode:
- description: 竞拍商品代码
- type: string
- agoodsname:
- description: 竞拍商品名称
- type: string
- amount:
- description: 资金金额
- type: number
- amountadjusttype:
- description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
- type: integer
- autoid:
- description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
- type: integer
- balance:
- description: 期初余额
- type: number
- businesscode:
- description: 业务编号
- type: integer
- createtime:
- description: 发生时间
- type: string
- currencyid:
- description: 币种ID
- type: integer
- currentbalance:
- description: 期末余额(变动后金额)
- type: number
- dgoodscode:
- description: 交割商品代码
- type: string
- dgoodsname:
- description: 交割商品名称
- type: string
- goodscode:
- description: 商品代码
- type: string
- goodsid:
- description: 商品ID
- type: integer
- goodsname:
- description: 商品名称
- type: string
- marketid:
- description: 市场ID
- type: integer
- marketname:
- description: 市场名称
- type: string
- moneyticket:
- description: 资金流水号:银行端流水号
- type: integer
- operatetype:
- 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:营销收款
- type: integer
- relationorderid:
- description: 关联单号
- type: string
- remark:
- description: 备注
- type: string
- trademode:
- description: 交易模式
- type: integer
- required:
- - accountid
- - amount
- - amountadjusttype
- - autoid
- - balance
- - createtime
- - currentbalance
- - operatetype
- type: object
- taaccount.QueryHisAmountLogRsp:
- properties:
- OPERATETYPENAME:
- description: 资金操作类型名称
- type: string
- accountid:
- description: 资金账户ID
- type: integer
- agoodscode:
- description: 竞拍商品代码
- type: string
- agoodsname:
- description: 竞拍商品名称
- type: string
- amount:
- description: 资金金额
- type: number
- amountadjusttype:
- description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
- type: integer
- autoid:
- description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
- type: integer
- balance:
- description: 期初余额
- type: number
- businesscode:
- description: 业务编号
- type: integer
- createtime:
- description: 发生时间
- type: string
- currencyid:
- description: 币种ID
- type: integer
- currentbalance:
- description: 期末余额(变动后金额)
- type: number
- dgoodscode:
- description: 交割商品代码
- type: string
- dgoodsname:
- description: 交割商品名称
- type: string
- goodscode:
- description: 商品代码
- type: string
- goodsid:
- description: 商品ID
- type: integer
- goodsname:
- description: 商品名称
- type: string
- histradedate:
- description: 历史交易日
- type: string
- isvaliddata:
- description: 是否有效 - 0:无效 1:有效
- type: integer
- marketid:
- description: 市场ID
- type: integer
- marketname:
- description: 市场名称
- type: string
- moneyticket:
- description: 资金流水号:银行端流水号
- type: integer
- operatetype:
- 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:营销收款
- type: integer
- relationorderid:
- description: 关联单号
- type: string
- remark:
- description: 备注
- type: string
- trademode:
- description: 交易模式
- type: integer
- required:
- - accountid
- - amount
- - amountadjusttype
- - autoid
- - balance
- - createtime
- - currentbalance
- - histradedate
- - operatetype
- type: object
- info:
- contact: {}
- description: 新的查询服务,替代原通用查询服务。
- termsOfService: http://muchinfo.cn
- title: MTP2.0 查询服务 API
- version: "1.0"
- paths:
- /CPTrade/QueryCPTradeMyBidInfos:
- get:
- parameters:
- - description: 资金账户
- in: query
- name: accountid
- required: true
- type: integer
- - description: 预售市场ID
- in: query
- name: marketid
- type: integer
- - description: 预售商品ID
- in: query
- name: goodsid
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 查询产能预售我的出价信息
- tags:
- - 产能预售
- /CPTrade/QueryCPTradeOrderDetail:
- get:
- parameters:
- - description: 预售商品ID
- in: query
- name: goodsid
- type: integer
- - description: 预售市场ID
- in: query
- name: marketid
- type: integer
- - description: 预售商品ID列表 - 格式:1,2,3
- in: query
- name: goodsids
- type: string
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 查询产能预售委托单信息
- tags:
- - 产能预售
- /CPTrade/QueryMyCPTradeGoods:
- get:
- parameters:
- - description: 资金账户
- in: query
- name: accountid
- required: true
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 查询我的预售信息
- tags:
- - 产能预售
- /CPTrade/QueryPositionCancel:
- get:
- parameters:
- - description: 账户ID
- in: query
- name: userid
- required: true
- type: integer
- - description: 注销ID
- in: query
- name: cancelid
- type: integer
- - description: 资金账户ID
- in: query
- name: accountid
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/cptrade.Cptradepositioncancel'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 查询远期订单注销申请信息
- tags:
- - 产能预售
- /CPTrade/QueryPreasleApply:
- get:
- parameters:
- - description: 账户ID
- in: query
- name: userid
- required: true
- type: integer
- - description: 申请ID
- in: query
- name: applyid
- type: integer
- - description: 资金账户ID
- in: query
- name: accountid
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/cptrade.Cptradepresaleapply'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 查询产能预售申请信息
- tags:
- - 产能预售
- /CPTrade/QueryPresaleGoodsEx:
- get:
- parameters:
- - description: 预售商品ID
- in: query
- name: goodsid
- type: integer
- - description: 预售市场ID
- in: query
- name: marketid
- type: integer
- - description: 预售模式 - 1:一口价 2:大宗式竞拍
- in: query
- name: presalemode
- type: integer
- - description: 预售商品ID列表 - 格式:1,2,3
- in: query
- name: goodsids
- type: string
- - description: 预售商品代码
- in: query
- name: goodscode
- type: string
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 查询产能预售商品扩展信息
- tags:
- - 产能预售
- /CPTrade/QueryUserGoodsData:
- get:
- parameters:
- - description: 资金账户ID
- in: query
- name: accountid
- required: true
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 查询远期订单信息
- tags:
- - 产能预售
- /Common/NoticeReaded:
- post:
- parameters:
- - description: 登录账号
- in: query
- name: loginID
- required: true
- type: integer
- - description: 通知公告ID
- in: query
- name: noticeID
- required: true
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/app.Response'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 通知公告设置已读请求
- tags:
- - 通用服务
- /Common/QueryImageConfigs:
- get:
- parameters:
- - description: 类型 - 1:App首页轮播 2:我的
- in: query
- name: imageType
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/models.Szdz2imageconfig'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- summary: 查询轮播图配置信息
- tags:
- - 通用服务
- /Common/QueryNotice:
- get:
- parameters:
- - description: 页码
- in: query
- name: page
- type: integer
- - description: 每页条数
- in: query
- name: pagesize
- type: integer
- - description: 登录账号
- in: query
- name: loginID
- required: true
- type: integer
- - description: 消息类型 - 1:公告通知 2:系统消息
- in: query
- name: msgType
- type: integer
- - description: 是否只获取未读信息
- in: query
- name: onlyUnRead
- type: boolean
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/common.QueryNoticeRsp'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 通知公告系统消息查询
- tags:
- - 通用服务
- /Common/QueryProvincesAndCities:
- get:
- parameters:
- - description: 省ID
- in: query
- name: provinceID
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- summary: 查询省市信息(不包括区)
- tags:
- - 通用服务
- /Common/QueryTableDefine:
- get:
- parameters:
- - description: 表key
- in: query
- name: TableKey
- type: string
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/common.QueryTableDefineRsp'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- summary: 查询交易端列表头信息
- tags:
- - 通用服务
- /Common/QueryTraderMenu:
- get:
- parameters:
- - description: 登录账号
- in: query
- name: loginid
- required: true
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/common.QueryTraderMenuRsp'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- summary: 查询交易端菜单
- tags:
- - 通用服务
- /Delivery/QueryDeliveryRelation:
- get:
- parameters:
- - description: 商品ID
- in: query
- name: goodsid
- type: integer
- - description: 品种ID
- in: query
- name: deliverygoodsid
- type: integer
- - description: 市场ID
- in: query
- name: marketid
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 查询商品交割关系表
- tags:
- - 交割服务
- /Erms2/QueryArbitrageStrategy:
- get:
- parameters:
- - description: 账户ID
- in: query
- name: userid
- required: true
- type: integer
- - description: 商品组ID(品种ID)
- in: query
- name: goodsgroupid
- type: string
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 查询期现套利策略表信息(指定资金账户、未结束的)
- tags:
- - 风险管理
- /Erms2/QueryInnerTradeDetail:
- get:
- parameters:
- - description: 资金账户
- in: query
- name: accountid
- required: true
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 查询内部成交单信息
- tags:
- - 风险管理
- /Erms2/QuerySpotContract:
- get:
- parameters:
- - description: 策略申请ID
- in: query
- name: asapplyid
- required: true
- type: integer
- - description: 现货合同ID
- in: query
- name: spotcontractid
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/erms2.QuerySpotContractRsp'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 查询现货合同表信息(指定策略ID、未结束的)
- tags:
- - 风险管理
- /Erms3/AddSpotContractApply:
- post:
- parameters:
- - description: 申请参数
- in: body
- name: jsonBody
- required: true
- schema:
- $ref: '#/definitions/erms3.AddSpotContractApplyReq'
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 新增现货合同申请
- tags:
- - 风险管理v3
- /Erms3/QuerySpotContractAppleForm:
- get:
- parameters:
- - description: 用户ID
- in: query
- name: userID
- required: true
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 查询合同申请表单数据
- tags:
- - 风险管理v3
- /Erms3/QuerySpotContractDetail:
- get:
- parameters:
- - description: 资金账号ID列表,用逗号分隔
- in: query
- name: accountids
- required: true
- type: string
- - description: 合同类型,1为采购合同 -1为销售合同
- in: query
- name: contracttype
- required: true
- type: integer
- - description: 合同模式,1为普通合同 2为回购销售合同
- in: query
- name: contractmode
- required: true
- type: integer
- - description: 状态,0为履约中 1为已完成
- in: query
- name: status
- required: true
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- items:
- $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
- type: array
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 查询合同详细信息
- tags:
- - 风险管理v3
- /HSBY/GetHsbyMyCount:
- get:
- description: 说明: 不包括已完成的数量。
- parameters:
- - description: 资金账户列表,格式:1,2,3
- in: query
- name: accountIDs
- required: true
- type: string
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 获取我的订单与包裹数量
- tags:
- - 定制【海商报业】
- /HSBY/QueryHsbyBuyMyTradeDetail:
- get:
- parameters:
- - description: 页码
- in: query
- name: page
- type: integer
- - description: 每页条数
- in: query
- name: pagesize
- type: integer
- - description: 资金账户列表,格式:1,2,3
- in: query
- name: accountIDs
- required: true
- type: string
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 查询"我的订单 - 已完成"单据信息
- tags:
- - 定制【海商报业】
- /HSBY/QueryHsbyGoodsOrderDetails:
- get:
- description: 说明:查询结果已按委托价格和委托时间排序
- parameters:
- - description: 商品ID
- in: query
- name: goodsID
- required: true
- type: integer
- - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
- in: query
- name: accountIDs
- required: true
- type: string
- - description: 挂牌委托单方向(对手单方向),0:买 1:卖
- in: query
- name: buyOrSell
- type: integer
- - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
- in: query
- name: price
- type: number
- - description: 档位,不传则默认为3档
- in: query
- name: speed
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/models.HsbyGoodsOrderDetail'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
- tags:
- - 定制【海商报业】
- /HSBY/QueryHsbyListingGoodsDetail:
- get:
- parameters:
- - description: 商品ID
- in: query
- name: goodsID
- required: true
- type: integer
- - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
- in: query
- name: AccountID
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/models.HsbyListingGoodsDetail'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 查询二级市场(挂牌点选)商品信息详情
- tags:
- - 定制【海商报业】
- /HSBY/QueryHsbyMyBuyOrderDetails:
- get:
- description: 说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;
- parameters:
- - description: 资金账户列表,格式:1,2,3
- in: query
- name: accountIDs
- required: true
- type: string
- - description: '''我的订单''状态, 1:抢购中 2:求购中 3:已完成;不传则为''全部'''
- in: query
- name: myBuyStatus
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/models.HybsMyBuyOrderDetail'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 查询“我的订单”信息
- tags:
- - 定制【海商报业】
- /HSBY/QueryHsbyMyGoods:
- get:
- parameters:
- - description: 资金账户列表,格式:1,2,3
- in: query
- name: accountIDs
- required: true
- type: string
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/models.HsbyMyGoods'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 查询“我的商品”信息
- tags:
- - 定制【海商报业】
- /HSBY/QueryHsbyMyPackages:
- get:
- parameters:
- - description: 资金账户列表,格式:1,2,3
- in: query
- name: accountIDs
- required: true
- type: string
- - description: 提货状态 - 1:待发货 2:已发货 3:已收货
- in: query
- name: takeOrderStatus
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/models.HsbyMyPackage'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 查询我的包裹信息
- tags:
- - 定制【海商报业】
- /HSBY/QueryHsbyPreGoodsDetail:
- get:
- parameters:
- - description: 商品ID
- in: query
- name: goodsID
- required: true
- type: integer
- - description: 资金账户,主要用于获取预售商品购买上限
- in: query
- name: accountID
- required: true
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/models.HsbyPreGoodsDetail'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 查询一级市场(产能预售)商品信息详情
- tags:
- - 定制【海商报业】
- /HSBY/QueryHsbyPreGoodses:
- get:
- description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
- parameters:
- - description: 页码
- in: query
- name: page
- type: integer
- - description: 每页条数
- in: query
- name: pagesize
- type: integer
- - description: 市场ID列表,格式:1,2,3
- in: query
- name: marketIDs
- required: true
- type: string
- - description: 目的地(省)ID
- in: query
- name: descProvinceID
- type: integer
- - description: 目的地(市)ID
- in: query
- name: descCityID
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/models.HsbyPreGoods'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 查询新品上市商品列表(一级市场产能预售)
- tags:
- - 定制【海商报业】
- /HSBY/QueryHsbySellMyDetails:
- get:
- description: 说明:已发布 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
- parameters:
- - description: 页码
- in: query
- name: page
- type: integer
- - description: 每页条数
- in: query
- name: pagesize
- type: integer
- - description: 资金账户列表,格式:1,2,3
- in: query
- name: accountIDs
- required: true
- type: string
- - description: 单据类型:0 - 已发布(默认), 1 - 已完成
- in: query
- name: orderType
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/models.HsbySellMyDetail'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 查询"我的闲置"单据信息
- tags:
- - 定制【海商报业】
- /HSBY/QueryHsbyTopGoodses:
- get:
- description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
- parameters:
- - description: 页码
- in: query
- name: page
- type: integer
- - description: 每页条数
- in: query
- name: pagesize
- type: integer
- - description: 市场ID列表,格式:1,2,3
- in: query
- name: marketIDs
- required: true
- type: string
- - description: 目的地(省)ID
- in: query
- name: descProvinceID
- type: integer
- - description: 目的地(市)ID
- in: query
- name: descCityID
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/models.HsbyTopGoods'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 查询热卖商品列表(二级市场挂牌点选)
- tags:
- - 定制【海商报业】
- /HSBY/QueryProvincesAndCities:
- get:
- description: 查询结果只包括二级市场商品已关连的省市信息。
- parameters:
- - description: 省ID
- in: query
- name: provinceID
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 查询省市信息(不包括区)
- tags:
- - 定制【海商报业】
- /HSBY/SetHsbyMyPackagesStatus:
- post:
- parameters:
- - description: 提货单号
- in: query
- name: takeOrderID
- required: true
- type: string
- - description: 资金账号
- in: query
- name: accountID
- required: true
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/app.Response'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 设置我的包裹已收货状态
- tags:
- - 定制【海商报业】
- /Order/QueryHisTradeDetail:
- get:
- parameters:
- - description: 资金账户 - 格式:1,2,3
- in: query
- name: accountID
- required: true
- type: string
- - description: 成交单号
- in: query
- name: tradeID
- type: integer
- - description: 委托单号
- in: query
- name: orderID
- type: integer
- - description: 交易模式 - 格式:1,2,3
- in: query
- name: tradeMode
- type: string
- - description: 委托单据类型
- in: query
- name: buildType
- type: integer
- - description: 成交类别 - 格式:1,2,3
- in: query
- name: tradeType
- type: string
- - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
- in: query
- name: startDate
- type: string
- - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
- in: query
- name: endDate
- type: string
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/order.QueryHisTradeDetailRsp'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 历史成交单查询(合约市场)
- tags:
- - 通用单据
- /Order/QueryHisTradeOrderDetail:
- get:
- parameters:
- - description: 资金账户 - 格式:1,2,3
- in: query
- name: accountID
- required: true
- type: string
- - description: 交易模式 - 格式:1,2,3
- in: query
- name: tradeMode
- type: string
- - description: 委托状态 - 格式:1,2,3
- in: query
- name: orderStatus
- type: string
- - description: 委托单号
- in: query
- name: orderID
- type: integer
- - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
- in: query
- name: startDate
- type: string
- - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
- in: query
- name: endDate
- type: string
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 历史委托单查询请求(合约市场)
- tags:
- - 通用单据
- /Order/QueryTradeDetail:
- get:
- parameters:
- - description: 资金账户 - 格式:1,2,3
- in: query
- name: accountID
- required: true
- type: string
- - description: 成交单号
- in: query
- name: tradeID
- type: integer
- - description: 委托单号
- in: query
- name: orderID
- type: integer
- - description: 交易模式 - 格式:1,2,3
- in: query
- name: tradeMode
- type: string
- - description: 委托单据类型
- in: query
- name: buildType
- type: integer
- - description: 成交类别 - 格式:1,2,3
- in: query
- name: tradeType
- type: string
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/order.QueryTradeDetailRsp'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 成交单查询(合约市场)
- tags:
- - 通用单据
- /Order/QueryTradeOrderDetail:
- get:
- parameters:
- - description: 资金账户 - 格式:1,2,3
- in: query
- name: accountID
- required: true
- type: string
- - description: 交易模式 - 格式:1,2,3
- in: query
- name: tradeMode
- type: string
- - description: 委托状态 - 格式:1,2,3
- in: query
- name: orderStatus
- type: string
- - description: 委托单号
- in: query
- name: orderID
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 委托单查询请求(合约市场)
- tags:
- - 通用单据
- /Order/QueryTradePosition:
- get:
- parameters:
- - description: 资金账户 - 格式:1,2,3
- in: query
- name: accountID
- required: true
- type: string
- - description: 交易模式 - 格式:1,2,3
- in: query
- name: tradeMode
- type: string
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/order.QueryTradePositionRsp'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 持仓汇总查询(合约市场)
- tags:
- - 通用单据
- /Quote/QueryHistoryDatas:
- get:
- parameters:
- - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
- 日线 10: Tik'
- in: query
- name: cycleType
- required: true
- type: integer
- - description: 商品代码
- in: query
- name: goodsCode
- required: true
- type: string
- - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
- in: query
- name: startTime
- type: string
- - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
- in: query
- name: endTime
- type: string
- - description: 条数
- in: query
- name: count
- type: integer
- - description: 是否按时间顺序排序(默认为时间倒序排序)
- in: query
- name: isAsc
- type: boolean
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/quote.HistoryData'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 查询行情历史数据
- tags:
- - 行情服务
- /Quote/QueryTSData:
- get:
- parameters:
- - description: 商品代码
- in: query
- name: GoodsCode
- required: true
- type: string
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/quote.QueryTSDataRsp'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- summary: 分时图数据查询
- tags:
- - 行情服务
- /SZDZ/QueryConvertConfig:
- get:
- parameters:
- - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
- 6:交易转花生米(不设置)
- in: query
- name: convertType
- type: integer
- - description: 外部商品代码[JD\PD]
- in: query
- name: outerGoodsCode
- type: string
- - description: 内部商品ID列表[交易],格式:1,2,3
- in: query
- name: innerGoodsIDs
- type: string
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/models.Szdz3convertconfig'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 查询交易系统转换设置
- tags:
- - 定制【尚志大宗】
- /SZDZ/QueryConvertLog:
- get:
- parameters:
- - description: 资金账户 - 格式:1,2,3
- in: query
- name: accountID
- required: true
- type: string
- - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
- in: query
- name: startDate
- type: string
- - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
- in: query
- name: endDate
- type: string
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/szdz.QueryConvertLogRsp'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 交易系统转换流水查询
- tags:
- - 定制【尚志大宗】
- /SZDZ/QueryGoodsPickup:
- get:
- parameters:
- - description: 资金账户 - 格式:1,2,3
- in: query
- name: accountID
- required: true
- type: string
- - description: 提货状态 - 1:待发货 2:已发货 3:已收货
- in: query
- name: takeOrderStatus
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 商品提货单查询
- tags:
- - 定制【尚志大宗】
- /SZDZ/QueryRecieptOrder:
- get:
- description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
- parameters:
- - description: 页码
- in: query
- name: page
- type: integer
- - description: 每页条数
- in: query
- name: pagesize
- type: integer
- - description: 商品ID
- in: query
- name: goodsID
- required: true
- type: integer
- - description: 所属账户名称
- in: query
- name: accountName
- type: string
- - description: 市场ID
- in: query
- name: marketID
- type: integer
- - description: 方向 - 0:买 1:卖
- in: query
- name: buyorsell
- required: true
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 点选挂牌委托单据查询(摘牌大厅)
- tags:
- - 定制【尚志大宗】
- /SZDZ/QuerySZDZTradePosition:
- get:
- parameters:
- - description: 资金账户
- in: query
- name: accountID
- required: true
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 持仓汇总查询(尚志大宗)
- tags:
- - 定制【尚志大宗】
- /SZDZ/SearchWhite:
- get:
- parameters:
- - description: 用户ID
- in: query
- name: userID
- required: true
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/models.Szdz3searchwhitelist'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 搜索白名单
- tags:
- - 定制【尚志大宗】
- /Search/SearchGoodses:
- get:
- description: 说明:使用检索内容模糊匹配商品代码和商品名称
- parameters:
- - description: 检索内容
- in: query
- name: content
- required: true
- type: string
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/models.SearchGoods'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- summary: 检索商品信息
- tags:
- - 检索服务
- /TaAccount/QueryAmountLog:
- get:
- parameters:
- - description: 页码
- in: query
- name: page
- type: integer
- - description: 每页条数
- in: query
- name: pagesize
- type: integer
- - description: 资金账户 - 格式:1,2,3
- in: query
- name: accountID
- required: true
- type: string
- - description: 资金操作类型 - 格式:1,2,3
- in: query
- name: OperateType
- type: string
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/taaccount.QueryAmountLogRsp'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 资金流水查询(当前)
- tags:
- - 资金账户
- /TaAccount/QueryHisAmountLog:
- get:
- parameters:
- - description: 页码
- in: query
- name: page
- type: integer
- - description: 每页条数
- in: query
- name: pagesize
- type: integer
- - description: 资金账户 - 格式:1,2,3
- in: query
- name: accountID
- required: true
- type: string
- - description: 资金操作类型 - 格式:1,2,3
- in: query
- name: OperateType
- type: string
- - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
- in: query
- name: startDate
- type: string
- - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
- in: query
- name: endDate
- type: string
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 资金流水查询(历史)
- tags:
- - 资金账户
- /User/AddMessageBoard:
- post:
- parameters:
- - description: 用户ID
- in: query
- name: userID
- required: true
- type: integer
- - description: 留言信息
- in: query
- name: message
- required: true
- type: string
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/app.Response'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 添加用户留言板信息
- tags:
- - 用户信息
- /User/AddUserFavoriteGoods:
- post:
- parameters:
- - description: 用户ID
- in: query
- name: userID
- required: true
- type: integer
- - description: 商品ID
- in: query
- name: goodsID
- required: true
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/app.Response'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 添加用户商品收藏信息
- tags:
- - 用户信息
- /User/GetLoginID:
- get:
- description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
- parameters:
- - description: 登录代码
- in: query
- name: username
- required: true
- type: string
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/app.Response'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- summary: 获取登录ID
- tags:
- - 用户信息
- /User/GetUserAccount:
- get:
- parameters:
- - description: 用户ID
- in: query
- name: userID
- required: true
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/models.Useraccount'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 获取用户账号信息
- tags:
- - 用户信息
- /User/GetUserAuthStatus:
- get:
- parameters:
- - description: 用户ID
- in: query
- name: userID
- required: true
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/app.Response'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 获取用户实名认证状态
- tags:
- - 用户信息
- /User/QueryMessageBoard:
- get:
- parameters:
- - description: 用户ID
- in: query
- name: userID
- required: true
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/models.Messageboard'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 获取用户留言板信息
- tags:
- - 用户信息
- /User/QueryUserFavoriteGoodses:
- get:
- parameters:
- - description: 用户ID
- in: query
- name: userID
- required: true
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/models.Userfavoritegoods'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 获取用户商品收藏信息
- tags:
- - 用户信息
- /User/QueryUserInfo:
- get:
- parameters:
- - description: 用户ID
- in: query
- name: userID
- required: true
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/models.Userinfo'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 获取用户信息
- tags:
- - 用户信息
- /User/QueryUserReferNum:
- get:
- parameters:
- - description: 用户ID
- in: query
- name: userID
- required: true
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/app.Response'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- summary: 获取用户邀请码
- tags:
- - 用户信息
- /User/RemoveUserFavoriteGoods:
- post:
- parameters:
- - description: 用户ID
- in: query
- name: userID
- required: true
- type: integer
- - description: 商品ID
- in: query
- name: goodsID
- required: true
- type: integer
- produces:
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/app.Response'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- summary: 移除用户商品收藏信息
- tags:
- - 用户信息
- /WRTrade/GetAllDeliveryGoods:
- get:
- produces:
- - application/json
- - application/json
- responses:
- "200":
- description: OK
- schema:
- $ref: '#/definitions/app.Response'
- "500":
- description: Internal Server Error
- schema:
- $ref: '#/definitions/app.Response'
- security:
- - ApiKeyAuth: []
- - ApiKeyAuth: []
- summary: 获取带仓单分类的种类信息
- tags:
- - 仓单贸易
- - 仓单贸易
- securityDefinitions:
- ApiKeyAuth:
- in: header
- name: Authorization
- type: apiKey
- swagger: "2.0"
|