docs.go 175 KB

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