swagger.yaml 161 KB

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