docs.go 212 KB

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