docs.go 221 KB

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