swagger.yaml 159 KB

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