docs.go 209 KB

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