swagger.json 220 KB

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