swagger.json 238 KB

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