swagger.yaml 138 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946
  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. models.Division:
  1204. properties:
  1205. autoid:
  1206. description: 自增ID
  1207. type: integer
  1208. divisioncode:
  1209. description: 行政代码
  1210. type: string
  1211. divisionlevel:
  1212. description: 行政级别
  1213. type: string
  1214. divisionname:
  1215. description: 行政名称
  1216. type: string
  1217. modifierid:
  1218. description: 修改人
  1219. type: integer
  1220. modifytime:
  1221. description: 修改时间
  1222. type: string
  1223. parentcode:
  1224. description: 上级行政代码
  1225. type: string
  1226. pathname:
  1227. description: 路径名称
  1228. type: string
  1229. postcode:
  1230. description: 邮政编码
  1231. type: string
  1232. separablename:
  1233. description: 可拆分的全称
  1234. type: string
  1235. shortcode:
  1236. description: 地区简码
  1237. type: string
  1238. required:
  1239. - autoid
  1240. - divisioncode
  1241. type: object
  1242. models.HsbyGoodsOrderDetail:
  1243. properties:
  1244. buyorsell:
  1245. description: 买卖 - 0:买 1:卖
  1246. type: integer
  1247. currencysign:
  1248. description: 货币符号
  1249. type: string
  1250. customername:
  1251. description: 客户名称(企业名称),已脱敏
  1252. type: string
  1253. enableqty:
  1254. description: 可用数量
  1255. type: integer
  1256. goodunit:
  1257. description: 报价单位
  1258. type: string
  1259. orderid:
  1260. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1261. type: string
  1262. orderprice:
  1263. description: 委托价格
  1264. type: number
  1265. ordertime:
  1266. description: 委托时间
  1267. type: string
  1268. required:
  1269. - buyorsell
  1270. - orderid
  1271. - ordertime
  1272. type: object
  1273. models.HsbyListingGoodsDetail:
  1274. properties:
  1275. currency:
  1276. description: 货币
  1277. type: string
  1278. currencysign:
  1279. description: 货币符号
  1280. type: string
  1281. decimalplace:
  1282. description: 报价小数位
  1283. type: integer
  1284. desccityid:
  1285. description: 目的地(市)ID
  1286. type: integer
  1287. descprovinceid:
  1288. description: 目的地(省)ID
  1289. type: integer
  1290. goodscode:
  1291. description: 商品代码(内部)
  1292. type: string
  1293. goodsdesc:
  1294. description: 商品详情
  1295. type: string
  1296. goodsid:
  1297. description: 商品ID(自增ID SEQ_GOODS)
  1298. type: integer
  1299. goodsname:
  1300. description: 商品名称
  1301. type: string
  1302. hotindex:
  1303. description: 景点热度
  1304. type: integer
  1305. last:
  1306. description: 现价
  1307. type: number
  1308. limitdown:
  1309. description: 跌停价
  1310. type: number
  1311. limitup:
  1312. description: 涨停价
  1313. type: number
  1314. lotsize:
  1315. description: 最小变动单位
  1316. type: number
  1317. marketid:
  1318. description: 所属市场ID
  1319. type: integer
  1320. picurls:
  1321. description: 介绍图片[多张用逗号分隔]
  1322. type: string
  1323. quoteminunit:
  1324. description: 行情最小变动单位 [整数,报价小数位一起使用]
  1325. type: integer
  1326. trademode:
  1327. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  1328. 21:竞拍-大宗式 22:受托竞价
  1329. type: integer
  1330. vendorattr:
  1331. description: 供应商附件(多张,逗号分隔)
  1332. type: string
  1333. vendorname:
  1334. description: 供应商名称
  1335. type: string
  1336. vendorphone:
  1337. description: 供应商客服电话
  1338. type: string
  1339. videourls:
  1340. description: 介绍视频[多张用逗号分隔]
  1341. type: string
  1342. required:
  1343. - goodscode
  1344. - goodsid
  1345. - goodsname
  1346. - marketid
  1347. - trademode
  1348. type: object
  1349. models.HsbyMyGoods:
  1350. properties:
  1351. accountid:
  1352. description: 账号Id
  1353. type: integer
  1354. agreeunit:
  1355. description: 合约单位
  1356. type: number
  1357. buyaverageprice:
  1358. description: 持仓均价
  1359. type: number
  1360. buycurholderamount:
  1361. description: 买当前持仓总金额[商品币种]
  1362. type: number
  1363. buycurpositionqty:
  1364. description: 买当前持仓总数量
  1365. type: integer
  1366. currencysign:
  1367. description: 货币符号
  1368. type: string
  1369. decimalplace:
  1370. description: 报价小数位
  1371. type: integer
  1372. enableqty:
  1373. description: 可用数量
  1374. type: integer
  1375. goodscode:
  1376. description: 商品代码(内部)
  1377. type: string
  1378. goodsid:
  1379. description: 商品Id
  1380. type: integer
  1381. goodsname:
  1382. description: 商品名称
  1383. type: string
  1384. picurls:
  1385. description: 介绍图片[多张用逗号分隔]
  1386. type: string
  1387. required:
  1388. - accountid
  1389. - goodscode
  1390. - goodsid
  1391. - goodsname
  1392. type: object
  1393. models.HsbyMyPackage:
  1394. properties:
  1395. accountid:
  1396. description: 账户ID
  1397. type: integer
  1398. address:
  1399. description: 提货人详细地址
  1400. type: string
  1401. agreeunit:
  1402. description: 合约单位
  1403. type: number
  1404. amount:
  1405. description: 提货金额
  1406. type: number
  1407. auditer:
  1408. description: 审核人
  1409. type: integer
  1410. audittime:
  1411. description: 审核时间
  1412. type: string
  1413. averageprice:
  1414. description: 均价
  1415. type: number
  1416. cardnum:
  1417. description: 提货人证件号码
  1418. type: string
  1419. cardtypeid:
  1420. description: 提货人证件类型
  1421. type: integer
  1422. checkremark:
  1423. description: 审核备注
  1424. type: string
  1425. currencysign:
  1426. description: 货币符号
  1427. type: string
  1428. decimalplace:
  1429. description: 报价小数位
  1430. type: integer
  1431. goodscode:
  1432. description: 商品代码(内部)
  1433. type: string
  1434. goodsid:
  1435. description: 商品ID
  1436. type: integer
  1437. goodsname:
  1438. description: 商品名称
  1439. type: string
  1440. handlestatus:
  1441. description: 处理状态
  1442. type: integer
  1443. marketid:
  1444. description: 市场ID
  1445. type: integer
  1446. phonenum:
  1447. description: 提货人联系方式
  1448. type: string
  1449. picurls:
  1450. description: 介绍图片[多张用逗号分隔]
  1451. type: string
  1452. qty:
  1453. description: 提货数量
  1454. type: number
  1455. recivername:
  1456. description: 提货人姓名
  1457. type: string
  1458. reqtime:
  1459. description: 更新时间
  1460. type: string
  1461. takemode:
  1462. description: 提货方式 - 2:自提 3:配送
  1463. type: integer
  1464. takeorderid:
  1465. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  1466. type: string
  1467. takeorderstatus:
  1468. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  1469. type: integer
  1470. takeremark:
  1471. description: 提货备注
  1472. type: string
  1473. tradedate:
  1474. description: 交易日(yyyyMMdd)
  1475. type: string
  1476. userid:
  1477. description: 用户ID
  1478. type: integer
  1479. vendorname:
  1480. description: 供应商名称
  1481. type: string
  1482. required:
  1483. - goodscode
  1484. - goodsname
  1485. - takeorderid
  1486. type: object
  1487. models.HsbyPreGoods:
  1488. properties:
  1489. currency:
  1490. description: 货币
  1491. type: string
  1492. currencysign:
  1493. description: 货币符号
  1494. type: string
  1495. decimalplace:
  1496. description: 报价小数位
  1497. type: integer
  1498. enableqty:
  1499. description: 剩余数量
  1500. type: integer
  1501. endtime:
  1502. description: 预售结束时间
  1503. type: string
  1504. goodscode:
  1505. description: 商品代码(内部)
  1506. type: string
  1507. goodsid:
  1508. description: 商品ID(自增ID SEQ_GOODS)
  1509. type: integer
  1510. goodsname:
  1511. description: 商品名称
  1512. type: string
  1513. goodsstatus:
  1514. description: 商品状态- 2:未上市 3:上市
  1515. type: integer
  1516. lotsize:
  1517. description: 最小变动单位
  1518. type: number
  1519. marketid:
  1520. description: 所属市场ID
  1521. type: integer
  1522. picurls:
  1523. description: 介绍图片[多张用逗号分隔]
  1524. type: string
  1525. presaledqty:
  1526. description: 已预售量(预售结束时更新)
  1527. type: integer
  1528. presaleqty:
  1529. description: 预售数量
  1530. type: integer
  1531. quoteminunit:
  1532. description: 行情最小变动单位 [整数,报价小数位一起使用]
  1533. type: integer
  1534. refprice:
  1535. description: 参考价格[一口价]
  1536. type: number
  1537. relatedgoodsid:
  1538. description: 关联交易合约ID
  1539. type: integer
  1540. starttime:
  1541. description: 预售开始时间
  1542. type: string
  1543. trademode:
  1544. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  1545. 21:竞拍-大宗式 22:受托竞价
  1546. type: integer
  1547. videourls:
  1548. description: 介绍视频[多张用逗号分隔]
  1549. type: string
  1550. required:
  1551. - goodscode
  1552. - goodsid
  1553. - goodsname
  1554. - marketid
  1555. - trademode
  1556. type: object
  1557. models.HsbyPreGoodsDetail:
  1558. properties:
  1559. currency:
  1560. description: 货币
  1561. type: string
  1562. currencysign:
  1563. description: 货币符号
  1564. type: string
  1565. customername:
  1566. description: 发行单位
  1567. type: string
  1568. decimalplace:
  1569. description: 报价小数位
  1570. type: integer
  1571. desccityid:
  1572. description: 目的地(市)ID
  1573. type: integer
  1574. descprovinceid:
  1575. description: 目的地(省)ID
  1576. type: integer
  1577. enableqty:
  1578. description: 剩余数量
  1579. type: integer
  1580. endtime:
  1581. description: 预售结束时间
  1582. type: string
  1583. goodscode:
  1584. description: 商品代码(内部)
  1585. type: string
  1586. goodsdesc:
  1587. description: 商品详情
  1588. type: string
  1589. goodsid:
  1590. description: 商品ID(自增ID SEQ_GOODS)
  1591. type: integer
  1592. goodsname:
  1593. description: 商品名称
  1594. type: string
  1595. goodsstatus:
  1596. description: 商品状态- 2:未上市 3:上市
  1597. type: integer
  1598. goodunit:
  1599. description: 报价单位
  1600. type: string
  1601. lotsize:
  1602. description: 最小变动单位
  1603. type: number
  1604. marketid:
  1605. description: 所属市场ID
  1606. type: integer
  1607. picurls:
  1608. description: 介绍图片[多张用逗号分隔]
  1609. type: string
  1610. presaledqty:
  1611. description: 已预售量(预售结束时更新)
  1612. type: integer
  1613. presaleqty:
  1614. description: 预售数量
  1615. type: integer
  1616. quoteminunit:
  1617. description: 行情最小变动单位 [整数,报价小数位一起使用]
  1618. type: integer
  1619. refprice:
  1620. description: 参考价格[一口价]
  1621. type: number
  1622. relatedgoodsid:
  1623. description: 关联交易合约ID
  1624. type: integer
  1625. starttime:
  1626. description: 预售开始时间
  1627. type: string
  1628. trademode:
  1629. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  1630. 21:竞拍-大宗式 22:受托竞价
  1631. type: integer
  1632. vendorattr:
  1633. description: 供应商附件(多张,逗号分隔)
  1634. type: string
  1635. vendorname:
  1636. description: 供应商名称
  1637. type: string
  1638. vendorphone:
  1639. description: 供应商客服电话
  1640. type: string
  1641. videourls:
  1642. description: 介绍视频[多张用逗号分隔]
  1643. type: string
  1644. required:
  1645. - goodscode
  1646. - goodsid
  1647. - goodsname
  1648. - marketid
  1649. - trademode
  1650. type: object
  1651. models.HsbySellMyDetail:
  1652. properties:
  1653. accountid:
  1654. description: 账户ID[报价币种]
  1655. type: integer
  1656. agreeunit:
  1657. description: 合约单位
  1658. type: number
  1659. amount:
  1660. description: 金额 = 价格 * 数量 * 合约单位
  1661. type: number
  1662. buyorsell:
  1663. description: 买卖 - 0:买 1:卖
  1664. type: integer
  1665. currencysign:
  1666. description: 货币符号
  1667. type: string
  1668. decimalplace:
  1669. description: 报价小数位
  1670. type: integer
  1671. goodscode:
  1672. description: 商品代码(内部)
  1673. type: string
  1674. goodsid:
  1675. description: 商品ID
  1676. type: integer
  1677. goodsname:
  1678. description: 商品名称
  1679. type: string
  1680. marketid:
  1681. description: 市场ID
  1682. type: integer
  1683. orderid:
  1684. description: 单号(已发布 - 委托单号;已完成 - 成交单号)
  1685. type: string
  1686. picurls:
  1687. description: 介绍图片[多张用逗号分隔]
  1688. type: string
  1689. price:
  1690. description: 价格
  1691. type: number
  1692. qty:
  1693. description: 数量
  1694. type: integer
  1695. time:
  1696. description: 时间
  1697. type: string
  1698. trademode:
  1699. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  1700. 21:竞拍-大宗式 22:受托竞价
  1701. type: integer
  1702. vendorname:
  1703. description: 供应商名称
  1704. type: string
  1705. required:
  1706. - accountid
  1707. - buyorsell
  1708. - goodscode
  1709. - goodsid
  1710. - goodsname
  1711. - marketid
  1712. - orderid
  1713. - qty
  1714. - time
  1715. - trademode
  1716. type: object
  1717. models.HsbyTopGoods:
  1718. properties:
  1719. currency:
  1720. description: 货币
  1721. type: string
  1722. currencysign:
  1723. description: 货币符号
  1724. type: string
  1725. decimalplace:
  1726. description: 报价小数位
  1727. type: integer
  1728. goodscode:
  1729. description: 商品代码(内部)
  1730. type: string
  1731. goodsid:
  1732. description: 商品ID(自增ID SEQ_GOODS)
  1733. type: integer
  1734. goodsname:
  1735. description: 商品名称
  1736. type: string
  1737. hotindex:
  1738. description: 景点热度
  1739. type: integer
  1740. last:
  1741. description: 现价
  1742. type: number
  1743. lotsize:
  1744. description: 最小变动单位
  1745. type: number
  1746. marketid:
  1747. description: 所属市场ID
  1748. type: integer
  1749. picurls:
  1750. description: 介绍图片[多张用逗号分隔]
  1751. type: string
  1752. quoteminunit:
  1753. description: 行情最小变动单位 [整数,报价小数位一起使用]
  1754. type: integer
  1755. trademode:
  1756. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  1757. 21:竞拍-大宗式 22:受托竞价
  1758. type: integer
  1759. videourls:
  1760. description: 介绍视频[多张用逗号分隔]
  1761. type: string
  1762. required:
  1763. - goodscode
  1764. - goodsid
  1765. - goodsname
  1766. - marketid
  1767. - trademode
  1768. type: object
  1769. models.HybsMyBuyOrderDetail:
  1770. properties:
  1771. accountid:
  1772. description: 账户ID[报价币种]
  1773. type: integer
  1774. agreeunit:
  1775. description: 合约单位
  1776. type: number
  1777. buyorsell:
  1778. description: 买卖 - 0:买 1:卖
  1779. type: integer
  1780. cancelqty:
  1781. description: 撤单数量
  1782. type: integer
  1783. currencysign:
  1784. description: 货币符号
  1785. type: string
  1786. decimalplace:
  1787. description: 报价小数位
  1788. type: integer
  1789. goodscode:
  1790. description: 商品代码(内部)
  1791. type: string
  1792. goodsid:
  1793. description: 商品ID
  1794. type: integer
  1795. goodsname:
  1796. description: 商品名称
  1797. type: string
  1798. listingselecttype:
  1799. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  1800. type: integer
  1801. marketid:
  1802. description: 市场ID
  1803. type: integer
  1804. mybuystatus:
  1805. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  1806. type: integer
  1807. orderamount:
  1808. description: 委托金额
  1809. type: number
  1810. orderid:
  1811. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1812. type: string
  1813. orderprice:
  1814. description: 委托价格
  1815. type: number
  1816. orderqty:
  1817. description: 委托数量
  1818. type: integer
  1819. orderstatus:
  1820. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  1821. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  1822. 16:成交失败违约(荷兰式竞拍专用)
  1823. type: integer
  1824. ordertime:
  1825. description: 委托时间
  1826. type: string
  1827. picurls:
  1828. description: 介绍图片[多张用逗号分隔]
  1829. type: string
  1830. trademode:
  1831. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  1832. 21:竞拍-大宗式 22:受托竞价
  1833. type: integer
  1834. tradeqty:
  1835. description: 成交数量
  1836. type: integer
  1837. vendorname:
  1838. description: 供应商名称
  1839. type: string
  1840. required:
  1841. - accountid
  1842. - buyorsell
  1843. - goodscode
  1844. - goodsid
  1845. - goodsname
  1846. - marketid
  1847. - orderid
  1848. - orderqty
  1849. - ordertime
  1850. - trademode
  1851. type: object
  1852. models.OperationPrimaryMenu:
  1853. properties:
  1854. Children:
  1855. description: 二级功能菜单
  1856. items:
  1857. $ref: '#/definitions/models.OperationSecondaryMenu'
  1858. type: array
  1859. Key:
  1860. description: 菜单KEY
  1861. type: string
  1862. Label:
  1863. description: 菜单标题
  1864. type: string
  1865. type: object
  1866. models.OperationSecondaryMenu:
  1867. properties:
  1868. Key:
  1869. description: 菜单KEY
  1870. type: string
  1871. Label:
  1872. description: 菜单标题
  1873. type: string
  1874. TabList:
  1875. description: 三级功能菜单
  1876. items:
  1877. $ref: '#/definitions/models.OperationTabMenu'
  1878. type: array
  1879. type: object
  1880. models.OperationTabMenu:
  1881. properties:
  1882. Key:
  1883. description: 菜单KEY
  1884. type: string
  1885. Label:
  1886. description: 菜单标题
  1887. type: string
  1888. type: object
  1889. models.QuotePrimaryMenu:
  1890. properties:
  1891. Index:
  1892. description: 序号
  1893. type: integer
  1894. Key:
  1895. description: 键名
  1896. type: string
  1897. Name:
  1898. description: 菜单名称
  1899. type: string
  1900. SubMenus:
  1901. description: 子菜单
  1902. items:
  1903. $ref: '#/definitions/models.QuoteSecondaryMenu'
  1904. type: array
  1905. SubTitleType:
  1906. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  1907. type: integer
  1908. TradeModes:
  1909. description: 包含市场交易类型
  1910. type: string
  1911. type: object
  1912. models.QuoteSecondaryMenu:
  1913. properties:
  1914. ExExchangeCode:
  1915. description: 外部交易所代码
  1916. type: string
  1917. ExExchangeID:
  1918. description: 外部交易所ID
  1919. type: integer
  1920. GoodsGroupIDs:
  1921. description: 商品组ID列表
  1922. items:
  1923. type: integer
  1924. type: array
  1925. Index:
  1926. description: 序号
  1927. type: integer
  1928. MarketID:
  1929. description: 市场ID
  1930. type: integer
  1931. MenuTitle:
  1932. description: 菜单标题(市场名称或外部交易所名称)
  1933. type: string
  1934. TradeMode:
  1935. description: 交易模式
  1936. type: integer
  1937. type: object
  1938. models.Szdz3convertconfig:
  1939. properties:
  1940. canin:
  1941. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  1942. type: integer
  1943. canout:
  1944. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  1945. type: integer
  1946. converttype:
  1947. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  1948. 6:交易转花生米(不设置)
  1949. type: integer
  1950. createtime:
  1951. description: 创建时间
  1952. type: string
  1953. creatorid:
  1954. description: 创建人
  1955. type: integer
  1956. daymaxvalue:
  1957. description: 当日最大转入限制
  1958. type: number
  1959. freezedays:
  1960. description: 冻结天数 [5:花生米转交易]
  1961. type: integer
  1962. innergoodsid:
  1963. description: 内部商品ID[交易]
  1964. type: integer
  1965. inratio:
  1966. description: 目标值
  1967. type: integer
  1968. modifierid:
  1969. description: 修改人
  1970. type: integer
  1971. modifytime:
  1972. description: 修改时间
  1973. type: string
  1974. outergoodscode:
  1975. description: 外部商品代码[JD\PD]
  1976. type: string
  1977. outratio:
  1978. description: 源值
  1979. type: integer
  1980. pddecimalplace:
  1981. description: PD小数位
  1982. type: integer
  1983. timemaxvalue:
  1984. description: 单次最大转入限制
  1985. type: number
  1986. timeminvalue:
  1987. description: 单次最小转入限制
  1988. type: number
  1989. required:
  1990. - converttype
  1991. - innergoodsid
  1992. - outergoodscode
  1993. type: object
  1994. models.Szdz3searchwhitelist:
  1995. properties:
  1996. createtime:
  1997. description: 创建时间
  1998. type: string
  1999. creatorid:
  2000. description: 创建人
  2001. type: integer
  2002. modifierid:
  2003. description: 修改人
  2004. type: integer
  2005. modifytime:
  2006. description: 修改时间
  2007. type: string
  2008. userid:
  2009. description: 用户ID
  2010. type: integer
  2011. required:
  2012. - userid
  2013. type: object
  2014. models.Tablecolumnconfig:
  2015. properties:
  2016. aligntype:
  2017. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  2018. type: integer
  2019. autoid:
  2020. description: AutoID
  2021. type: integer
  2022. columnfield:
  2023. description: 列字段
  2024. type: string
  2025. columntitle:
  2026. description: 列Title
  2027. type: string
  2028. columnwidth:
  2029. description: 列宽
  2030. type: string
  2031. formatterstring:
  2032. description: 格式化字符
  2033. type: string
  2034. formattertype:
  2035. description: 格式化类型
  2036. type: string
  2037. groupname:
  2038. description: 表头分组名称
  2039. type: string
  2040. isshow:
  2041. description: 是否显示 - 0:不显示 1:显示
  2042. type: integer
  2043. needsummary:
  2044. description: 是否需要汇总 - 0:不需要 1:需要
  2045. type: integer
  2046. orderindex:
  2047. description: 顺序
  2048. type: integer
  2049. remark:
  2050. description: 备注
  2051. type: string
  2052. summarytype:
  2053. description: 汇总类型 - 1:加总 2:最后一个
  2054. type: integer
  2055. tablekey:
  2056. description: 列表Key
  2057. type: string
  2058. required:
  2059. - autoid
  2060. type: object
  2061. models.Userinfo:
  2062. properties:
  2063. address:
  2064. description: 地址
  2065. type: string
  2066. attachment1:
  2067. description: 附件1
  2068. type: string
  2069. attachment2:
  2070. description: 附件2
  2071. type: string
  2072. bankaccount:
  2073. description: 银行帐号 (加密存储)
  2074. type: string
  2075. bankaccountname:
  2076. description: 收款人名称
  2077. type: string
  2078. bankcardfrontphotourl:
  2079. description: 银行卡正面照地址
  2080. type: string
  2081. bankid:
  2082. description: 银行编码
  2083. type: string
  2084. bankname:
  2085. description: 银行名称
  2086. type: string
  2087. biznature:
  2088. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2089. type: integer
  2090. bizscope:
  2091. description: 企业经营范围(企业)
  2092. type: string
  2093. cardbackphotourl:
  2094. description: 证件背面图片地址
  2095. type: string
  2096. cardfrontphotourl:
  2097. description: 证件正面图片地址
  2098. type: string
  2099. cardnum:
  2100. description: 证件号码(加密存储)
  2101. type: string
  2102. cardtypeid:
  2103. description: 证件类型ID
  2104. type: integer
  2105. cityid:
  2106. description: 市
  2107. type: integer
  2108. company:
  2109. description: 公司(个人)
  2110. type: string
  2111. contactname:
  2112. description: 联系人
  2113. type: string
  2114. countryid:
  2115. description: 国家
  2116. type: integer
  2117. createtime:
  2118. description: 创建时间
  2119. type: string
  2120. creatorid:
  2121. description: 创建人
  2122. type: integer
  2123. customername:
  2124. description: 客户名称(企业名称)
  2125. type: string
  2126. districtid:
  2127. description: 地区
  2128. type: integer
  2129. email:
  2130. description: 邮件(加密存储)
  2131. type: string
  2132. fax:
  2133. description: 传真(加密存储)
  2134. type: string
  2135. halfbodyphotourl:
  2136. description: 半身照地址
  2137. type: string
  2138. hasencrypt:
  2139. description: 数据是否已加密 - 0:未加密 1:已加密
  2140. type: integer
  2141. headurl:
  2142. description: 头像地址
  2143. type: string
  2144. legalcardbackphotourl:
  2145. description: 法人身份证背面照地址
  2146. type: string
  2147. legalcardfrontphotourl:
  2148. description: 法人身份证正面照地址
  2149. type: string
  2150. legalpersonname:
  2151. description: 法人姓名(企业)
  2152. type: string
  2153. mobile:
  2154. description: 手机号码(加密存储)
  2155. type: string
  2156. mobile2:
  2157. description: 手机号码[明文-尚志]
  2158. type: string
  2159. modifierid:
  2160. description: 修改人
  2161. type: integer
  2162. modifiertime:
  2163. description: 修改时间
  2164. type: string
  2165. needinvoice:
  2166. description: 是否需要发票 - 0:不需要 1:需要
  2167. type: integer
  2168. nickname:
  2169. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  2170. type: string
  2171. openmode:
  2172. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  2173. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  2174. type: integer
  2175. otherurl:
  2176. description: 其它图片地址[使用分号分隔]
  2177. type: string
  2178. postalcode:
  2179. description: 邮政编码
  2180. type: string
  2181. provinceid:
  2182. description: 省
  2183. type: integer
  2184. qq:
  2185. description: QQ(加密存储
  2186. type: string
  2187. remark:
  2188. description: 备注
  2189. type: string
  2190. sex:
  2191. description: '用户性别 0: 女 1: 男'
  2192. type: integer
  2193. signpdfurl:
  2194. description: 签约pdf文件
  2195. type: string
  2196. telphone:
  2197. description: 联系电话(加密存储)
  2198. type: string
  2199. userid:
  2200. description: 用户ID
  2201. type: integer
  2202. userinfotype:
  2203. description: 用户信息类型 - 1:个人 2:企业
  2204. type: integer
  2205. userstatus:
  2206. description: 用户状态 - 1:正常 2:注销
  2207. type: integer
  2208. usertype:
  2209. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  2210. type: integer
  2211. wechat:
  2212. description: 微信(加密存储)
  2213. type: string
  2214. wskhinfo:
  2215. description: 开户申请信息(JSON)
  2216. type: string
  2217. required:
  2218. - userid
  2219. type: object
  2220. order.QueryHisTradeDetailRsp:
  2221. properties:
  2222. accountid:
  2223. description: 账户ID[报价币种]
  2224. type: integer
  2225. buildtype:
  2226. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  2227. type: integer
  2228. buyorsell:
  2229. description: 方向 - 0:买 1:卖
  2230. type: integer
  2231. charge:
  2232. description: 手续费
  2233. type: number
  2234. closecharge:
  2235. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  2236. type: number
  2237. closeexchagechargevalue:
  2238. description: 平仓交易所手续费设置值
  2239. type: number
  2240. closefeealgorithm:
  2241. description: 平仓手续费收取方式 1:比率 2:固定
  2242. type: integer
  2243. closememberchargevalue:
  2244. description: 平仓会员手续费设置值
  2245. type: number
  2246. closepl:
  2247. description: 平仓盈亏
  2248. type: number
  2249. closepl2:
  2250. description: 平仓盈亏[逐笔]
  2251. type: number
  2252. closeqty:
  2253. description: 平仓数量(先建后平操作 需要记录)
  2254. type: integer
  2255. creditamount:
  2256. description: 授信金额
  2257. type: number
  2258. gcaccountid:
  2259. description: 账户ID[合约币种]
  2260. type: integer
  2261. goodscode:
  2262. description: 商品代码
  2263. type: string
  2264. goodsid:
  2265. description: 商品ID
  2266. type: integer
  2267. goodsname:
  2268. description: 商品名称
  2269. type: string
  2270. histradedate:
  2271. description: 历史交易日
  2272. type: string
  2273. intclosepl:
  2274. description: 整型盈亏(用于交易结算试算平衡-收益权)
  2275. type: integer
  2276. isconfirmexercise:
  2277. description: 是否确认行权- 0:否 1:是
  2278. type: integer
  2279. ismain:
  2280. description: 是否主单 - 0:不是 1:是
  2281. type: integer
  2282. ispreexercise:
  2283. description: 是否预申报- 0:否 1:是
  2284. type: integer
  2285. isreckoned:
  2286. description: 是否结算 - 0:未结算 1:已结算
  2287. type: integer
  2288. isvaliddata:
  2289. description: 是否有效 - 0:无效 1:有效
  2290. type: integer
  2291. listingselecttype:
  2292. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  2293. type: integer
  2294. marketid:
  2295. description: 市场ID
  2296. type: integer
  2297. marketname:
  2298. description: 市场名称
  2299. type: string
  2300. matchaccountid:
  2301. description: 对手账号id
  2302. type: integer
  2303. memberuserid:
  2304. description: 会员id 个人投资者 需要填写
  2305. type: integer
  2306. opencharge:
  2307. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  2308. type: number
  2309. openexchagechargevalue:
  2310. description: 建仓交易所手续费设置值
  2311. type: number
  2312. openfeealgorithm:
  2313. description: 建仓手续费收取方式 1:比率 2:固定
  2314. type: integer
  2315. openmemberchargevalue:
  2316. description: 建仓会员手续费设置值
  2317. type: number
  2318. openqty:
  2319. description: 开仓数量(先建后平操作 需要记录)
  2320. type: integer
  2321. optiontype:
  2322. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  2323. type: integer
  2324. orderid:
  2325. description: 委托单号
  2326. type: string
  2327. performanceplanid:
  2328. description: 履约计划ID[期权]
  2329. type: integer
  2330. performancestatus:
  2331. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  2332. type: integer
  2333. preexerciseprice:
  2334. description: 预申报价格
  2335. type: number
  2336. premium:
  2337. description: 权利金 - [持仓单的权利金]
  2338. type: number
  2339. relatedouttradeid:
  2340. description: 关联外部成交单ID
  2341. type: integer
  2342. status:
  2343. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  2344. type: integer
  2345. tradeamount:
  2346. description: 成交金额[账户币种,用于所有权]
  2347. type: number
  2348. tradedate:
  2349. description: 交易日(yyyyMMdd)
  2350. type: string
  2351. tradeid:
  2352. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2353. type: string
  2354. trademode:
  2355. description: 交易模式
  2356. type: integer
  2357. tradeprice:
  2358. description: 成交价格
  2359. type: number
  2360. tradeproperty:
  2361. description: 交易属性
  2362. type: integer
  2363. tradeqty:
  2364. description: 成交数量
  2365. type: integer
  2366. tradetime:
  2367. description: 成交时间
  2368. type: string
  2369. tradetype:
  2370. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  2371. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  2372. type: integer
  2373. required:
  2374. - accountid
  2375. - buyorsell
  2376. - goodsid
  2377. - histradedate
  2378. - marketid
  2379. - memberuserid
  2380. - orderid
  2381. - tradeamount
  2382. - tradedate
  2383. - tradeid
  2384. - tradeprice
  2385. - tradeqty
  2386. - tradetime
  2387. type: object
  2388. order.QueryHisTradeOrderDetailRsp:
  2389. properties:
  2390. accountid:
  2391. description: 账户ID[报价币种]
  2392. type: integer
  2393. buildtype:
  2394. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  2395. type: integer
  2396. buyorsell:
  2397. description: 买卖 - 0:买 1:卖
  2398. type: integer
  2399. cancelorderid:
  2400. description: 撤单单号(撤单时填写)
  2401. type: string
  2402. cancelqty:
  2403. description: 撤单数量
  2404. type: integer
  2405. clientordertime:
  2406. description: 客户端委托时间
  2407. type: string
  2408. clientticket:
  2409. description: 客户端流水号
  2410. type: string
  2411. clienttype:
  2412. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  2413. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  2414. type: integer
  2415. closeexchagechargevalue:
  2416. description: 平仓交易所手续费设置值
  2417. type: number
  2418. closefeealgorithm:
  2419. description: 平仓手续费收取方式 1:比率 2:固定
  2420. type: integer
  2421. closefreezecharge:
  2422. description: 平仓冻结手续费(先建后平操作,需要记录)
  2423. type: number
  2424. closememberchargevalue:
  2425. description: 平仓会员手续费设置值
  2426. type: number
  2427. closeqty:
  2428. description: 平仓数量(先建后平操作 需要记录)
  2429. type: integer
  2430. closetradeqty:
  2431. description: 平仓成交数量(先建后平操作,需要记录)
  2432. type: integer
  2433. closeunfreezecharge:
  2434. description: 平仓解冻手续费(先建后平操作,需要记录)
  2435. type: number
  2436. delistingtype:
  2437. description: 摘牌类型 - 1:价格最优 2:点选成交
  2438. type: integer
  2439. freezecharge:
  2440. description: 冻结手续费
  2441. type: number
  2442. freezemargin:
  2443. description: 冻结保证金(冻结交易金额)
  2444. type: number
  2445. gcaccountid:
  2446. description: 账户ID[合约币种]
  2447. type: integer
  2448. goodscode:
  2449. description: 商品代码
  2450. type: string
  2451. goodsid:
  2452. description: 商品ID
  2453. type: integer
  2454. goodsname:
  2455. description: 商品名称
  2456. type: string
  2457. histradedate:
  2458. description: 历史交易日
  2459. type: string
  2460. isconfirmexercise:
  2461. description: 是否确认行权- 0:否 1:是
  2462. type: integer
  2463. ispreexercise:
  2464. description: 是否预申报- 0:否 1:是
  2465. type: integer
  2466. isvaliddata:
  2467. description: 是否有效 - 0:无效 1:有效
  2468. type: integer
  2469. listingselecttype:
  2470. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  2471. type: integer
  2472. marginalgorithm:
  2473. description: 保证金收取方式 1:比率 2:固定
  2474. type: integer
  2475. marginvalue:
  2476. description: 即市保证金设置值
  2477. type: number
  2478. marketid:
  2479. description: 市场ID
  2480. type: integer
  2481. marketmaxsub:
  2482. description: 市价最大偏移范围
  2483. type: number
  2484. marketname:
  2485. description: 市场名称
  2486. type: string
  2487. memberuserid:
  2488. description: 所属会员UserID
  2489. type: integer
  2490. openexchagechargevalue:
  2491. description: 建仓交易所手续费设置值
  2492. type: number
  2493. openfeealgorithm:
  2494. description: 建仓手续费收取方式 1:比率 2:固定
  2495. type: integer
  2496. openfreezecharge:
  2497. description: 开仓冻结手续费(先建后平操作,需要记录)
  2498. type: number
  2499. openmemberchargevalue:
  2500. description: 建仓会员手续费设置值
  2501. type: number
  2502. openqty:
  2503. description: 开仓数量(先建后平操作,需要记录)
  2504. type: integer
  2505. opentradeqty:
  2506. description: 开仓成交数量(先建后平操作,需要记录)
  2507. type: integer
  2508. openunfreezecharge:
  2509. description: 开仓解冻手续费(先建后平操作,需要记录)
  2510. type: number
  2511. operatetype:
  2512. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  2513. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  2514. 15:管理端协议转让
  2515. type: integer
  2516. operatorid:
  2517. description: 登录账号(LoginID)
  2518. type: integer
  2519. optiontype:
  2520. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  2521. type: integer
  2522. orderid:
  2523. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2524. type: string
  2525. orderprice:
  2526. description: 委托价格
  2527. type: number
  2528. orderqty:
  2529. description: 委托数量
  2530. type: integer
  2531. ordersrc:
  2532. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  2533. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  2534. type: integer
  2535. orderstatus:
  2536. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  2537. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  2538. 16:成交失败违约(荷兰式竞拍专用)
  2539. type: integer
  2540. ordertime:
  2541. description: 委托时间
  2542. type: string
  2543. preexerciseprice:
  2544. description: 预申报价格
  2545. type: number
  2546. premium:
  2547. description: 权利金
  2548. type: number
  2549. preorderid:
  2550. description: 关联预埋单号(止盈止损单时填写)
  2551. type: string
  2552. pricemode:
  2553. description: '取价方式 - 1:市价 2: 限价'
  2554. type: integer
  2555. quoteid:
  2556. description: 报价单ID
  2557. type: integer
  2558. relatedid:
  2559. description: 关联单号(交割单)
  2560. type: string
  2561. retcode:
  2562. description: 错误代码
  2563. type: integer
  2564. sessionid:
  2565. description: 会话ID
  2566. type: integer
  2567. tradedate:
  2568. description: 交易日(yyyyMMdd)
  2569. type: string
  2570. trademode:
  2571. description: 交易模式
  2572. type: integer
  2573. tradeproperty:
  2574. description: 交易属性
  2575. type: integer
  2576. tradeqty:
  2577. description: 成交数量
  2578. type: integer
  2579. unfreezecharge:
  2580. description: 解冻手续费
  2581. type: number
  2582. unfreezemargin:
  2583. description: 解冻保证金
  2584. type: number
  2585. updatetime:
  2586. description: 更新时间
  2587. type: string
  2588. uuid:
  2589. description: 发起端唯一id
  2590. type: string
  2591. validtime:
  2592. description: 有效期限
  2593. type: string
  2594. validtype:
  2595. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  2596. type: integer
  2597. volumetype:
  2598. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  2599. type: integer
  2600. required:
  2601. - accountid
  2602. - buildtype
  2603. - buyorsell
  2604. - goodsid
  2605. - histradedate
  2606. - marketid
  2607. - memberuserid
  2608. - operatetype
  2609. - orderid
  2610. - orderqty
  2611. - ordertime
  2612. - pricemode
  2613. - tradedate
  2614. - validtype
  2615. type: object
  2616. order.QueryTradeDetailRsp:
  2617. properties:
  2618. accountid:
  2619. description: 账户ID[报价币种]
  2620. type: integer
  2621. buildtype:
  2622. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  2623. type: integer
  2624. buyorsell:
  2625. description: 方向 - 0:买 1:卖
  2626. type: integer
  2627. charge:
  2628. description: 手续费
  2629. type: number
  2630. closecharge:
  2631. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  2632. type: number
  2633. closeexchagechargevalue:
  2634. description: 平仓交易所手续费设置值
  2635. type: number
  2636. closefeealgorithm:
  2637. description: 平仓手续费收取方式 1:比率 2:固定
  2638. type: integer
  2639. closememberchargevalue:
  2640. description: 平仓会员手续费设置值
  2641. type: number
  2642. closepl:
  2643. description: 平仓盈亏
  2644. type: number
  2645. closepl2:
  2646. description: 平仓盈亏[逐笔]
  2647. type: number
  2648. closeqty:
  2649. description: 平仓数量(先建后平操作 需要记录)
  2650. type: integer
  2651. creditamount:
  2652. description: 授信金额
  2653. type: number
  2654. gcaccountid:
  2655. description: 账户ID[合约币种]
  2656. type: integer
  2657. goodscode:
  2658. description: 商品代码
  2659. type: string
  2660. goodsid:
  2661. description: 商品ID
  2662. type: integer
  2663. goodsname:
  2664. description: 商品名称
  2665. type: string
  2666. intclosepl:
  2667. description: 整型盈亏(用于交易结算试算平衡-收益权)
  2668. type: integer
  2669. isconfirmexercise:
  2670. description: 是否确认行权- 0:否 1:是
  2671. type: integer
  2672. ismain:
  2673. description: 是否主单 - 0:不是 1:是
  2674. type: integer
  2675. ispreexercise:
  2676. description: 是否预申报- 0:否 1:是
  2677. type: integer
  2678. isreckoned:
  2679. description: 是否结算 - 0:未结算 1:已结算
  2680. type: integer
  2681. listingselecttype:
  2682. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  2683. type: integer
  2684. marketid:
  2685. description: 市场ID
  2686. type: integer
  2687. marketname:
  2688. description: 市场名称
  2689. type: string
  2690. matchaccountid:
  2691. description: 对手账号id
  2692. type: integer
  2693. memberuserid:
  2694. description: 会员id 个人投资者 需要填写
  2695. type: integer
  2696. opencharge:
  2697. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  2698. type: number
  2699. openexchagechargevalue:
  2700. description: 建仓交易所手续费设置值
  2701. type: number
  2702. openfeealgorithm:
  2703. description: 建仓手续费收取方式 1:比率 2:固定
  2704. type: integer
  2705. openmemberchargevalue:
  2706. description: 建仓会员手续费设置值
  2707. type: number
  2708. openqty:
  2709. description: 开仓数量(先建后平操作 需要记录)
  2710. type: integer
  2711. optiontype:
  2712. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  2713. type: integer
  2714. orderid:
  2715. description: 委托单号
  2716. type: string
  2717. performanceplanid:
  2718. description: 履约计划ID[期权]
  2719. type: integer
  2720. performancestatus:
  2721. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  2722. type: integer
  2723. preexerciseprice:
  2724. description: 预申报价格
  2725. type: number
  2726. premium:
  2727. description: 权利金 - [持仓单的权利金]
  2728. type: number
  2729. relatedouttradeid:
  2730. description: 关联外部成交单ID
  2731. type: integer
  2732. status:
  2733. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  2734. type: integer
  2735. tradeamount:
  2736. description: 成交金额[账户币种,用于所有权]
  2737. type: number
  2738. tradedate:
  2739. description: 交易日(yyyyMMdd)
  2740. type: string
  2741. tradeid:
  2742. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2743. type: string
  2744. trademode:
  2745. description: 交易模式
  2746. type: integer
  2747. tradeprice:
  2748. description: 成交价格
  2749. type: number
  2750. tradeproperty:
  2751. description: 交易属性
  2752. type: integer
  2753. tradeqty:
  2754. description: 成交数量
  2755. type: integer
  2756. tradetime:
  2757. description: 成交时间
  2758. type: string
  2759. tradetype:
  2760. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  2761. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  2762. type: integer
  2763. required:
  2764. - accountid
  2765. - buyorsell
  2766. - goodsid
  2767. - marketid
  2768. - memberuserid
  2769. - orderid
  2770. - tradeamount
  2771. - tradedate
  2772. - tradeid
  2773. - tradeprice
  2774. - tradeqty
  2775. - tradetime
  2776. type: object
  2777. order.QueryTradeOrderDetailRsp:
  2778. properties:
  2779. accountid:
  2780. description: 账户ID[报价币种]
  2781. type: integer
  2782. buildtype:
  2783. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  2784. type: integer
  2785. buyorsell:
  2786. description: 买卖 - 0:买 1:卖
  2787. type: integer
  2788. cancelorderid:
  2789. description: 撤单单号(撤单时填写)
  2790. type: string
  2791. cancelqty:
  2792. description: 撤单数量
  2793. type: integer
  2794. clienttype:
  2795. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  2796. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  2797. type: integer
  2798. closefreezecharge:
  2799. description: 平仓冻结手续费(先建后平操作,需要记录)
  2800. type: number
  2801. closeqty:
  2802. description: 平仓数量(先建后平操作 需要记录)
  2803. type: integer
  2804. closetradeqty:
  2805. description: 平仓成交数量(先建后平操作,需要记录)
  2806. type: integer
  2807. closeunfreezecharge:
  2808. description: 平仓解冻手续费(先建后平操作,需要记录)
  2809. type: number
  2810. delistingtype:
  2811. description: 摘牌类型 - 1:价格最优 2:点选成交
  2812. type: integer
  2813. enableqty:
  2814. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  2815. type: integer
  2816. freezecharge:
  2817. description: 冻结手续费
  2818. type: number
  2819. freezemargin:
  2820. description: 冻结保证金(冻结交易金额)
  2821. type: number
  2822. goodscode:
  2823. description: 商品代码
  2824. type: string
  2825. goodsid:
  2826. description: 商品ID
  2827. type: integer
  2828. goodsname:
  2829. description: 商品名称
  2830. type: string
  2831. listingselecttype:
  2832. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  2833. type: integer
  2834. marketid:
  2835. description: 市场ID
  2836. type: integer
  2837. marketname:
  2838. description: 市场名称
  2839. type: string
  2840. openfreezecharge:
  2841. description: 开仓冻结手续费(先建后平操作,需要记录)
  2842. type: number
  2843. openqty:
  2844. description: 开仓数量(先建后平操作,需要记录)
  2845. type: integer
  2846. opentradeqty:
  2847. description: 开仓成交数量(先建后平操作,需要记录)
  2848. type: integer
  2849. openunfreezecharge:
  2850. description: 开仓解冻手续费(先建后平操作,需要记录)
  2851. type: number
  2852. operatetype:
  2853. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  2854. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  2855. 15:管理端协议转让
  2856. type: integer
  2857. operatorid:
  2858. description: 登录账号(LoginID)
  2859. type: integer
  2860. orderid:
  2861. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2862. type: string
  2863. orderprice:
  2864. description: 委托价格
  2865. type: number
  2866. orderqty:
  2867. description: 委托数量
  2868. type: integer
  2869. ordersrc:
  2870. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  2871. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  2872. type: integer
  2873. orderstatus:
  2874. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  2875. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  2876. 16:成交失败违约(荷兰式竞拍专用)
  2877. type: integer
  2878. ordertime:
  2879. description: 委托时间
  2880. type: string
  2881. preorderid:
  2882. description: 关联预埋单号(止盈止损单时填写)
  2883. type: string
  2884. pricemode:
  2885. description: '取价方式 - 1:市价 2: 限价'
  2886. type: integer
  2887. relatedid:
  2888. description: 关联单号(交割单)
  2889. type: string
  2890. tradedate:
  2891. description: 交易日(yyyyMMdd)
  2892. type: string
  2893. trademode:
  2894. description: 交易模式
  2895. type: integer
  2896. tradeqty:
  2897. description: 成交数量
  2898. type: integer
  2899. unfreezecharge:
  2900. description: 解冻手续费
  2901. type: number
  2902. unfreezemargin:
  2903. description: 解冻保证金
  2904. type: number
  2905. validtime:
  2906. description: 有效期限
  2907. type: string
  2908. validtype:
  2909. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  2910. type: integer
  2911. volumetype:
  2912. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  2913. type: integer
  2914. required:
  2915. - accountid
  2916. - buildtype
  2917. - buyorsell
  2918. - goodsid
  2919. - marketid
  2920. - operatetype
  2921. - orderqty
  2922. - ordertime
  2923. - pricemode
  2924. - tradedate
  2925. - validtype
  2926. type: object
  2927. order.QueryTradePositionRsp:
  2928. properties:
  2929. accountid:
  2930. description: 资金账户
  2931. type: integer
  2932. agreeunit:
  2933. description: 合约单位
  2934. type: number
  2935. averageprice:
  2936. description: 持仓均价
  2937. type: number
  2938. buyorsell:
  2939. description: 方向 - 0:买 1:卖
  2940. type: integer
  2941. closetotalqty:
  2942. description: 平仓总数量
  2943. type: integer
  2944. curholderamount:
  2945. description: 当前持仓总金额[商品币种]
  2946. type: number
  2947. curpositionqty:
  2948. description: 当前持仓总数量
  2949. type: integer
  2950. currencyid:
  2951. description: 报价货币ID
  2952. type: integer
  2953. curtdposition:
  2954. description: 期末今日头寸
  2955. type: integer
  2956. decimalplace:
  2957. description: 报价小数位
  2958. type: integer
  2959. enableqty:
  2960. description: 可用量
  2961. type: integer
  2962. fretdposition:
  2963. description: 冻结今日头寸
  2964. type: integer
  2965. frozenqty:
  2966. description: 持仓冻结数量
  2967. type: integer
  2968. goodscode:
  2969. description: 商品代码
  2970. type: string
  2971. goodsid:
  2972. description: 商品Id
  2973. type: integer
  2974. goodsname:
  2975. description: 商品名称
  2976. type: string
  2977. goodunit:
  2978. description: 报价单位
  2979. type: string
  2980. goodunitid:
  2981. description: 报价单位ID
  2982. type: integer
  2983. holderamount:
  2984. description: 期初持仓总金额[商品币种]
  2985. type: number
  2986. marketid:
  2987. description: 所属市场ID
  2988. type: integer
  2989. openreqqty:
  2990. description: 开仓申请数量(用于比较最大持仓数量)
  2991. type: integer
  2992. opentotalqty:
  2993. description: 开仓总数量
  2994. type: integer
  2995. otherfrozenqty:
  2996. description: 持仓其他冻结数量(交割冻结)
  2997. type: integer
  2998. positionqty:
  2999. description: 期初持仓数量
  3000. type: integer
  3001. tnqty:
  3002. description: T+N冻结总量
  3003. type: integer
  3004. tnusedqty:
  3005. description: T+N使用量(可以使用T+N的冻结数量)
  3006. type: integer
  3007. trademode:
  3008. description: 交易模式
  3009. type: integer
  3010. required:
  3011. - goodsid
  3012. type: object
  3013. quote.HistoryData:
  3014. properties:
  3015. c:
  3016. description: 收盘价
  3017. type: number
  3018. h:
  3019. description: 最高价
  3020. type: number
  3021. hv:
  3022. description: 持仓量
  3023. type: integer
  3024. l:
  3025. description: 最低价
  3026. type: number
  3027. o:
  3028. description: 开盘价
  3029. type: number
  3030. s:
  3031. description: 结算价,日线周期(包括)以上才有
  3032. type: number
  3033. ts:
  3034. description: 开盘时间
  3035. type: string
  3036. tt:
  3037. description: 总金额
  3038. type: number
  3039. tv:
  3040. description: 总量
  3041. type: integer
  3042. type: object
  3043. quote.QueryTSDataRsp:
  3044. properties:
  3045. decimalPlace:
  3046. description: 小数位
  3047. type: integer
  3048. endTime:
  3049. description: 结束时间
  3050. type: string
  3051. goodsCode:
  3052. description: 商品代码
  3053. type: string
  3054. historyDatas:
  3055. description: 历史数据
  3056. items:
  3057. $ref: '#/definitions/quote.HistoryData'
  3058. type: array
  3059. preSettle:
  3060. description: 昨结
  3061. type: number
  3062. startTime:
  3063. description: 开始时间
  3064. type: string
  3065. tradeDate:
  3066. description: 交易日
  3067. type: string
  3068. type: object
  3069. szdz.QueryConvertLogRsp:
  3070. properties:
  3071. accountid:
  3072. description: 资金账户ID
  3073. type: integer
  3074. clientticket:
  3075. description: 客户端流水号
  3076. type: string
  3077. converttype:
  3078. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  3079. type: integer
  3080. createtime:
  3081. description: 记账时间
  3082. type: string
  3083. daymaxvalue:
  3084. description: 配置当日最大转入限制
  3085. type: number
  3086. daymaxvalue2:
  3087. description: 配置当日最大转入限制(转入)
  3088. type: number
  3089. goodscode:
  3090. description: 商品代码
  3091. type: string
  3092. goodsname:
  3093. description: 商品名称
  3094. type: string
  3095. handlestatus:
  3096. description: 处理状态
  3097. type: integer
  3098. innergoodsid:
  3099. description: 内部商品ID
  3100. type: integer
  3101. inratio:
  3102. description: 配置转入比值
  3103. type: integer
  3104. invalue:
  3105. description: 目标值
  3106. type: number
  3107. logid:
  3108. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3109. type: integer
  3110. mobile:
  3111. description: 手机号码(加密存储)
  3112. type: string
  3113. outergoodscode:
  3114. description: 外部商品代码[JD\PD]
  3115. type: string
  3116. outratio:
  3117. description: 配置转出比值
  3118. type: integer
  3119. outvalue:
  3120. description: 源值
  3121. type: number
  3122. pddecimalplace:
  3123. description: PD小数位
  3124. type: integer
  3125. qty:
  3126. description: 数量
  3127. type: string
  3128. remark:
  3129. description: 备注
  3130. type: string
  3131. sessionid:
  3132. description: 会话ID
  3133. type: integer
  3134. timemaxvalue:
  3135. description: 配置单次最大转入限制
  3136. type: number
  3137. timemaxvalue2:
  3138. description: 配置单次最大转入限制(转入)
  3139. type: number
  3140. timeminvalue:
  3141. description: 配置单次最小数量限制
  3142. type: number
  3143. timeminvalue2:
  3144. description: 配置单次最小数量限制(转入)
  3145. type: number
  3146. tradedate:
  3147. description: 交易日(yyyyMMdd)
  3148. type: string
  3149. userid:
  3150. description: 用户ID
  3151. type: integer
  3152. required:
  3153. - logid
  3154. type: object
  3155. szdz.QueryGoodsPickupRsp:
  3156. properties:
  3157. accountid:
  3158. description: 账户ID
  3159. type: integer
  3160. address:
  3161. description: 提货人详细地址
  3162. type: string
  3163. auditer:
  3164. description: 审核人
  3165. type: integer
  3166. audittime:
  3167. description: 审核时间
  3168. type: string
  3169. cardnum:
  3170. description: 提货人证件号码
  3171. type: string
  3172. cardtypeid:
  3173. description: 提货人证件类型
  3174. type: integer
  3175. checkremark:
  3176. description: 审核备注
  3177. type: string
  3178. goodscode:
  3179. description: 商品代码
  3180. type: string
  3181. goodsid:
  3182. description: 商品ID
  3183. type: integer
  3184. goodsname:
  3185. description: 商品名称
  3186. type: string
  3187. handlestatus:
  3188. description: 处理状态
  3189. type: integer
  3190. marketid:
  3191. description: 市场ID
  3192. type: integer
  3193. phonenum:
  3194. description: 提货人联系方式
  3195. type: string
  3196. qty:
  3197. description: 提货数量
  3198. type: number
  3199. recivername:
  3200. description: 提货人姓名
  3201. type: string
  3202. reqtime:
  3203. description: 更新时间
  3204. type: string
  3205. takemode:
  3206. description: 提货方式 - 2:自提 3:配送
  3207. type: integer
  3208. takeorderid:
  3209. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  3210. type: string
  3211. takeorderstatus:
  3212. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  3213. type: integer
  3214. takeremark:
  3215. description: 提货备注
  3216. type: string
  3217. tradedate:
  3218. description: 交易日(yyyyMMdd)
  3219. type: string
  3220. userid:
  3221. description: 用户ID
  3222. type: integer
  3223. required:
  3224. - takeorderid
  3225. type: object
  3226. szdz.QueryRecieptOrderRsp:
  3227. properties:
  3228. accountName:
  3229. description: 所属账号名称(已脱敏)
  3230. type: string
  3231. accountid:
  3232. description: 资金账号
  3233. type: integer
  3234. buyorsell:
  3235. description: 方向 - 0:买 1:卖
  3236. type: integer
  3237. enableqty:
  3238. description: 可摘数量
  3239. type: integer
  3240. goodscode:
  3241. description: 商品代码
  3242. type: string
  3243. goodsid:
  3244. description: 商品ID
  3245. type: integer
  3246. goodsname:
  3247. description: 商品名称
  3248. type: string
  3249. orderid:
  3250. description: 委托单号
  3251. type: string
  3252. orderprice:
  3253. description: 委托价格
  3254. type: number
  3255. tradedate:
  3256. description: 交易日(yyyyMMdd)
  3257. type: string
  3258. type: object
  3259. szdz.QuerySZDZTradePositionRsp:
  3260. properties:
  3261. accountid:
  3262. description: 账号Id
  3263. type: integer
  3264. agreeunit:
  3265. description: 合约单位
  3266. type: number
  3267. averageprice:
  3268. description: 持仓均价
  3269. type: number
  3270. buyorsell:
  3271. description: 方向 - 0:买 1:卖
  3272. type: integer
  3273. closetotalqty:
  3274. description: 平仓总数量
  3275. type: integer
  3276. curholderamount:
  3277. description: 当前持仓总金额
  3278. type: number
  3279. curpositionqty:
  3280. description: 当前持仓总数量
  3281. type: integer
  3282. currencyid:
  3283. description: 报价货币ID
  3284. type: integer
  3285. curtdposition:
  3286. description: 期末今日头寸
  3287. type: integer
  3288. decimalplace:
  3289. description: 报价小数位
  3290. type: integer
  3291. enableqty:
  3292. description: 可用量
  3293. type: integer
  3294. fretdposition:
  3295. description: 冻结今日头寸
  3296. type: integer
  3297. frozenqty:
  3298. description: 持仓冻结数量
  3299. type: integer
  3300. goodscode:
  3301. description: 商品代码(内部)
  3302. type: string
  3303. goodsid:
  3304. description: 商品Id
  3305. type: integer
  3306. goodsname:
  3307. description: 商品名称
  3308. type: string
  3309. goodunit:
  3310. description: 报价单位
  3311. type: string
  3312. goodunitid:
  3313. description: 报价单位ID
  3314. type: integer
  3315. holderamount:
  3316. description: 期初持仓总金额
  3317. type: number
  3318. marketid:
  3319. description: 市场ID
  3320. type: integer
  3321. openreqqty:
  3322. description: 开仓申请数量
  3323. type: integer
  3324. opentotalqty:
  3325. description: 开仓总数量
  3326. type: integer
  3327. otherfrozenqty:
  3328. description: 持仓其他冻结数量(交割冻结)
  3329. type: integer
  3330. positionqty:
  3331. description: 期初持仓数量
  3332. type: integer
  3333. szdz3freezqty:
  3334. description: 尚志大宗转换冻结总数量
  3335. type: integer
  3336. tnqty:
  3337. description: T+N冻结总量
  3338. type: integer
  3339. tnusedqty:
  3340. description: T+N使用量
  3341. type: integer
  3342. trademode:
  3343. description: 交易模式
  3344. type: integer
  3345. usedmargin:
  3346. description: 占用保证金
  3347. type: number
  3348. type: object
  3349. taaccount.QueryAmountLogRsp:
  3350. properties:
  3351. OPERATETYPENAME:
  3352. description: 资金操作类型名称
  3353. type: string
  3354. accountid:
  3355. description: 资金账户ID
  3356. type: integer
  3357. agoodscode:
  3358. description: 竞拍商品代码
  3359. type: string
  3360. agoodsname:
  3361. description: 竞拍商品名称
  3362. type: string
  3363. amount:
  3364. description: 资金金额
  3365. type: number
  3366. amountadjusttype:
  3367. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  3368. type: integer
  3369. autoid:
  3370. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  3371. type: integer
  3372. balance:
  3373. description: 期初余额
  3374. type: number
  3375. businesscode:
  3376. description: 业务编号
  3377. type: integer
  3378. createtime:
  3379. description: 发生时间
  3380. type: string
  3381. currencyid:
  3382. description: 币种ID
  3383. type: integer
  3384. currentbalance:
  3385. description: 期末余额(变动后金额)
  3386. type: number
  3387. dgoodscode:
  3388. description: 交割商品代码
  3389. type: string
  3390. dgoodsname:
  3391. description: 交割商品名称
  3392. type: string
  3393. goodscode:
  3394. description: 商品代码
  3395. type: string
  3396. goodsid:
  3397. description: 商品ID
  3398. type: integer
  3399. goodsname:
  3400. description: 商品名称
  3401. type: string
  3402. marketid:
  3403. description: 市场ID
  3404. type: integer
  3405. marketname:
  3406. description: 市场名称
  3407. type: string
  3408. moneyticket:
  3409. description: 资金流水号:银行端流水号
  3410. type: integer
  3411. operatetype:
  3412. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  3413. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  3414. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  3415. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  3416. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  3417. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  3418. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  3419. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  3420. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  3421. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  3422. type: integer
  3423. relationorderid:
  3424. description: 关联单号
  3425. type: string
  3426. remark:
  3427. description: 备注
  3428. type: string
  3429. trademode:
  3430. description: 交易模式
  3431. type: integer
  3432. required:
  3433. - accountid
  3434. - amount
  3435. - amountadjusttype
  3436. - autoid
  3437. - balance
  3438. - createtime
  3439. - currentbalance
  3440. - operatetype
  3441. type: object
  3442. taaccount.QueryHisAmountLogRsp:
  3443. properties:
  3444. OPERATETYPENAME:
  3445. description: 资金操作类型名称
  3446. type: string
  3447. accountid:
  3448. description: 资金账户ID
  3449. type: integer
  3450. agoodscode:
  3451. description: 竞拍商品代码
  3452. type: string
  3453. agoodsname:
  3454. description: 竞拍商品名称
  3455. type: string
  3456. amount:
  3457. description: 资金金额
  3458. type: number
  3459. amountadjusttype:
  3460. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  3461. type: integer
  3462. autoid:
  3463. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  3464. type: integer
  3465. balance:
  3466. description: 期初余额
  3467. type: number
  3468. businesscode:
  3469. description: 业务编号
  3470. type: integer
  3471. createtime:
  3472. description: 发生时间
  3473. type: string
  3474. currencyid:
  3475. description: 币种ID
  3476. type: integer
  3477. currentbalance:
  3478. description: 期末余额(变动后金额)
  3479. type: number
  3480. dgoodscode:
  3481. description: 交割商品代码
  3482. type: string
  3483. dgoodsname:
  3484. description: 交割商品名称
  3485. type: string
  3486. goodscode:
  3487. description: 商品代码
  3488. type: string
  3489. goodsid:
  3490. description: 商品ID
  3491. type: integer
  3492. goodsname:
  3493. description: 商品名称
  3494. type: string
  3495. histradedate:
  3496. description: 历史交易日
  3497. type: string
  3498. isvaliddata:
  3499. description: 是否有效 - 0:无效 1:有效
  3500. type: integer
  3501. marketid:
  3502. description: 市场ID
  3503. type: integer
  3504. marketname:
  3505. description: 市场名称
  3506. type: string
  3507. moneyticket:
  3508. description: 资金流水号:银行端流水号
  3509. type: integer
  3510. operatetype:
  3511. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  3512. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  3513. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  3514. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  3515. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  3516. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  3517. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  3518. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  3519. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  3520. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  3521. type: integer
  3522. relationorderid:
  3523. description: 关联单号
  3524. type: string
  3525. remark:
  3526. description: 备注
  3527. type: string
  3528. trademode:
  3529. description: 交易模式
  3530. type: integer
  3531. required:
  3532. - accountid
  3533. - amount
  3534. - amountadjusttype
  3535. - autoid
  3536. - balance
  3537. - createtime
  3538. - currentbalance
  3539. - histradedate
  3540. - operatetype
  3541. type: object
  3542. info:
  3543. contact: {}
  3544. description: 新的查询服务,替代原通用查询服务。
  3545. termsOfService: http://muchinfo.cn
  3546. title: MTP2.0 查询服务 API
  3547. version: "1.0"
  3548. paths:
  3549. /CPTrade/QueryCPTradeMyBidInfos:
  3550. get:
  3551. parameters:
  3552. - description: 资金账户
  3553. in: query
  3554. name: accountid
  3555. required: true
  3556. type: integer
  3557. - description: 预售市场ID
  3558. in: query
  3559. name: marketid
  3560. type: integer
  3561. - description: 预售商品ID
  3562. in: query
  3563. name: goodsid
  3564. type: integer
  3565. produces:
  3566. - application/json
  3567. responses:
  3568. "200":
  3569. description: OK
  3570. schema:
  3571. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  3572. "500":
  3573. description: Internal Server Error
  3574. schema:
  3575. $ref: '#/definitions/app.Response'
  3576. security:
  3577. - ApiKeyAuth: []
  3578. summary: 查询产能预售我的出价信息
  3579. tags:
  3580. - 产能预售
  3581. /CPTrade/QueryCPTradeOrderDetail:
  3582. get:
  3583. parameters:
  3584. - description: 预售商品ID
  3585. in: query
  3586. name: goodsid
  3587. type: integer
  3588. - description: 预售市场ID
  3589. in: query
  3590. name: marketid
  3591. type: integer
  3592. - description: 预售商品ID列表 - 格式:1,2,3
  3593. in: query
  3594. name: goodsids
  3595. type: string
  3596. produces:
  3597. - application/json
  3598. responses:
  3599. "200":
  3600. description: OK
  3601. schema:
  3602. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  3603. "500":
  3604. description: Internal Server Error
  3605. schema:
  3606. $ref: '#/definitions/app.Response'
  3607. security:
  3608. - ApiKeyAuth: []
  3609. summary: 查询产能预售委托单信息
  3610. tags:
  3611. - 产能预售
  3612. /CPTrade/QueryMyCPTradeGoods:
  3613. get:
  3614. parameters:
  3615. - description: 资金账户
  3616. in: query
  3617. name: accountid
  3618. required: true
  3619. type: integer
  3620. produces:
  3621. - application/json
  3622. responses:
  3623. "200":
  3624. description: OK
  3625. schema:
  3626. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  3627. "500":
  3628. description: Internal Server Error
  3629. schema:
  3630. $ref: '#/definitions/app.Response'
  3631. security:
  3632. - ApiKeyAuth: []
  3633. summary: 查询我的预售信息
  3634. tags:
  3635. - 产能预售
  3636. /CPTrade/QueryPositionCancel:
  3637. get:
  3638. parameters:
  3639. - description: 账户ID
  3640. in: query
  3641. name: userid
  3642. required: true
  3643. type: integer
  3644. - description: 注销ID
  3645. in: query
  3646. name: cancelid
  3647. type: integer
  3648. - description: 资金账户ID
  3649. in: query
  3650. name: accountid
  3651. type: integer
  3652. produces:
  3653. - application/json
  3654. responses:
  3655. "200":
  3656. description: OK
  3657. schema:
  3658. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  3659. "500":
  3660. description: Internal Server Error
  3661. schema:
  3662. $ref: '#/definitions/app.Response'
  3663. security:
  3664. - ApiKeyAuth: []
  3665. summary: 查询远期订单注销申请信息
  3666. tags:
  3667. - 产能预售
  3668. /CPTrade/QueryPreasleApply:
  3669. get:
  3670. parameters:
  3671. - description: 账户ID
  3672. in: query
  3673. name: userid
  3674. required: true
  3675. type: integer
  3676. - description: 申请ID
  3677. in: query
  3678. name: applyid
  3679. type: integer
  3680. - description: 资金账户ID
  3681. in: query
  3682. name: accountid
  3683. type: integer
  3684. produces:
  3685. - application/json
  3686. responses:
  3687. "200":
  3688. description: OK
  3689. schema:
  3690. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  3691. "500":
  3692. description: Internal Server Error
  3693. schema:
  3694. $ref: '#/definitions/app.Response'
  3695. security:
  3696. - ApiKeyAuth: []
  3697. summary: 查询产能预售申请信息
  3698. tags:
  3699. - 产能预售
  3700. /CPTrade/QueryPresaleGoodsEx:
  3701. get:
  3702. parameters:
  3703. - description: 预售商品ID
  3704. in: query
  3705. name: goodsid
  3706. type: integer
  3707. - description: 预售市场ID
  3708. in: query
  3709. name: marketid
  3710. type: integer
  3711. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  3712. in: query
  3713. name: presalemode
  3714. type: integer
  3715. - description: 预售商品ID列表 - 格式:1,2,3
  3716. in: query
  3717. name: goodsids
  3718. type: string
  3719. - description: 预售商品代码
  3720. in: query
  3721. name: goodscode
  3722. type: string
  3723. produces:
  3724. - application/json
  3725. responses:
  3726. "200":
  3727. description: OK
  3728. schema:
  3729. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  3730. "500":
  3731. description: Internal Server Error
  3732. schema:
  3733. $ref: '#/definitions/app.Response'
  3734. security:
  3735. - ApiKeyAuth: []
  3736. summary: 查询产能预售商品扩展信息
  3737. tags:
  3738. - 产能预售
  3739. /CPTrade/QueryUserGoodsData:
  3740. get:
  3741. parameters:
  3742. - description: 资金账户ID
  3743. in: query
  3744. name: accountid
  3745. required: true
  3746. type: integer
  3747. produces:
  3748. - application/json
  3749. responses:
  3750. "200":
  3751. description: OK
  3752. schema:
  3753. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  3754. "500":
  3755. description: Internal Server Error
  3756. schema:
  3757. $ref: '#/definitions/app.Response'
  3758. security:
  3759. - ApiKeyAuth: []
  3760. summary: 查询远期订单信息
  3761. tags:
  3762. - 产能预售
  3763. /Common/NoticeReaded:
  3764. post:
  3765. parameters:
  3766. - description: 登录账号
  3767. in: query
  3768. name: loginID
  3769. required: true
  3770. type: integer
  3771. - description: 通知公告ID
  3772. in: query
  3773. name: noticeID
  3774. required: true
  3775. type: integer
  3776. produces:
  3777. - application/json
  3778. responses:
  3779. "200":
  3780. description: OK
  3781. schema:
  3782. $ref: '#/definitions/app.Response'
  3783. "500":
  3784. description: Internal Server Error
  3785. schema:
  3786. $ref: '#/definitions/app.Response'
  3787. security:
  3788. - ApiKeyAuth: []
  3789. summary: 通知公告设置已读请求
  3790. tags:
  3791. - 通用服务
  3792. /Common/QueryNotice:
  3793. get:
  3794. parameters:
  3795. - description: 页码
  3796. in: query
  3797. name: page
  3798. type: integer
  3799. - description: 每页条数
  3800. in: query
  3801. name: pagesize
  3802. type: integer
  3803. - description: 登录账号
  3804. in: query
  3805. name: loginID
  3806. required: true
  3807. type: integer
  3808. - description: 消息类型 - 1:公告通知 2:系统消息
  3809. in: query
  3810. name: msgType
  3811. type: integer
  3812. - description: 是否只获取未读信息
  3813. in: query
  3814. name: onlyUnRead
  3815. type: boolean
  3816. produces:
  3817. - application/json
  3818. responses:
  3819. "200":
  3820. description: OK
  3821. schema:
  3822. $ref: '#/definitions/common.QueryNoticeRsp'
  3823. "500":
  3824. description: Internal Server Error
  3825. schema:
  3826. $ref: '#/definitions/app.Response'
  3827. security:
  3828. - ApiKeyAuth: []
  3829. summary: 通知公告系统消息查询
  3830. tags:
  3831. - 通用服务
  3832. /Common/QueryProvincesAndCities:
  3833. get:
  3834. parameters:
  3835. - description: 省ID
  3836. in: query
  3837. name: provinceID
  3838. type: integer
  3839. produces:
  3840. - application/json
  3841. responses:
  3842. "200":
  3843. description: OK
  3844. schema:
  3845. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  3846. "500":
  3847. description: Internal Server Error
  3848. schema:
  3849. $ref: '#/definitions/app.Response'
  3850. summary: 查询省市信息(不包括区)
  3851. tags:
  3852. - 通用服务
  3853. /Common/QueryTableDefine:
  3854. get:
  3855. parameters:
  3856. - description: 表key
  3857. in: query
  3858. name: TableKey
  3859. type: string
  3860. produces:
  3861. - application/json
  3862. responses:
  3863. "200":
  3864. description: OK
  3865. schema:
  3866. $ref: '#/definitions/common.QueryTableDefineRsp'
  3867. "500":
  3868. description: Internal Server Error
  3869. schema:
  3870. $ref: '#/definitions/app.Response'
  3871. summary: 查询交易端列表头信息
  3872. tags:
  3873. - 通用服务
  3874. /Common/QueryTraderMenu:
  3875. get:
  3876. parameters:
  3877. - description: 登录账号
  3878. in: query
  3879. name: loginid
  3880. required: true
  3881. type: integer
  3882. produces:
  3883. - application/json
  3884. responses:
  3885. "200":
  3886. description: OK
  3887. schema:
  3888. $ref: '#/definitions/common.QueryTraderMenuRsp'
  3889. "500":
  3890. description: Internal Server Error
  3891. schema:
  3892. $ref: '#/definitions/app.Response'
  3893. summary: 查询交易端菜单
  3894. tags:
  3895. - 通用服务
  3896. /Delivery/QueryDeliveryRelation:
  3897. get:
  3898. parameters:
  3899. - description: 商品ID
  3900. in: query
  3901. name: goodsid
  3902. type: integer
  3903. - description: 品种ID
  3904. in: query
  3905. name: deliverygoodsid
  3906. type: integer
  3907. - description: 市场ID
  3908. in: query
  3909. name: marketid
  3910. type: integer
  3911. produces:
  3912. - application/json
  3913. responses:
  3914. "200":
  3915. description: OK
  3916. schema:
  3917. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  3918. "500":
  3919. description: Internal Server Error
  3920. schema:
  3921. $ref: '#/definitions/app.Response'
  3922. security:
  3923. - ApiKeyAuth: []
  3924. summary: 查询商品交割关系表
  3925. tags:
  3926. - 交割服务
  3927. /Erms2/QueryArbitrageStrategy:
  3928. get:
  3929. parameters:
  3930. - description: 账户ID
  3931. in: query
  3932. name: userid
  3933. required: true
  3934. type: integer
  3935. - description: 商品组ID(品种ID)
  3936. in: query
  3937. name: goodsgroupid
  3938. type: string
  3939. produces:
  3940. - application/json
  3941. responses:
  3942. "200":
  3943. description: OK
  3944. schema:
  3945. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  3946. "500":
  3947. description: Internal Server Error
  3948. schema:
  3949. $ref: '#/definitions/app.Response'
  3950. security:
  3951. - ApiKeyAuth: []
  3952. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  3953. tags:
  3954. - 风险管理
  3955. /Erms2/QueryInnerTradeDetail:
  3956. get:
  3957. parameters:
  3958. - description: 资金账户
  3959. in: query
  3960. name: accountid
  3961. required: true
  3962. type: integer
  3963. produces:
  3964. - application/json
  3965. responses:
  3966. "200":
  3967. description: OK
  3968. schema:
  3969. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  3970. "500":
  3971. description: Internal Server Error
  3972. schema:
  3973. $ref: '#/definitions/app.Response'
  3974. security:
  3975. - ApiKeyAuth: []
  3976. summary: 查询内部成交单信息
  3977. tags:
  3978. - 风险管理
  3979. /Erms2/QuerySpotContract:
  3980. get:
  3981. parameters:
  3982. - description: 策略申请ID
  3983. in: query
  3984. name: asapplyid
  3985. required: true
  3986. type: integer
  3987. - description: 现货合同ID
  3988. in: query
  3989. name: spotcontractid
  3990. type: integer
  3991. produces:
  3992. - application/json
  3993. responses:
  3994. "200":
  3995. description: OK
  3996. schema:
  3997. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  3998. "500":
  3999. description: Internal Server Error
  4000. schema:
  4001. $ref: '#/definitions/app.Response'
  4002. security:
  4003. - ApiKeyAuth: []
  4004. summary: 查询现货合同表信息(指定策略ID、未结束的)
  4005. tags:
  4006. - 风险管理
  4007. /HSBY/QueryHsbyGoodsOrderDetails:
  4008. get:
  4009. description: 说明:查询结果已按委托价格和委托时间排序
  4010. parameters:
  4011. - description: 商品ID
  4012. in: query
  4013. name: goodsID
  4014. required: true
  4015. type: integer
  4016. - description: 委托单方向。0:买 1:卖。不传则默认为买
  4017. in: query
  4018. name: buyOrSell
  4019. type: integer
  4020. - description: ' 参考价格。买方向委托单则价格大于等于(站在摘牌人的角度);卖方向委托单则价格小于等于'
  4021. in: query
  4022. name: price
  4023. type: number
  4024. - description: 档位,不传则默认为3档
  4025. in: query
  4026. name: speed
  4027. type: integer
  4028. produces:
  4029. - application/json
  4030. responses:
  4031. "200":
  4032. description: OK
  4033. schema:
  4034. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  4035. "500":
  4036. description: Internal Server Error
  4037. schema:
  4038. $ref: '#/definitions/app.Response'
  4039. security:
  4040. - ApiKeyAuth: []
  4041. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  4042. tags:
  4043. - 定制【海商报业】
  4044. /HSBY/QueryHsbyListingGoodsDetail:
  4045. get:
  4046. parameters:
  4047. - description: 商品ID
  4048. in: query
  4049. name: goodsID
  4050. required: true
  4051. type: integer
  4052. produces:
  4053. - application/json
  4054. responses:
  4055. "200":
  4056. description: OK
  4057. schema:
  4058. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  4059. "500":
  4060. description: Internal Server Error
  4061. schema:
  4062. $ref: '#/definitions/app.Response'
  4063. security:
  4064. - ApiKeyAuth: []
  4065. summary: 查询二级市场(挂牌点选)商品信息详情
  4066. tags:
  4067. - 定制【海商报业】
  4068. /HSBY/QueryHsbyMyBuyOrderDetails:
  4069. get:
  4070. description: 说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;
  4071. parameters:
  4072. - description: 资金账户列表,格式:1,2,3
  4073. in: query
  4074. name: accountIDs
  4075. required: true
  4076. type: string
  4077. - description: '''我的订单''状态, 1:抢购中 2:求购中 3:已完成;不传则为''全部'''
  4078. in: query
  4079. name: myBuyStatus
  4080. type: integer
  4081. produces:
  4082. - application/json
  4083. responses:
  4084. "200":
  4085. description: OK
  4086. schema:
  4087. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  4088. "500":
  4089. description: Internal Server Error
  4090. schema:
  4091. $ref: '#/definitions/app.Response'
  4092. security:
  4093. - ApiKeyAuth: []
  4094. summary: 查询“我的订单”信息
  4095. tags:
  4096. - 定制【海商报业】
  4097. /HSBY/QueryHsbyMyGoods:
  4098. get:
  4099. parameters:
  4100. - description: 资金账户列表,格式:1,2,3
  4101. in: query
  4102. name: accountIDs
  4103. required: true
  4104. type: string
  4105. produces:
  4106. - application/json
  4107. responses:
  4108. "200":
  4109. description: OK
  4110. schema:
  4111. $ref: '#/definitions/models.HsbyMyGoods'
  4112. "500":
  4113. description: Internal Server Error
  4114. schema:
  4115. $ref: '#/definitions/app.Response'
  4116. security:
  4117. - ApiKeyAuth: []
  4118. summary: 查询“我的商品”信息
  4119. tags:
  4120. - 定制【海商报业】
  4121. /HSBY/QueryHsbyMyPackages:
  4122. get:
  4123. parameters:
  4124. - description: 资金账户列表,格式:1,2,3
  4125. in: query
  4126. name: accountIDs
  4127. required: true
  4128. type: string
  4129. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  4130. in: query
  4131. name: takeOrderStatus
  4132. type: integer
  4133. produces:
  4134. - application/json
  4135. responses:
  4136. "200":
  4137. description: OK
  4138. schema:
  4139. $ref: '#/definitions/models.HsbyMyPackage'
  4140. "500":
  4141. description: Internal Server Error
  4142. schema:
  4143. $ref: '#/definitions/app.Response'
  4144. security:
  4145. - ApiKeyAuth: []
  4146. summary: 查询我的包裹信息
  4147. tags:
  4148. - 定制【海商报业】
  4149. /HSBY/QueryHsbyPreGoodsDetail:
  4150. get:
  4151. parameters:
  4152. - description: 商品ID
  4153. in: query
  4154. name: goodsID
  4155. required: true
  4156. type: integer
  4157. produces:
  4158. - application/json
  4159. responses:
  4160. "200":
  4161. description: OK
  4162. schema:
  4163. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  4164. "500":
  4165. description: Internal Server Error
  4166. schema:
  4167. $ref: '#/definitions/app.Response'
  4168. security:
  4169. - ApiKeyAuth: []
  4170. summary: 查询一级市场(产能预售)商品信息详情
  4171. tags:
  4172. - 定制【海商报业】
  4173. /HSBY/QueryHsbyPreGoodses:
  4174. get:
  4175. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  4176. parameters:
  4177. - description: 页码
  4178. in: query
  4179. name: page
  4180. type: integer
  4181. - description: 每页条数
  4182. in: query
  4183. name: pagesize
  4184. type: integer
  4185. - description: 市场ID列表,格式:1,2,3
  4186. in: query
  4187. name: marketIDs
  4188. required: true
  4189. type: string
  4190. - description: 目的地(省)ID
  4191. in: query
  4192. name: DescProvinceID
  4193. type: integer
  4194. - description: 目的地(市)ID
  4195. in: query
  4196. name: DescCityID
  4197. type: integer
  4198. produces:
  4199. - application/json
  4200. responses:
  4201. "200":
  4202. description: OK
  4203. schema:
  4204. $ref: '#/definitions/models.HsbyPreGoods'
  4205. "500":
  4206. description: Internal Server Error
  4207. schema:
  4208. $ref: '#/definitions/app.Response'
  4209. security:
  4210. - ApiKeyAuth: []
  4211. summary: 查询新品上市商品列表(一级市场产能预售)
  4212. tags:
  4213. - 定制【海商报业】
  4214. /HSBY/QueryHsbySellMyDetails:
  4215. get:
  4216. description: 说明:已发布 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  4217. parameters:
  4218. - description: 页码
  4219. in: query
  4220. name: page
  4221. type: integer
  4222. - description: 每页条数
  4223. in: query
  4224. name: pagesize
  4225. type: integer
  4226. - description: 资金账户列表,格式:1,2,3
  4227. in: query
  4228. name: accountIDs
  4229. required: true
  4230. type: string
  4231. - description: 单据类型:0 - 已发布(默认), 1 - 已完成
  4232. in: query
  4233. name: orderType
  4234. type: integer
  4235. produces:
  4236. - application/json
  4237. responses:
  4238. "200":
  4239. description: OK
  4240. schema:
  4241. $ref: '#/definitions/models.HsbySellMyDetail'
  4242. "500":
  4243. description: Internal Server Error
  4244. schema:
  4245. $ref: '#/definitions/app.Response'
  4246. security:
  4247. - ApiKeyAuth: []
  4248. summary: 查询"我的闲置"单据信息
  4249. tags:
  4250. - 定制【海商报业】
  4251. /HSBY/QueryHsbyTopGoodses:
  4252. get:
  4253. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  4254. parameters:
  4255. - description: 页码
  4256. in: query
  4257. name: page
  4258. type: integer
  4259. - description: 每页条数
  4260. in: query
  4261. name: pagesize
  4262. type: integer
  4263. - description: 市场ID列表,格式:1,2,3
  4264. in: query
  4265. name: marketIDs
  4266. required: true
  4267. type: string
  4268. - description: 目的地(省)ID
  4269. in: query
  4270. name: DescProvinceID
  4271. type: integer
  4272. - description: 目的地(市)ID
  4273. in: query
  4274. name: DescCityID
  4275. type: integer
  4276. produces:
  4277. - application/json
  4278. responses:
  4279. "200":
  4280. description: OK
  4281. schema:
  4282. $ref: '#/definitions/models.HsbyTopGoods'
  4283. "500":
  4284. description: Internal Server Error
  4285. schema:
  4286. $ref: '#/definitions/app.Response'
  4287. security:
  4288. - ApiKeyAuth: []
  4289. summary: 查询热卖商品列表(二级市场挂牌点选)
  4290. tags:
  4291. - 定制【海商报业】
  4292. /Order/QueryHisTradeDetail:
  4293. get:
  4294. parameters:
  4295. - description: 资金账户 - 格式:1,2,3
  4296. in: query
  4297. name: accountID
  4298. required: true
  4299. type: string
  4300. - description: 成交单号
  4301. in: query
  4302. name: tradeID
  4303. type: integer
  4304. - description: 委托单号
  4305. in: query
  4306. name: orderID
  4307. type: integer
  4308. - description: 交易模式 - 格式:1,2,3
  4309. in: query
  4310. name: tradeMode
  4311. type: string
  4312. - description: 委托单据类型
  4313. in: query
  4314. name: buildType
  4315. type: integer
  4316. - description: 成交类别 - 格式:1,2,3
  4317. in: query
  4318. name: tradeType
  4319. type: string
  4320. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  4321. in: query
  4322. name: startDate
  4323. type: string
  4324. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  4325. in: query
  4326. name: endDate
  4327. type: string
  4328. produces:
  4329. - application/json
  4330. responses:
  4331. "200":
  4332. description: OK
  4333. schema:
  4334. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  4335. "500":
  4336. description: Internal Server Error
  4337. schema:
  4338. $ref: '#/definitions/app.Response'
  4339. security:
  4340. - ApiKeyAuth: []
  4341. summary: 历史成交单查询(合约市场)
  4342. tags:
  4343. - 通用单据
  4344. /Order/QueryHisTradeOrderDetail:
  4345. get:
  4346. parameters:
  4347. - description: 资金账户 - 格式:1,2,3
  4348. in: query
  4349. name: accountID
  4350. required: true
  4351. type: string
  4352. - description: 交易模式 - 格式:1,2,3
  4353. in: query
  4354. name: tradeMode
  4355. type: string
  4356. - description: 委托状态 - 格式:1,2,3
  4357. in: query
  4358. name: orderStatus
  4359. type: string
  4360. - description: 委托单号
  4361. in: query
  4362. name: orderID
  4363. type: integer
  4364. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  4365. in: query
  4366. name: startDate
  4367. type: string
  4368. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  4369. in: query
  4370. name: endDate
  4371. type: string
  4372. produces:
  4373. - application/json
  4374. responses:
  4375. "200":
  4376. description: OK
  4377. schema:
  4378. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  4379. "500":
  4380. description: Internal Server Error
  4381. schema:
  4382. $ref: '#/definitions/app.Response'
  4383. security:
  4384. - ApiKeyAuth: []
  4385. summary: 历史委托单查询请求(合约市场)
  4386. tags:
  4387. - 通用单据
  4388. /Order/QueryTradeDetail:
  4389. get:
  4390. parameters:
  4391. - description: 资金账户 - 格式:1,2,3
  4392. in: query
  4393. name: accountID
  4394. required: true
  4395. type: string
  4396. - description: 成交单号
  4397. in: query
  4398. name: tradeID
  4399. type: integer
  4400. - description: 委托单号
  4401. in: query
  4402. name: orderID
  4403. type: integer
  4404. - description: 交易模式 - 格式:1,2,3
  4405. in: query
  4406. name: tradeMode
  4407. type: string
  4408. - description: 委托单据类型
  4409. in: query
  4410. name: buildType
  4411. type: integer
  4412. - description: 成交类别 - 格式:1,2,3
  4413. in: query
  4414. name: tradeType
  4415. type: string
  4416. produces:
  4417. - application/json
  4418. responses:
  4419. "200":
  4420. description: OK
  4421. schema:
  4422. $ref: '#/definitions/order.QueryTradeDetailRsp'
  4423. "500":
  4424. description: Internal Server Error
  4425. schema:
  4426. $ref: '#/definitions/app.Response'
  4427. security:
  4428. - ApiKeyAuth: []
  4429. summary: 成交单查询(合约市场)
  4430. tags:
  4431. - 通用单据
  4432. /Order/QueryTradeOrderDetail:
  4433. get:
  4434. parameters:
  4435. - description: 资金账户 - 格式:1,2,3
  4436. in: query
  4437. name: accountID
  4438. required: true
  4439. type: string
  4440. - description: 交易模式 - 格式:1,2,3
  4441. in: query
  4442. name: tradeMode
  4443. type: string
  4444. - description: 委托状态 - 格式:1,2,3
  4445. in: query
  4446. name: orderStatus
  4447. type: string
  4448. - description: 委托单号
  4449. in: query
  4450. name: orderID
  4451. type: integer
  4452. produces:
  4453. - application/json
  4454. responses:
  4455. "200":
  4456. description: OK
  4457. schema:
  4458. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  4459. "500":
  4460. description: Internal Server Error
  4461. schema:
  4462. $ref: '#/definitions/app.Response'
  4463. security:
  4464. - ApiKeyAuth: []
  4465. summary: 委托单查询请求(合约市场)
  4466. tags:
  4467. - 通用单据
  4468. /Order/QueryTradePosition:
  4469. get:
  4470. parameters:
  4471. - description: 资金账户 - 格式:1,2,3
  4472. in: query
  4473. name: accountID
  4474. required: true
  4475. type: string
  4476. - description: 交易模式 - 格式:1,2,3
  4477. in: query
  4478. name: tradeMode
  4479. type: string
  4480. produces:
  4481. - application/json
  4482. responses:
  4483. "200":
  4484. description: OK
  4485. schema:
  4486. $ref: '#/definitions/order.QueryTradePositionRsp'
  4487. "500":
  4488. description: Internal Server Error
  4489. schema:
  4490. $ref: '#/definitions/app.Response'
  4491. security:
  4492. - ApiKeyAuth: []
  4493. summary: 持仓汇总查询(合约市场)
  4494. tags:
  4495. - 通用单据
  4496. /Quote/QueryHistoryDatas:
  4497. get:
  4498. parameters:
  4499. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  4500. 日线 10: Tik'
  4501. in: query
  4502. name: cycleType
  4503. required: true
  4504. type: integer
  4505. - description: 商品代码
  4506. in: query
  4507. name: goodsCode
  4508. required: true
  4509. type: string
  4510. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  4511. in: query
  4512. name: startTime
  4513. type: string
  4514. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  4515. in: query
  4516. name: endTime
  4517. type: string
  4518. - description: 条数
  4519. in: query
  4520. name: count
  4521. type: integer
  4522. - description: 是否按时间顺序排序(默认为时间倒序排序)
  4523. in: query
  4524. name: IsAsc
  4525. type: boolean
  4526. produces:
  4527. - application/json
  4528. responses:
  4529. "200":
  4530. description: OK
  4531. schema:
  4532. $ref: '#/definitions/quote.HistoryData'
  4533. "500":
  4534. description: Internal Server Error
  4535. schema:
  4536. $ref: '#/definitions/app.Response'
  4537. security:
  4538. - ApiKeyAuth: []
  4539. summary: 查询行情历史数据
  4540. tags:
  4541. - 行情服务
  4542. /Quote/QueryTSData:
  4543. get:
  4544. parameters:
  4545. - description: 商品代码
  4546. in: query
  4547. name: GoodsCode
  4548. required: true
  4549. type: string
  4550. produces:
  4551. - application/json
  4552. responses:
  4553. "200":
  4554. description: OK
  4555. schema:
  4556. $ref: '#/definitions/quote.QueryTSDataRsp'
  4557. "500":
  4558. description: Internal Server Error
  4559. schema:
  4560. $ref: '#/definitions/app.Response'
  4561. summary: 分时图数据查询
  4562. tags:
  4563. - 行情服务
  4564. /SZDZ/QueryConvertConfig:
  4565. get:
  4566. parameters:
  4567. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  4568. 6:交易转花生米(不设置)
  4569. in: query
  4570. name: convertType
  4571. type: integer
  4572. - description: 外部商品代码[JD\PD]
  4573. in: query
  4574. name: outerGoodsCode
  4575. type: string
  4576. - description: 内部商品ID列表[交易],格式:1,2,3
  4577. in: query
  4578. name: innerGoodsIDs
  4579. type: string
  4580. produces:
  4581. - application/json
  4582. responses:
  4583. "200":
  4584. description: OK
  4585. schema:
  4586. $ref: '#/definitions/models.Szdz3convertconfig'
  4587. "500":
  4588. description: Internal Server Error
  4589. schema:
  4590. $ref: '#/definitions/app.Response'
  4591. security:
  4592. - ApiKeyAuth: []
  4593. summary: 查询交易系统转换设置
  4594. tags:
  4595. - 定制【尚志大宗】
  4596. /SZDZ/QueryConvertLog:
  4597. get:
  4598. parameters:
  4599. - description: 资金账户 - 格式:1,2,3
  4600. in: query
  4601. name: accountID
  4602. required: true
  4603. type: string
  4604. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  4605. in: query
  4606. name: startDate
  4607. type: string
  4608. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  4609. in: query
  4610. name: endDate
  4611. type: string
  4612. produces:
  4613. - application/json
  4614. responses:
  4615. "200":
  4616. description: OK
  4617. schema:
  4618. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  4619. "500":
  4620. description: Internal Server Error
  4621. schema:
  4622. $ref: '#/definitions/app.Response'
  4623. security:
  4624. - ApiKeyAuth: []
  4625. summary: 交易系统转换流水查询
  4626. tags:
  4627. - 定制【尚志大宗】
  4628. /SZDZ/QueryGoodsPickup:
  4629. get:
  4630. parameters:
  4631. - description: 资金账户 - 格式:1,2,3
  4632. in: query
  4633. name: accountID
  4634. required: true
  4635. type: string
  4636. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  4637. in: query
  4638. name: takeOrderStatus
  4639. type: integer
  4640. produces:
  4641. - application/json
  4642. responses:
  4643. "200":
  4644. description: OK
  4645. schema:
  4646. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  4647. "500":
  4648. description: Internal Server Error
  4649. schema:
  4650. $ref: '#/definitions/app.Response'
  4651. security:
  4652. - ApiKeyAuth: []
  4653. summary: 商品提货单查询
  4654. tags:
  4655. - 定制【尚志大宗】
  4656. /SZDZ/QueryRecieptOrder:
  4657. get:
  4658. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  4659. parameters:
  4660. - description: 页码
  4661. in: query
  4662. name: page
  4663. type: integer
  4664. - description: 每页条数
  4665. in: query
  4666. name: pagesize
  4667. type: integer
  4668. - description: 商品ID
  4669. in: query
  4670. name: goodsID
  4671. required: true
  4672. type: integer
  4673. - description: 所属账户名称
  4674. in: query
  4675. name: accountName
  4676. type: string
  4677. - description: 市场ID
  4678. in: query
  4679. name: marketID
  4680. type: integer
  4681. - description: 方向 - 0:买 1:卖
  4682. in: query
  4683. name: buyorsell
  4684. required: true
  4685. type: integer
  4686. produces:
  4687. - application/json
  4688. responses:
  4689. "200":
  4690. description: OK
  4691. schema:
  4692. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  4693. "500":
  4694. description: Internal Server Error
  4695. schema:
  4696. $ref: '#/definitions/app.Response'
  4697. security:
  4698. - ApiKeyAuth: []
  4699. summary: 点选挂牌委托单据查询(摘牌大厅)
  4700. tags:
  4701. - 定制【尚志大宗】
  4702. /SZDZ/QuerySZDZTradePosition:
  4703. get:
  4704. parameters:
  4705. - description: 资金账户
  4706. in: query
  4707. name: accountID
  4708. required: true
  4709. type: integer
  4710. produces:
  4711. - application/json
  4712. responses:
  4713. "200":
  4714. description: OK
  4715. schema:
  4716. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  4717. "500":
  4718. description: Internal Server Error
  4719. schema:
  4720. $ref: '#/definitions/app.Response'
  4721. security:
  4722. - ApiKeyAuth: []
  4723. summary: 持仓汇总查询(尚志大宗)
  4724. tags:
  4725. - 定制【尚志大宗】
  4726. /SZDZ/SearchWhite:
  4727. get:
  4728. parameters:
  4729. - description: 用户ID
  4730. in: query
  4731. name: userID
  4732. required: true
  4733. type: integer
  4734. produces:
  4735. - application/json
  4736. responses:
  4737. "200":
  4738. description: OK
  4739. schema:
  4740. $ref: '#/definitions/models.Szdz3searchwhitelist'
  4741. "500":
  4742. description: Internal Server Error
  4743. schema:
  4744. $ref: '#/definitions/app.Response'
  4745. security:
  4746. - ApiKeyAuth: []
  4747. summary: 搜索白名单
  4748. tags:
  4749. - 定制【尚志大宗】
  4750. /TaAccount/QueryAmountLog:
  4751. get:
  4752. parameters:
  4753. - description: 页码
  4754. in: query
  4755. name: page
  4756. type: integer
  4757. - description: 每页条数
  4758. in: query
  4759. name: pagesize
  4760. type: integer
  4761. - description: 资金账户 - 格式:1,2,3
  4762. in: query
  4763. name: accountID
  4764. required: true
  4765. type: string
  4766. - description: 资金操作类型 - 格式:1,2,3
  4767. in: query
  4768. name: OperateType
  4769. type: string
  4770. produces:
  4771. - application/json
  4772. responses:
  4773. "200":
  4774. description: OK
  4775. schema:
  4776. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  4777. "500":
  4778. description: Internal Server Error
  4779. schema:
  4780. $ref: '#/definitions/app.Response'
  4781. security:
  4782. - ApiKeyAuth: []
  4783. summary: 资金流水查询(当前)
  4784. tags:
  4785. - 资金账户
  4786. /TaAccount/QueryHisAmountLog:
  4787. get:
  4788. parameters:
  4789. - description: 页码
  4790. in: query
  4791. name: page
  4792. type: integer
  4793. - description: 每页条数
  4794. in: query
  4795. name: pagesize
  4796. type: integer
  4797. - description: 资金账户 - 格式:1,2,3
  4798. in: query
  4799. name: accountID
  4800. required: true
  4801. type: string
  4802. - description: 资金操作类型 - 格式:1,2,3
  4803. in: query
  4804. name: OperateType
  4805. type: string
  4806. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  4807. in: query
  4808. name: startDate
  4809. type: string
  4810. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  4811. in: query
  4812. name: endDate
  4813. type: string
  4814. produces:
  4815. - application/json
  4816. responses:
  4817. "200":
  4818. description: OK
  4819. schema:
  4820. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  4821. "500":
  4822. description: Internal Server Error
  4823. schema:
  4824. $ref: '#/definitions/app.Response'
  4825. security:
  4826. - ApiKeyAuth: []
  4827. summary: 资金流水查询(历史)
  4828. tags:
  4829. - 资金账户
  4830. /User/GetLoginID:
  4831. get:
  4832. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  4833. parameters:
  4834. - description: 登录代码
  4835. in: query
  4836. name: username
  4837. required: true
  4838. type: string
  4839. produces:
  4840. - application/json
  4841. responses:
  4842. "200":
  4843. description: OK
  4844. schema:
  4845. $ref: '#/definitions/app.Response'
  4846. "500":
  4847. description: Internal Server Error
  4848. schema:
  4849. $ref: '#/definitions/app.Response'
  4850. summary: 获取登录ID
  4851. tags:
  4852. - 用户信息
  4853. /User/GetUserAuthStatus:
  4854. get:
  4855. parameters:
  4856. - description: 用户ID
  4857. in: query
  4858. name: userID
  4859. required: true
  4860. type: integer
  4861. produces:
  4862. - application/json
  4863. responses:
  4864. "200":
  4865. description: OK
  4866. schema:
  4867. type: bool
  4868. "500":
  4869. description: Internal Server Error
  4870. schema:
  4871. $ref: '#/definitions/app.Response'
  4872. security:
  4873. - ApiKeyAuth: []
  4874. summary: 获取用户实名认证状态
  4875. tags:
  4876. - 用户信息
  4877. /User/QueryUserInfo:
  4878. get:
  4879. parameters:
  4880. - description: 用户ID
  4881. in: query
  4882. name: userID
  4883. required: true
  4884. type: integer
  4885. produces:
  4886. - application/json
  4887. responses:
  4888. "200":
  4889. description: OK
  4890. schema:
  4891. $ref: '#/definitions/models.Userinfo'
  4892. "500":
  4893. description: Internal Server Error
  4894. schema:
  4895. $ref: '#/definitions/app.Response'
  4896. security:
  4897. - ApiKeyAuth: []
  4898. summary: 获取用户信息
  4899. tags:
  4900. - 用户信息
  4901. /User/QueryUserReferNum:
  4902. get:
  4903. parameters:
  4904. - description: 用户ID
  4905. in: query
  4906. name: userID
  4907. required: true
  4908. type: integer
  4909. produces:
  4910. - application/json
  4911. responses:
  4912. "200":
  4913. description: OK
  4914. schema:
  4915. $ref: '#/definitions/app.Response'
  4916. "500":
  4917. description: Internal Server Error
  4918. schema:
  4919. $ref: '#/definitions/app.Response'
  4920. summary: 获取用户邀请码
  4921. tags:
  4922. - 用户信息
  4923. /WRTrade/GetAllDeliveryGoods:
  4924. get:
  4925. produces:
  4926. - application/json
  4927. responses:
  4928. "200":
  4929. description: OK
  4930. schema:
  4931. $ref: '#/definitions/app.Response'
  4932. "500":
  4933. description: Internal Server Error
  4934. schema:
  4935. $ref: '#/definitions/app.Response'
  4936. security:
  4937. - ApiKeyAuth: []
  4938. summary: 获取带仓单分类的种类信息
  4939. tags:
  4940. - 仓单贸易
  4941. securityDefinitions:
  4942. ApiKeyAuth:
  4943. in: header
  4944. name: Authorization
  4945. type: apiKey
  4946. swagger: "2.0"