swagger.yaml 139 KB

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