swagger.json 182 KB

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