| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325 |
- /// <summary>
- // 交易模式
- /// </summary>
- public enum eTradeMode {
- #region MTP1.0
- QuotePAndX = 500,
- /// <summary>
- /// 托管计划
- /// </summary>
- Deposit = 501,
- /// <summary>
- /// 所有商品
- /// </summary>
- AllGoods = 502,
- /// <summary>
- /// 我的自选
- /// </summary>
- MySelected = 503,
- /// <summary>
- /// 资金汇总
- /// </summary>
- AmountSum = 504,
- /// <summary>
- /// 发售
- /// </summary>
- TRADEMODE_SALE = 2,
- /// <summary>
- /// 竞价即期=混合
- /// </summary>
- TRADEMODE_BIDDINGMARKETMAKE = 3,
- /// <summary>
- /// 挂牌
- /// </summary>
- TRADEMODE_HANGTAG = 6,
- #endregion
- /// <summary>
- /// 做市
- /// </summary>
- TRADEMODE_MARKETMAKE = 10,
- /// <summary>
- /// 竞价
- /// </summary>
- TRADEMODE_BIDDING = 13,
- /// <summary>
- /// 通道交易
- /// </summary>
- TRADEMODE_ENTRUST_HEDGE = 15,
- /// <summary>
- /// 挂牌点选
- /// </summary>
- TRADEMODE_LISTING_SELECT = 16,
- /// <summary>
- /// 仓单贸易
- /// </summary>
- TRADEMODE_SPOT_WRTRADE = 17,
- /// <summary>
- /// 期权贸易
- /// </summary>
- TRADEMODE_OPTION = 18,
- /// <summary>
- /// 竞拍-降价式
- /// </summary>
- TRADEMODE_AUCTIONCUT = 19,
- /// <summary>
- /// 竞拍-竞价式
- /// </summary>
- TRADEMODE_AUCTIONBID = 20,
- /// <summary>
- /// 竞拍-大宗式
- /// </summary>
- TRADEMODE_AUCTIONBULK = 21,
- /// <summary>
- /// 受托竞价
- /// </summary>
- TRADEMODE_ENTRUSTBID = 22,
- /// <summary>
- /// 预售集采
- /// </summary>
- TRADEMODE_PRESALE = 23,
- /// <summary>
- /// 竞拍-降价式(无仓单)
- /// </summary>
- TRADEMODE_AUCTIONCUTNOWR = 24,
- /// <summary>
- /// 点价点选贸易
- /// </summary>
- TRADEMODE_POINTANDSELECT = 25,
- /// <summary>
- /// 挂牌期权
- /// </summary>
- TRADEMODE_LISTINGOPTION = 26,
- /// <summary>
- /// 招投标
- /// </summary>
- TRADEMODE_TENDER = 27,
- /// <summary>
- /// 币币兑换
- /// </summary>
- TRADEMODE_COINEXCHANGE = 32,
- /// <summary>
- /// 竞拍-荷兰式
- /// </summary>
- TRADEMODE_AUCTIONDUTCH = 34,
- /// <summary>
- /// 场外期权-单向
- /// </summary>
- TRADEMODE_OTCOPTION_ONEWAY = 35,
- /// <summary>
- /// 法币C2C
- /// </summary>
- TRADEMODE_COINC2C = 36,
- /// <summary>
- /// 挂牌点选-尚志
- /// </summary>
- TRADEMODE_SZDZ_LS = 75,
- /// <summary>
- /// 竞拍-金点拍
- /// </summary>
- TRADEMODE_SZDZ_JDP = 76,
- /// <summary>
- /// 现货商城
- /// </summary>
- TRADEMODE_SPOTSHOP = 77,
- /// <summary>
- /// 报价系统
- /// </summary>
- TRADEMODE_SPOTQUOTE = 78,
- /// <summary>
- /// 挂牌系统
- /// </summary>
- TRADEMODE_SPOTLISTING = 79
- }
- /// <summary>
- // 交易属性
- /// </summary>
- public enum eTradeProperty {
- /// <summary>
- /// 收益权(可做空)
- /// </summary>
- TRADEPROPERTY_CANSHORT = 1,
- /// <summary>
- /// 所有权(不可做空)
- /// </summary>
- TRADEPROPERTY_NOSHORT = 2,
- /// <summary>
- /// 期权
- /// </summary>
- TRADEPROPERTY_OPTION = 3,
- /// <summary>
- /// 现货
- /// </summary>
- TRADEPROPERTY_CANGOODS = 4,
- /// <summary>
- /// 参考行情
- /// </summary>
- TRADEPROPERTY_REFERENCEQUOTES = 5,
- /// <summary>
- /// 通道交易
- /// </summary>
- TRADEPROPERTY_CHANNELTRADE = 6,
- /// <summary>
- /// 币交易
- /// </summary>
- TRADEPROPERTY_COINEXCHANGE = 7,
- /// <summary>
- /// 场外期权
- /// </summary>
- TRADEPROPERTY_OTCOPTION = 8
- }
- /// <summary>
- // 持仓类型
- /// </summary>
- public enum eHolderType {
- /// <summary>
- /// 单边
- /// </summary>
- HOLDERTYPE_UNILATERAL = 1,
- /// <summary>
- /// 双边
- /// </summary>
- HOLDERTYPE_BILATERAL = 2
- }
- /// <summary>
- // 单据方向
- /// </summary>
- public enum eOrderDirection {
- /// <summary>
- /// 订单买方向
- /// </summary>
- ORDERDIRECTION_BUY = 0,
- /// <summary>
- /// 订单卖方向
- /// </summary>
- ORDERDIRECTION_SELL = 1
- }
- /// <summary>
- // 订单类型
- /// </summary>
- public enum eOrderType {
- /// <summary>
- /// 市价建仓
- /// </summary>
- ORDERTYPE_OPEN_MARKET = 1,
- /// <summary>
- /// 限价建仓
- /// </summary>
- ORDERTYPE_OPEN_LIMIT = 2,
- /// <summary>
- /// 市价平仓
- /// </summary>
- ORDERTYPE_CLOSE_MARKET = 3,
- /// <summary>
- /// 限价平仓
- /// </summary>
- ORDERTYPE_CLOSE_LIMIT = 4,
- /// <summary>
- /// 先平后建
- /// </summary>
- ORDERTYPE_CLOSETHENOPEN = 5,
- /// <summary>
- /// 止盈止损
- /// </summary>
- ORDERTYPE_SPSL = 6,
- /// <summary>
- /// 交割协议转让
- /// </summary>
- ORDERTYPE_DELIVERY_TRANSFER = 7,
- /// <summary>
- /// 交割协议平仓
- /// </summary>
- ORDERTYPE_DELIVERY_CLOSE = 8,
- /// <summary>
- /// 交割成交(所有权)
- /// </summary>
- ORDERTYPE_DELIVERY_TRADE = 9,
- /// <summary>
- /// 受托市价
- /// </summary>
- ORDERTYPE_ENTRUST_MARKET = 10,
- /// <summary>
- /// 受托限价
- /// </summary>
- ORDERTYPE_ENTRUST_LIMIT = 11,
- /// <summary>
- /// 管理端协议转让
- /// </summary>
- ORDERTYPE_MANAGE_TRANSFER = 12
- }
- /// <summary>
- // 触发条件
- /// </summary>
- public enum eTriggerOperator {
- /// <summary>
- /// 大于等于
- /// </summary>
- TRIGGEROPERATOR_GREATEROREQUAL = 1,
- /// <summary>
- /// 小于等于
- /// </summary>
- TRIGGEROPERATOR_LESSOREQUAL = 2
- }
- /// <summary>
- // 价格类型
- /// </summary>
- public enum ePriceMode {
- /// <summary>
- /// 市价
- /// </summary>
- PRICEMODE_MARKET = 1,
- /// <summary>
- /// 限价
- /// </summary>
- PRICEMODE_LIMIT = 2
- }
- /// <summary>
- // 有效类型
- /// </summary>
- public enum eValidType {
- /// <summary>
- /// 当日有效
- /// </summary>
- VALIDTYPE_DR = 1,
- /// <summary>
- /// 本周有效
- /// </summary>
- VALIDTYPE_BZ = 2,
- /// <summary>
- /// 指定日期有效
- /// </summary>
- VALIDTYPE_ZDRQ = 3,
- /// <summary>
- /// 一直有效
- /// </summary>
- VALIDTYPE_YZ = 4,
- /// <summary>
- /// 指定时间有效
- /// </summary>
- VALIDTYPE_GTT = 5
- }
- /// <summary>
- // 成交量类型
- /// </summary>
- public enum eVolumeType {
- /// <summary>
- /// 任意量
- /// </summary>
- VOLUMETYPE_ANY = 1,
- /// <summary>
- /// 最小量(暂时不支持)
- /// </summary>
- VOLUMETYPE_MIN = 2,
- /// <summary>
- /// 全部量
- /// </summary>
- VOLUMETYPE_ALL = 3
- }
- /// <summary>
- // 预埋单状态
- /// </summary>
- public enum ePreOrderStatus {
- /// <summary>
- /// 待激活
- /// </summary>
- PREORDERSTATUS_INACTIVE = 1,
- /// <summary>
- /// 已激活
- /// </summary>
- PREORDERSTATUS_ACTIVE = 2,
- /// <summary>
- /// 已撤销
- /// </summary>
- PREORDERSTATUS_CANCELLED = 3
- }
- /// <summary>
- // 客户端类型
- /// </summary>
- public enum eClientType {
- /// <summary>
- /// 保留为未填终端类型
- /// </summary>
- CLIENTTYPE_NONE = 0,
- /// <summary>
- /// PC管理端
- /// </summary>
- CLIENTTYPE_PC_MANAGER_CLIENT = 1,
- /// <summary>
- /// PC交易端
- /// </summary>
- CLIENTTYPE_PC_TRADE_CLIENT = 2,
- /// <summary>
- /// 手机客户端_安卓
- /// </summary>
- CLIENTTYPE_MOBILE_CLIENT_ANDROID = 3,
- /// <summary>
- /// 网页客户端
- /// </summary>
- CLIENTTYPE_WEBPAGE_CLIENT = 4,
- /// <summary>
- /// 微信客户端
- /// </summary>
- CLIENTTYPE_WECHAT_CLIENT = 5,
- /// <summary>
- /// 手机客户端_苹果
- /// </summary>
- CLIENTTYPE_MOBILE_CLIENT_IOS = 6,
- /// <summary>
- /// 网上开户客户端
- /// </summary>
- CLIENTTYPE_USERACCOUNT_ONLINE = 7,
- /// <summary>
- /// 无效终端编号
- /// </summary>
- CLIENTTYPE_INVALID = 8,
- /// <summary>
- /// 报价终端
- /// </summary>
- CLIENTTYPE_QUOTE_CLIENT = 9,
- /// <summary>
- /// 交易接口
- /// </summary>
- CLIENTTYPE_TRADE_INTERFACE = 10
- }
- /// <summary>
- // 消息状态
- /// </summary>
- public enum eMessageStatus {
- /// <summary>
- /// 待发送
- /// </summary>
- MESSAGESTATUS_PENDING = 1,
- /// <summary>
- /// 发送完成
- /// </summary>
- MESSAGESTATUS_FINISHED = 2
- }
- /// <summary>
- // 成交类型
- /// </summary>
- public enum eTradeType {
- /// <summary>
- /// 正常委托成交
- /// </summary>
- TRADETYPE_NORMAL_ORDER_DEAL = 1,
- /// <summary>
- /// 定向做市成交(接单)
- /// </summary>
- TRADETYPE_DIRECTED_MM_DEAL = 2,
- /// <summary>
- /// 交割协议平仓成交
- /// </summary>
- TRADETYPE_DELIVERY_AGREECLOSE_DEAL = 3,
- /// <summary>
- /// 交割减仓成交
- /// </summary>
- TRADETYPE_DELIVERY_AGREEREDUCE_DEAL = 4,
- /// <summary>
- /// 到期强平成交
- /// </summary>
- TRADETYPE_EXPIRE_FORCE = 5,
- /// <summary>
- /// 风控斩仓成交
- /// </summary>
- TRADETYPE_RISK_FORCE = 6,
- /// <summary>
- /// 协议平仓(管理端)成交
- /// </summary>
- TRADETYPE_AGREECLOSE_MANAGE_DEAL = 7,
- /// <summary>
- /// 仓单转持仓成交
- /// </summary>
- TRADETYPE_WAREHOUSETOPOSITION = 8,
- /// <summary>
- /// 协议转让成交
- /// </summary>
- TRADETYPE_DELIVERY_TRANSFER = 9,
- /// <summary>
- /// 受托竞价成交(接单)
- /// </summary>
- TRADETYPE_ENTRUSTBID_ACCEPT = 10,
- /// <summary>
- /// 协议转让成交
- /// </summary>
- TRADETYPE_MANAGE_PROTO_TRANSFER = 11,
- /// <summary>
- /// 管理端强平成交
- /// </summary>
- TRADETYPE_MANAGE_FORCE_CLOSE = 12,
- /// <summary>
- /// 违约平仓成交
- /// </summary>
- TRADETYPE_BREACK_CLOSE = 13,
- /// <summary>
- /// 场外期权单向成交
- /// </summary>
- TRADETYPE_OPTIONONEWAY = 14,
- /// <summary>
- /// 冻结头寸解冻申请
- /// </summary>
- TRADETYPE_FREEZEPOS_UNFREEZE_REQUEST = 15,
- /// <summary>
- /// 冻结头寸商品配售
- /// </summary>
- TRADETYPE_FREEZEPOS_GOODS_RATION = 16,
- /// <summary>
- /// 冻结头寸商品转让
- /// </summary>
- TRADETYPE_FREEZEPOS_GOODS_TRANSFER = 17,
- /// <summary>
- /// 冻结头寸商品回购
- /// </summary>
- TRADETYPE_FREEZEPOS_GOODS_BUYBACK = 18,
- /// <summary>
- /// 冻结头寸商品提货
- /// </summary>
- TRADETYPE_FREEZEPOS_GOODS_PICKUP = 19
- }
- /// <summary>
- // 成交明细状态
- /// </summary>
- public enum eTradeDetailStatus {
- /// <summary>
- /// 待处理
- /// </summary>
- TRADEDETAIL_STATUS_WAIT = 1,
- /// <summary>
- /// 已处理
- /// </summary>
- TRADEDETAIL_STATUS_SECCESS = 2,
- /// <summary>
- /// 处理失败
- /// </summary>
- TRADEDETAIL_STATUS_FAILED = 3,
- /// <summary>
- /// 履约完成
- /// </summary>
- TRADEDETAIL_STATUS_PERFORMANCEFINISHED = 4
- }
- /// <summary>
- // 下单类型
- /// </summary>
- public enum eBuildType {
- /// <summary>
- /// 建仓
- /// </summary>
- BUILDTYPE_OPEN = 1,
- /// <summary>
- /// 平仓
- /// </summary>
- BUILDTYPE_CLOSE = 2,
- /// <summary>
- /// 先平后建
- /// </summary>
- BUILDTYPE_CLOSETHENOPEN = 3
- }
- /// <summary>
- // 升贴水类型
- /// </summary>
- public enum ePriceMoveType {
- /// <summary>
- /// 品牌
- /// </summary>
- PRICEMOVETYPE_BRAND = 1,
- /// <summary>
- /// 品质
- /// </summary>
- PRICEMOVETYPE_QUALITY = 2,
- /// <summary>
- /// 规格
- /// </summary>
- PRICEMOVETYPE_SPECIFICATION = 3,
- /// <summary>
- /// 仓库
- /// </summary>
- PRICEMOVETYPE_WAREHOUSE = 4,
- /// <summary>
- /// 月份
- /// </summary>
- PRICEMOVETYPE_MONTH = 5
- }
- /// <summary>
- // 行情取价方式
- /// </summary>
- public enum eFromField {
- /// <summary>
- /// 最新价
- /// </summary>
- FROMFIELD_LAST = 1,
- /// <summary>
- /// 买价
- /// </summary>
- FROMFIELD_BUY = 2,
- /// <summary>
- /// 卖价
- /// </summary>
- FROMFIELD_SELL = 3
- }
- /// <summary>
- // 费用算法
- /// </summary>
- public enum eFeeAlgorithm {
- /// <summary>
- /// 比率
- /// </summary>
- FEEALGORITHM_RATIO = 1,
- /// <summary>
- /// 固定
- /// </summary>
- FEEALGORITHM_FIXED = 2
- }
- /// <summary>
- // 商品状态
- /// </summary>
- public enum eGoodsStatus {
- /// <summary>
- /// 待审核
- /// </summary>
- GOODSSTATUS_INACTIVE = 1,
- /// <summary>
- /// 未上市
- /// </summary>
- GOODSSTATUS_UNLISTED = 2,
- /// <summary>
- /// 上市
- /// </summary>
- GOODSSTATUS_LISTED = 3,
- /// <summary>
- /// 已注销
- /// </summary>
- GOODSSTATUS_CLOSED = 4,
- /// <summary>
- /// 审核拒绝
- /// </summary>
- GOODSSTATUS_REJECTED = 5,
- /// <summary>
- /// 退市
- /// </summary>
- GOODSSTATUS_DELISTED = 6,
- /// <summary>
- /// 待退市
- /// </summary>
- GOODSSTATUS_PRE_DELISTED = 7
- }
- /// <summary>
- // 交割标志
- /// </summary>
- public enum eDeliveryFlag {
- /// <summary>
- /// 不可交割
- /// </summary>
- DELIVERYFLAG_NO = 0,
- /// <summary>
- /// 可交割
- /// </summary>
- DELIVERYFLAG_YES = 1
- }
- /// <summary>
- // 变更状态
- /// </summary>
- public enum eModifyStatus {
- /// <summary>
- /// 未变更
- /// </summary>
- MODIFYSTATUS_UNCHANGED = 1,
- /// <summary>
- /// 变更中
- /// </summary>
- MODIFYSTATUS_CHANGING = 2,
- /// <summary>
- /// 变更待审核
- /// </summary>
- MODIFYSTATUS_PENDINGAUDIT = 3,
- /// <summary>
- /// 变更待复审(投资者)
- /// </summary>
- MODIFYSTATUS_PENDINGREAUDIT = 4
- }
- /// <summary>
- // 开盘方式
- /// </summary>
- public enum eOpenMethod {
- /// <summary>
- /// 自动
- /// </summary>
- OPENMETHOD_AUTO = 0,
- /// <summary>
- /// 手动
- /// </summary>
- OPENMETHOD_MANUAL = 1
- }
- /// <summary>
- // 结算价算法
- /// </summary>
- public enum eReckonPriceAlgorithm {
- /// <summary>
- /// 最后多少笔成交价加权平均
- /// </summary>
- RECKONPRICEALGORITHM_LASTLOTAVG = 1,
- /// <summary>
- /// 最后多少秒成交价加权平均
- /// </summary>
- RECKONPRICEALGORITHM_LASTSECONDAVG = 2,
- /// <summary>
- /// 全天加权平均
- /// </summary>
- RECKONPRICEALGORITHM_ALLDAY = 3,
- /// <summary>
- /// 最后一口价
- /// </summary>
- RECKONPRICEALGORITHM_LASTPRICE = 4,
- /// <summary>
- /// 买一价
- /// </summary>
- RECKONPRICEALGORITHM_BID_ONE = 5,
- /// <summary>
- /// 卖一价
- /// </summary>
- RECKONPRICEALGORITHM_ASK_ONE = 6,
- /// <summary>
- /// 买一卖一均价
- /// </summary>
- RECKONPRICEALGORITHM_AVG_BID_ONE_ASK_ONE = 7,
- /// <summary>
- /// 外部结算价
- /// </summary>
- RECKONPRICEALGORITHM_EXTENAL_RECKONPRICE = 8
- }
- /// <summary>
- // 有效状态
- /// </summary>
- public enum eValidStatus {
- /// <summary>
- /// 待生效
- /// </summary>
- VALIDSTATUS_INACTIVE = 1,
- /// <summary>
- /// 正常
- /// </summary>
- VALIDSTATUS_NORMAL = 2,
- /// <summary>
- /// 注销
- /// </summary>
- VALIDSTATUS_CANCELLED = 3
- }
- /// <summary>
- // 结算状态
- /// </summary>
- public enum eReckonStatus {
- /// <summary>
- /// 自动结算
- /// </summary>
- RECKONSTATUS_AUTO = 1,
- /// <summary>
- /// 手工结算
- /// </summary>
- RECKONSTATUS_MANUAL = 2
- }
- /// <summary>
- // 周几
- /// </summary>
- public enum eDayOfWeek {
- /// <summary>
- /// 星期天
- /// </summary>
- DAYOFWEEK_SUNDAY = 0,
- /// <summary>
- /// 星期一
- /// </summary>
- DAYOFWEEK_MONDAY = 1,
- /// <summary>
- /// 星期二
- /// </summary>
- DAYOFWEEK_TUESDAY = 2,
- /// <summary>
- /// 星期三
- /// </summary>
- DAYOFWEEK_WEDNESDAY = 3,
- /// <summary>
- /// 星期四
- /// </summary>
- DAYOFWEEK_THURSDAY = 4,
- /// <summary>
- /// 星期五
- /// </summary>
- DAYOFWEEK_FRIDAY = 5,
- /// <summary>
- /// 星期六
- /// </summary>
- DAYOFWEEK_SATURDAY = 6
- }
- /// <summary>
- // 运行阶段
- /// </summary>
- public enum eRunStep {
- /// <summary>
- /// 集合竞价
- /// </summary>
- RUNSTEP_BIDDINGPRICE = 1,
- /// <summary>
- /// 连续竞价(交割)
- /// </summary>
- RUNSTEP_BIDDINGCONTINUOUS = 2,
- /// <summary>
- /// 补充交割
- /// </summary>
- RUNSTEP_SUPPLEMENTDELIVERY = 3,
- /// <summary>
- /// 确认行权
- /// </summary>
- RUNSTEP_CONFIRMEXERCISE = 4
- }
- /// <summary>
- // 市场状态信号
- /// </summary>
- public enum eRunStatus {
- /// <summary>
- /// 初始状态
- /// </summary>
- RUNSTATUS_INIT = 0,
- /// <summary>
- /// 待开市
- /// </summary>
- RUNSTATUS_PENDING = 1,
- /// <summary>
- /// 开市
- /// </summary>
- RUNSTATUS_OPEN = 2,
- /// <summary>
- /// 休市
- /// </summary>
- RUNSTATUS_PAUSE = 3,
- /// <summary>
- /// 手工休市
- /// </summary>
- RUNSTATUS_PAUSE_MANUAL = 4,
- /// <summary>
- /// 闭市
- /// </summary>
- RUNSTATUS_CLOSE = 5,
- /// <summary>
- /// 确认行权开始
- /// </summary>
- RUNSTATUS_EXPIRE_BEGIN = 6,
- /// <summary>
- /// 确认行权结束
- /// </summary>
- RUNSTATUS_EXPIRE_END = 7,
- /// <summary>
- /// 日终处理开始
- /// </summary>
- RUNSTATUS_DAYEND_PROCESSING = 10,
- /// <summary>
- /// 日终处理成功
- /// </summary>
- RUNSTATUS_DAYEND_SUCCESS = 11,
- /// <summary>
- /// 日终处理失败
- /// </summary>
- RUNSTATUS_DAYEND_FAILED = 12,
- /// <summary>
- /// 基础服务结算开始
- /// </summary>
- RUNSTATUS_BASIC_RECKONBEGIN = 13,
- /// <summary>
- /// 基础服务结算成功
- /// </summary>
- RUNSTATUS_BASIC_RECKONSUCCESS = 14,
- /// <summary>
- /// 日终处理暂停
- /// </summary>
- RUNSTATUS_DAYEND_PAUSE = 15,
- /// <summary>
- /// 资金结算开始
- /// </summary>
- RUNSTATUS_RECKON_BEGIN = 23,
- /// <summary>
- /// 资金结算结束
- /// </summary>
- RUNSTATUS_RECKON_FINISHED = 24,
- /// <summary>
- /// 资金结算失败
- /// </summary>
- RUNSTATUS_RECKON_FAILED = 25,
- /// <summary>
- /// 系统结算成功
- /// </summary>
- RUNSTATUS_SYS_RECKON_SUCCESS = 26,
- /// <summary>
- /// 系统结算失败
- /// </summary>
- RUNSTATUS_SYS_RECKON_FAILED = 27,
- /// <summary>
- /// 盘中处理开始
- /// </summary>
- RUNSTATUS_ONTHEPLATE_BEGIN = 28,
- /// <summary>
- /// 盘中处理成功
- /// </summary>
- RUNSTATUS_ONTHEPLATE_SUCCESS = 29,
- /// <summary>
- /// 盘中处理失败
- /// </summary>
- RUNSTATUS_ONTHEPLATE_FAILED = 30,
- /// <summary>
- /// 资金结算开始(内)
- /// </summary>
- RUNSTATUS_RECKON_BEGIN_INNER = 31,
- /// <summary>
- /// 资金结算结束(内)
- /// </summary>
- RUNSTATUS_RECKON_FINISHED_INNER = 32,
- /// <summary>
- /// 资金结算失败(内)
- /// </summary>
- RUNSTATUS_RECKON_FAILED_INNER = 33,
- /// <summary>
- /// 签到开始
- /// </summary>
- RUNSTATUS_BANKSIGNIN_BEGIN = 40,
- /// <summary>
- /// 签到成功
- /// </summary>
- RUNSTATUS_BANKSIGNIN_SUCCESS = 41,
- /// <summary>
- /// 签到部份成功
- /// </summary>
- RUNSTATUS_BANKSIGNIN_PARTSUCCESS = 42,
- /// <summary>
- /// 签到失败
- /// </summary>
- RUNSTATUS_BANKSIGNIN_FAILED = 43,
- /// <summary>
- /// 签退开始
- /// </summary>
- RUNSTATUS_BANKSIGNOUT_BEGIN = 44,
- /// <summary>
- /// 签退成功
- /// </summary>
- RUNSTATUS_BANKSIGNOUT_SUCCESS = 45,
- /// <summary>
- /// 签退部份成功
- /// </summary>
- RUNSTATUS_BANKSIGNOUT_PARTSUCCESS = 46,
- /// <summary>
- /// 签退失败
- /// </summary>
- RUNSTATUS_BANKSIGNOUT_FAILED = 47,
- /// <summary>
- /// 对账开始
- /// </summary>
- RUNSTATUS_BANKCHECK_BEGIN = 48,
- /// <summary>
- /// 对账成功
- /// </summary>
- RUNSTATUS_BANKCHECK_SUCCESS = 49,
- /// <summary>
- /// 对账失败
- /// </summary>
- RUNSTATUS_BANKCHECK_FAILED = 50,
- /// <summary>
- /// 清算开始
- /// </summary>
- RUNSTATUS_BANKCLEAR_BEGIN = 51,
- /// <summary>
- /// 清算成功
- /// </summary>
- RUNSTATUS_BANKCLEAR_SUCCESS = 52,
- /// <summary>
- /// 清算失败
- /// </summary>
- RUNSTATUS_BANKCLEAR_FAILED = 53,
- /// <summary>
- /// 清算部分成功
- /// </summary>
- RUNSTATUS_BANKCLEAR_PARTIALSUCCESS = 54,
- /// <summary>
- /// 系统结算开始
- /// </summary>
- RUNSTATUS_SYS_RECKON_BEGIN = 55,
- /// <summary>
- /// 交割时段开始
- /// </summary>
- RUNSTATUS_DELIVERY_BEGIN = 56,
- /// <summary>
- /// 交割时段结束
- /// </summary>
- RUNSTATUS_DELIVERY_END = 57,
- /// <summary>
- /// 补充交割开始
- /// </summary>
- RUNSTATUS_SUPPLY_DELIVERY_BEGIN = 58,
- /// <summary>
- /// 补充交割结束
- /// </summary>
- RUNSTATUS_SUPPLY_DELIVERY_END = 59,
- /// <summary>
- /// 市场清盘信号
- /// </summary>
- RUNSTATUS_MARKET_CLEAR_UP_SIGNAL = 60,
- /// <summary>
- /// 继续结算
- /// </summary>
- RUNSTATUS_CONTINUE_RECKON = 61,
- /// <summary>
- /// 今日免清算
- /// </summary>
- RUNSTATUS_UNNEED_CLEAR = 62,
- /// <summary>
- /// 结束手工休市信号
- /// </summary>
- RUNSTATUS_END_PAUSE_MANUAL_SIGNAL = 100,
- /// <summary>
- /// 休市结束信号
- /// </summary>
- RUNSTATUS_END_PAUSE_SIGNAL = 101
- }
- /// <summary>
- // 结算标识
- /// </summary>
- public enum eReckonFlag {
- /// <summary>
- /// 停止结算
- /// </summary>
- RECKONFLAG_STOP = 0,
- /// <summary>
- /// 正常
- /// </summary>
- RECKONFLAG_NORMAL = 1
- }
- /// <summary>
- // 是否结算
- /// </summary>
- public enum eIsReckoned {
- /// <summary>
- /// 未结算
- /// </summary>
- ISRECKONED_NO = 0,
- /// <summary>
- /// 已结算
- /// </summary>
- ISRECKONED_DONE = 1
- }
- /// <summary>
- // 配对状态
- /// </summary>
- public enum eMatchStatus {
- /// <summary>
- /// 配对成功
- /// </summary>
- MATCHSTATUS_MATCHED = 1,
- /// <summary>
- /// 已成交
- /// </summary>
- MATCHSTATUS_DEAL = 2
- }
- /// <summary>
- // 接单标识
- /// </summary>
- public enum eReceiveFlag {
- /// <summary>
- /// 无
- /// </summary>
- RECEIVEFLAG_NONE = 0,
- /// <summary>
- /// 买方
- /// </summary>
- RECEIVEFLAG_BUYER = 1,
- /// <summary>
- /// 卖方
- /// </summary>
- RECEIVEFLAG_SELLER = 2
- }
- /// <summary>
- // 配对类型
- /// </summary>
- public enum eMatchType {
- /// <summary>
- /// 正常委托
- /// </summary>
- MATCHTYPE_NORMAL = 1,
- /// <summary>
- /// 风控斩仓
- /// </summary>
- MATCHTYPE_RISK = 2
- }
- /// <summary>
- // 操作类型
- /// </summary>
- public enum eOperateType {
- /// <summary>
- /// 委托撤单
- /// </summary>
- OPERATETYPE_ORDERCANCEL = 1
- }
- /// <summary>
- // 处理状态
- /// </summary>
- public enum eHandleStatus {
- /// <summary>
- /// 待处理
- /// </summary>
- HANDLESTATUS_PENDING = 1,
- /// <summary>
- /// 处理成功
- /// </summary>
- HANDLESTATUS_SUCCESS = 2,
- /// <summary>
- /// 处理失败
- /// </summary>
- HANDLESTATUS_FAILED = 3,
- /// <summary>
- /// 已拒绝
- /// </summary>
- HANDLESTATUS_REJECTED = 4,
- /// <summary>
- /// 处理中
- /// </summary>
- HANDLESTATUS_PROCING = 5
- }
- /// <summary>
- // 委托来源
- /// </summary>
- public enum eOrderSrc {
- /// <summary>
- /// 客户端
- /// </summary>
- ORDERSRC_CLIENT = 1,
- /// <summary>
- /// 管理端
- /// </summary>
- ORDERSRC_MANAGE = 2,
- /// <summary>
- /// 风控服务
- /// </summary>
- ORDERSRC_RISK = 3,
- /// <summary>
- /// 交割服务
- /// </summary>
- ORDERSRC_DELIVERY = 4,
- /// <summary>
- /// 交易服务
- /// </summary>
- ORDERSRC_TRADE = 5,
- /// <summary>
- /// 交易日结
- /// </summary>
- ORDERSRC_DAYEND = 6,
- /// <summary>
- /// 商品强平
- /// </summary>
- ORDERSRC_EXPIREFORCECLOSE = 7,
- /// <summary>
- /// 管理端商品退市强平
- /// </summary>
- ORDERSRC_MANAGEFORCECLOSE = 8,
- /// <summary>
- /// 交易接口
- /// </summary>
- ORDERSRC_TRADEINTERFACE = 9,
- /// <summary>
- /// 交收服务商被动
- /// </summary>
- ORDERSRC_ENTRUSACCEPT = 10,
- /// <summary>
- /// 预埋触发
- /// </summary>
- ORDERSRC_PREPOSORDER = 11,
- /// <summary>
- /// 自动报价服务
- /// </summary>
- ORDERSRC_AUTOQUOTE = 12,
- /// <summary>
- /// 挂牌服务超期回购
- /// </summary>
- ORDERSRC_SPOTBUYBACK = 13
- }
- /// <summary>
- // 订单操作类型
- /// </summary>
- public enum eOrderOperateType {
- /// <summary>
- /// 正常下单
- /// </summary>
- ORDEROPERATETYPE_NORMAL = 1,
- /// <summary>
- /// 斩仓
- /// </summary>
- ORDEROPERATETYPE_RISK = 2,
- /// <summary>
- /// 转单
- /// </summary>
- ORDEROPERATETYPE_TRANSFER = 3,
- /// <summary>
- /// 结算撤单
- /// </summary>
- ORDEROPERATETYPE_RECKON_CANCEL = 4,
- /// <summary>
- /// 系统卖出(适用于先平后建的卖出)
- /// </summary>
- ORDEROPERATETYPE_SYS_CLOSE = 5,
- /// <summary>
- /// 行情源报价
- /// </summary>
- ORDEROPERATETYPE_QUOTEPRICE = 6,
- /// <summary>
- /// (结算)到期强平
- /// </summary>
- ORDEROPERATETYPE_ONTIME_CLOSE = 7,
- /// <summary>
- /// (结算)协议转让
- /// </summary>
- ORDEROPERATETYPE_DEAL_CLOSE = 8,
- /// <summary>
- /// 系统对冲单
- /// </summary>
- ORDEROPERATETYPE_SYS_HEDGE = 9,
- /// <summary>
- /// (结算)到期无效
- /// </summary>
- ORDEROPERATETYPE_RECKON_INVALID = 10,
- /// <summary>
- /// 交割协议转让
- /// </summary>
- ORDEROPERATETYPE_DELIVERY_TRANSFER = 11,
- /// <summary>
- /// 交割协议平仓
- /// </summary>
- ORDEROPERATETYPE_DELIVERY_CLOSE = 12,
- /// <summary>
- /// 交割成交(所有权)
- /// </summary>
- ORDEROPERATETYPE_DELIVERY_TRADE = 13,
- /// <summary>
- /// 管理端强行平仓
- /// </summary>
- ORDEROPERATETYPE_MANAGEFORCE_CLOSE = 14,
- /// <summary>
- /// 管理端协议转让
- /// </summary>
- ORDEROPERATETYPE_MANAGE_TRANSFER = 15,
- /// <summary>
- /// 管理端强行平仓阶段2
- /// </summary>
- ORDEROPERATETYPE_MANAGEFORCE_CLOSE_LEVEL2 = 16,
- /// <summary>
- /// 违约平仓
- /// </summary>
- ORDEROPERATETYPE_BREACK_CLOSE = 17,
- /// <summary>
- /// 管理端强行撤单
- /// </summary>
- ORDEROPERATETYPE_MANAGEFORCE_CANCEL = 18,
- /// <summary>
- /// 预埋单委托
- /// </summary>
- ORDEROPERATETYPE_PREPOSORDER_ORDER = 19,
- /// <summary>
- /// 预埋单撤单
- /// </summary>
- ORDEROPERATETYPE_PREPOSORDER_CANCEL = 20,
- /// <summary>
- /// 风控撤单
- /// </summary>
- ORDEROPERATETYPE_RISK_CANCEL = 21,
- /// <summary>
- /// (结算)会员到期强平
- /// </summary>
- ORDEROPERATETYPE_ONTIME_MEMBER_CLOSE = 22
- }
- /// <summary>
- // 订单状态
- /// </summary>
- public enum eOrderStatus {
- /// <summary>
- /// 委托请求
- /// </summary>
- ORDERSTATUS_REQUEST = 1,
- /// <summary>
- /// 待冻结
- /// </summary>
- ORDERSTATUS_WAITFREEZE = 2,
- /// <summary>
- /// 委托成功
- /// </summary>
- ORDERSTATUS_SUCCEED = 3,
- /// <summary>
- /// 委托失败
- /// </summary>
- ORDERSTATUS_FAILED = 4,
- /// <summary>
- /// 配对成功
- /// </summary>
- ORDERSTATUS_MATCHED = 5,
- /// <summary>
- /// 已撤
- /// </summary>
- ORDERSTATUS_CANCELED = 6,
- /// <summary>
- /// 部成
- /// </summary>
- ORDERSTATUS_PARTIALDEAL = 7,
- /// <summary>
- /// 已成
- /// </summary>
- ORDERSTATUS_DEALED = 8,
- /// <summary>
- /// 部成部撤
- /// </summary>
- ORDERSTATUS_PARTIALCANCELED = 9,
- /// <summary>
- /// 成交失败
- /// </summary>
- ORDERSTATUS_DEALFAILED = 10,
- /// <summary>
- /// 委托拒绝
- /// </summary>
- ORDERSTATUS_DENIED = 11,
- /// <summary>
- /// 经过摘牌(先摘后挂专用)
- /// </summary>
- ORDERSTATUS_MATCH = 12,
- /// <summary>
- /// 冻结成功(通道交易专用)
- /// </summary>
- ORDERSTATUS_FREEZE_SUCCESS = 13,
- /// <summary>
- /// 通道已撤
- /// </summary>
- ORDERSTATUS_CHANNEL_CANCELED = 14,
- /// <summary>
- /// 通道部成部撤
- /// </summary>
- ORDERSTATUS_CHANNEL_PARTIALCANCELED = 15,
- /// <summary>
- /// 成交失败违约(荷兰式竞拍专用)
- /// </summary>
- ORDERSTATUS_BREACHDEALFAILED = 16
- }
- /// <summary>
- // 手续费收取规则
- /// </summary>
- public enum eChargeRule {
- /// <summary>
- /// 建仓平仓双收
- /// </summary>
- CHARGERULE_BOTH = 1,
- /// <summary>
- /// 建仓不收、平仓收
- /// </summary>
- CHARGERULE_CLOSEONLY = 2,
- /// <summary>
- /// 建仓收、平仓不收
- /// </summary>
- CHARGERULE_OPENONLY = 3,
- /// <summary>
- /// 建仓不收,盈利收,亏损不收
- /// </summary>
- CHARGERULE_PROFITONLY = 4
- }
- /// <summary>
- // 交易规则
- /// </summary>
- public enum eTradeRule {
- /// <summary>
- /// 最大买持仓量
- /// </summary>
- TRADERULE_MAXBUYHOLDERQTY = 101,
- /// <summary>
- /// 最大卖持仓量
- /// </summary>
- TRADERULE_MAXSELLHOLDERQTY = 102,
- /// <summary>
- /// 单笔最小建仓量
- /// </summary>
- TRADERULE_SINGLEMINOPENQTY = 103,
- /// <summary>
- /// 单笔最大建仓量
- /// </summary>
- TRADERULE_SINGLEMAXOPENQTY = 104,
- /// <summary>
- /// 手续费收费规则
- /// </summary>
- TRADERULE_TRADECHARGERULE = 105,
- /// <summary>
- /// 交易T+N
- /// </summary>
- TRADERULE_MINHOLDERDAYS = 106,
- /// <summary>
- /// 上市首日涨停
- /// </summary>
- TRADERULE_FIRSTDAYLIMITUP = 107,
- /// <summary>
- /// 上市首日跌停
- /// </summary>
- TRADERULE_FIRSTDAYLIMITDOWN = 108,
- /// <summary>
- /// 上市首日参考价
- /// </summary>
- TRADERULE_FIRSTDAYPRICE = 109,
- /// <summary>
- /// 涨停
- /// </summary>
- TRADERULE_LIMITUP = 110,
- /// <summary>
- /// 跌停
- /// </summary>
- TRADERULE_LIMITDOWN = 111,
- /// <summary>
- /// 市价最大偏移范围
- /// </summary>
- TRADERULE_MAXOFFSETRANGE = 112,
- /// <summary>
- /// 止损点差
- /// </summary>
- TRADERULE_SLPT = 113,
- /// <summary>
- /// 止盈点差
- /// </summary>
- TRADERULE_SPPT = 114,
- /// <summary>
- /// 单笔最小交割数量
- /// </summary>
- TRADERULE_SINGLEMINDELIVERYQTY = 115,
- /// <summary>
- /// 单笔最大交割数量
- /// </summary>
- TRADERULE_SINGLEMAXDELIVERYQTY = 116,
- /// <summary>
- /// 持仓保证金公式
- /// </summary>
- TRADERULE_MARGINFORMULA = 117
- }
- /// <summary>
- // 是否必填
- /// </summary>
- public enum eIsMandatory {
- /// <summary>
- /// 不必填
- /// </summary>
- ISMANDATORY_NO = 0,
- /// <summary>
- /// 必填
- /// </summary>
- ISMANDATORY_YES = 1
- }
- /// <summary>
- // 是否可个性化
- /// </summary>
- public enum eIsPersonalized {
- /// <summary>
- /// 不可个性化
- /// </summary>
- ISPERSONALIZED_NO = 0,
- /// <summary>
- /// 可个性化
- /// </summary>
- ISPERSONALIZED_YES = 1
- }
- /// <summary>
- // 交易费用
- /// </summary>
- public enum eTradeFee {
- /// <summary>
- /// 建仓(买)手续费
- /// </summary>
- TRADEFEE_OPENCHARGE = 101,
- /// <summary>
- /// 平仓(卖)手续费
- /// </summary>
- TRADEFEE_CLOSECHARGE = 102,
- /// <summary>
- /// 买递延费(仓储费)
- /// </summary>
- TRADEFEE_BUYINTEREST = 103,
- /// <summary>
- /// 卖递延费
- /// </summary>
- TRADEFEE_SELLINTEREST = 104,
- /// <summary>
- /// 买交割手续费
- /// </summary>
- TRADEFEE_BUYDELIVERYCHARGE = 105,
- /// <summary>
- /// 卖交割手续费
- /// </summary>
- TRADEFEE_SELLDELIVERYCHARGE = 106,
- /// <summary>
- /// 调期费
- /// </summary>
- TRADEFEE_SWAPCHARGE = 107,
- /// <summary>
- /// 买过夜费
- /// </summary>
- TRADEFEE_BUYINTEREST2 = 108,
- /// <summary>
- /// 卖过夜费
- /// </summary>
- TRADEFEE_SELLINTEREST2 = 109,
- /// <summary>
- /// 利息
- /// </summary>
- TRADEFEE_INTERESTCHARGE = 110,
- /// <summary>
- /// 买递延费2(仓储费2)
- /// </summary>
- TRADEFEE_BUYDEFERCHARGE = 111,
- /// <summary>
- /// 卖递延费2
- /// </summary>
- TRADEFEE_SELLDEFERCHARGE = 112
- }
- /// <summary>
- // 商品组状态
- /// </summary>
- public enum eGoodsGroupStatus {
- /// <summary>
- /// 正常
- /// </summary>
- GOODSGROUPSTATUS_NORMAL = 1,
- /// <summary>
- /// 注销
- /// </summary>
- GOODSGROUPSTATUS_CANCELLED = 2
- }
- /// <summary>
- // 报价商标识
- /// </summary>
- public enum eHASQUOTER {
- /// <summary>
- /// 无报价商
- /// </summary>
- HASQUOTER_NO = 0,
- /// <summary>
- /// 有报价商
- /// </summary>
- HASQUOTER_YES = 1
- }
- /// <summary>
- // 报价商状态
- /// </summary>
- public enum eQuoterStatus {
- /// <summary>
- /// 正常
- /// </summary>
- QUOTERSTATUS_NORMAL = 1,
- /// <summary>
- /// 注销
- /// </summary>
- QUOTERSTATUS_CANCELLED = 2
- }
- /// <summary>
- // 行情源类型
- /// </summary>
- public enum eQuoteType {
- /// <summary>
- /// 手工报价
- /// </summary>
- QUOTETYPE_MANUAL = 1,
- /// <summary>
- /// 外部行情源
- /// </summary>
- QUOTETYPE_OUTER = 2
- }
- /// <summary>
- // 穿仓类型
- /// </summary>
- public enum eArrType {
- /// <summary>
- /// 强平资金不足欠款
- /// </summary>
- ARRTYPE_CLOSESHORT = 1,
- /// <summary>
- /// 交割手续费不足欠款
- /// </summary>
- ARRTYPE_DELIVERYCHARGESHORT = 2,
- /// <summary>
- /// 入金还款
- /// </summary>
- ARRTYPE_INAMOUNTPAYMENT = 3,
- /// <summary>
- /// 现金买卖还款
- /// </summary>
- ARRTYPE_CASHPAYMENT = 4
- }
- /// <summary>
- // 用户信息类型
- /// </summary>
- public enum eUserInfoType {
- /// <summary>
- /// 个人
- /// </summary>
- USERINFOTYPE_PERSON = 1,
- /// <summary>
- /// 企业
- /// </summary>
- USERINFOTYPE_COMPANY = 2
- }
- /// <summary>
- // 用户状态
- /// </summary>
- public enum eUserStatus {
- /// <summary>
- /// 正常
- /// </summary>
- USERSTATUS_NORMAL = 1,
- /// <summary>
- /// 注销
- /// </summary>
- USERSTATUS_CANCELLED = 2
- }
- /// <summary>
- // 用户类型
- /// </summary>
- public enum eUserType {
- /// <summary>
- /// 交易所
- /// </summary>
- USERTYPE_EXCHANGE = 1,
- /// <summary>
- /// 机构
- /// </summary>
- USERTYPE_AREA = 2,
- /// <summary>
- /// 会员子机构
- /// </summary>
- USERTYPE_SUBAREA = 3,
- /// <summary>
- /// 经纪人
- /// </summary>
- USERTYPE_BROKER = 4,
- /// <summary>
- /// 投资者
- /// </summary>
- USERTYPE_INVESTOR = 5
- }
- /// <summary>
- // 开户方式
- /// </summary>
- public enum eOpenMode {
- /// <summary>
- /// 管理端开户
- /// </summary>
- OPENMODE_MANAGE = 1,
- /// <summary>
- /// 网上开户注册
- /// </summary>
- OPENMODE_WEBSITE = 2,
- /// <summary>
- /// 微信开户
- /// </summary>
- OPENMODE_WECHAT = 3,
- /// <summary>
- /// 网页交易端注册
- /// </summary>
- OPENMODE_TRADEWETSITE = 4,
- /// <summary>
- /// 安卓手机端注册
- /// </summary>
- OPENMODE_ANDROID = 5,
- /// <summary>
- /// 苹果手机端注册
- /// </summary>
- OPENMODE_IOS = 6,
- /// <summary>
- /// PC交易端注册
- /// </summary>
- OPENMODE_TRADEPC = 7
- }
- /// <summary>
- // 企业性质
- /// </summary>
- public enum eBizNature {
- /// <summary>
- /// 国有控股企业
- /// </summary>
- BIZNATURE_NATIONAL = 1,
- /// <summary>
- /// 集体控股企业
- /// </summary>
- BIZNATURE_COLLECTIVE = 2,
- /// <summary>
- /// 私人控股企业
- /// </summary>
- BIZNATURE_PERSONAL = 3,
- /// <summary>
- /// 港澳台商控股企业
- /// </summary>
- BIZNATURE_HMT = 4,
- /// <summary>
- /// 外商控股企业
- /// </summary>
- BIZNATURE_FOREIGN = 5,
- /// <summary>
- /// 其它
- /// </summary>
- BIZNATURE_OTHER = 6
- }
- /// <summary>
- // 性别
- /// </summary>
- public enum eSex {
- /// <summary>
- /// 女
- /// </summary>
- SEX_FEMALE = 0,
- /// <summary>
- /// 男
- /// </summary>
- SEX_MALE = 1
- }
- /// <summary>
- // 账户状态
- /// </summary>
- public enum eAccountStatus {
- /// <summary>
- /// 待激活
- /// </summary>
- ACCOUNTSTATUS_INACTIVE = 1,
- /// <summary>
- /// 待审核
- /// </summary>
- ACCOUNTSTATUS_PENDINGAUDIT = 2,
- /// <summary>
- /// 待复审
- /// </summary>
- ACCOUNTSTATUS_PENDINGREAUDIT = 3,
- /// <summary>
- /// 正常
- /// </summary>
- ACCOUNTSTATUS_NORMAL = 4,
- /// <summary>
- /// 审核拒绝
- /// </summary>
- ACCOUNTSTATUS_REJECT = 5,
- /// <summary>
- /// 已注销
- /// </summary>
- ACCOUNTSTATUS_CANCELLED = 6
- }
- /// <summary>
- // 登录账号类型
- /// </summary>
- public enum eLoginUserType {
- /// <summary>
- /// 投资者
- /// </summary>
- LOGINUSERTYPE_INVESTOR = 1,
- /// <summary>
- /// 机构交易员
- /// </summary>
- LOGINUSERTYPE_TRADER = 2
- }
- /// <summary>
- // 登陆类型
- /// </summary>
- public enum eLoginType {
- /// <summary>
- /// 账号登陆
- /// </summary>
- LOGINTYPE_ACCOUNT = 0,
- /// <summary>
- /// 手机号登陆
- /// </summary>
- LOGINTYPE_MOBILEPHONE = 1,
- /// <summary>
- /// 微信号登陆
- /// </summary>
- LOGINTYPE_WECHAT = 2,
- /// <summary>
- /// 三方认证登陆
- /// </summary>
- LOGINTYPE_AUTH = 3
- }
- /// <summary>
- // 登录账号状态
- /// </summary>
- public enum eLoginStatus {
- /// <summary>
- /// 正常
- /// </summary>
- LOGINSTATUS_NORMAL = 1,
- /// <summary>
- /// 冻结
- /// </summary>
- LOGINSTATUS_FROZEN = 2,
- /// <summary>
- /// 无效
- /// </summary>
- LOGINSTATUS_INVALID = 3
- }
- /// <summary>
- // 签约状态
- /// </summary>
- public enum eSignStatus {
- /// <summary>
- /// 未签约
- /// </summary>
- SIGNSTATUS_UNSIGN = 1,
- /// <summary>
- /// 签约待审核
- /// </summary>
- SIGNSTATUS_SIGNFORAUDIT = 2,
- /// <summary>
- /// 签约中
- /// </summary>
- SIGNSTATUS_SIGNING = 3,
- /// <summary>
- /// 已签约
- /// </summary>
- SIGNSTATUS_SIGNED = 4,
- /// <summary>
- /// 解约待审核
- /// </summary>
- SIGNSTATUS_CANCELFORAUDIT = 5,
- /// <summary>
- /// 解约中
- /// </summary>
- SIGNSTATUS_CANCELLING = 6,
- /// <summary>
- /// 已解约
- /// </summary>
- SIGNSTATUS_CANCELLED = 7,
- /// <summary>
- /// 已解绑
- /// </summary>
- SIGNSTATUS_BINDED = 8,
- /// <summary>
- /// 绑卡中
- /// </summary>
- SIGNSTATUS_BINDING = 9,
- /// <summary>
- /// 审核拒绝
- /// </summary>
- SIGNSTATUS_REJECT = 10,
- /// <summary>
- /// 换签待审核
- /// </summary>
- SIGNSTATUS_SWITCH_SIGN_BANK_FORAUDIT = 11
- }
- /// <summary>
- // 母账户标识
- /// </summary>
- public enum eIsMain {
- /// <summary>
- /// 不是母账户
- /// </summary>
- ISMAIN_NO = 0,
- /// <summary>
- /// 是母账户
- /// </summary>
- ISMAIN_YES = 1
- }
- /// <summary>
- // 资金账号类型
- /// </summary>
- public enum eTAAccountType {
- /// <summary>
- /// 外部账号
- /// </summary>
- TAACCOUNTTYPE_OUTER = 1,
- /// <summary>
- /// 内部账号
- /// </summary>
- TAACCOUNTTYPE_INNER = 2,
- /// <summary>
- /// 内部做市自营账号
- /// </summary>
- TAACCOUNTTYPE_INNER_MARKETMAKER_DEALER = 3,
- /// <summary>
- /// 内部做市接单账号
- /// </summary>
- TAACCOUNTTYPE_INNER_MARKETMAKER_ACCEPT = 4
- }
- /// <summary>
- // 资金调整类型
- /// </summary>
- public enum eAmountAdjustType {
- /// <summary>
- /// 系统
- /// </summary>
- AMOUNTADJUSTTYPE_SYSTEM = 0,
- /// <summary>
- /// 单边账调整
- /// </summary>
- AMOUNTADJUSTTYPE_UNILATERAL = 1,
- /// <summary>
- /// 人工调整
- /// </summary>
- AMOUNTADJUSTTYPE_MANUAL = 2
- }
- /// <summary>
- // 账户业务编号
- /// </summary>
- public enum eAccountBusinessCode {
- /// <summary>
- /// 管理端资金头寸调整
- /// </summary>
- ACCOUNTBIZCODE_MANAGE_ADJUST = 101,
- /// <summary>
- /// 管理端分润划转
- /// </summary>
- ACCOUNTBIZCODE_MANAGE_SHARE_PROFIT = 102,
- /// <summary>
- /// 管理端划转
- /// </summary>
- ACCOUNTBIZCODE_MANAGE_TRANSFER = 103,
- /// <summary>
- /// 管理端主账号划转
- /// </summary>
- ACCOUNTBIZCODE_MANAGE_MAIN_TRANSFER = 104,
- /// <summary>
- /// 银行入金
- /// </summary>
- ACCOUNTBIZCODE_BANK_DEPOSIT = 201,
- /// <summary>
- /// 银行出金冻结
- /// </summary>
- ACCOUNTBIZCODE_BANK_WITHDRAW_FREEZE = 202,
- /// <summary>
- /// 银行出金解冻
- /// </summary>
- ACCOUNTBIZCODE_BANK_WITHDRAW_UNFREEZE = 203,
- /// <summary>
- /// 银行出金
- /// </summary>
- ACCOUNTBIZCODE_BANK_WITHDRAW = 204,
- /// <summary>
- /// 银行单边帐调整
- /// </summary>
- ACCOUNTBIZCODE_BANK_ADJUST = 205,
- /// <summary>
- /// 交易建仓委托
- /// </summary>
- ACCOUNTBIZCODE_TRADE_OPEN_ORDER = 301,
- /// <summary>
- /// 交易建仓撤单
- /// </summary>
- ACCOUNTBIZCODE_TRADE_OPEN_CANCEL = 302,
- /// <summary>
- /// 交易建仓成交
- /// </summary>
- ACCOUNTBIZCODE_TRADE_OPEN_DEAL = 303,
- /// <summary>
- /// 交易平仓委托
- /// </summary>
- ACCOUNTBIZCODE_TRADE_CLOSE_ORDER = 304,
- /// <summary>
- /// 交易平仓撤单
- /// </summary>
- ACCOUNTBIZCODE_TRADE_CLOSE_CANCEL = 305,
- /// <summary>
- /// 交易平仓成交
- /// </summary>
- ACCOUNTBIZCODE_TRADE_CLOSE_DEAL = 306,
- /// <summary>
- /// 交易先平后建委托
- /// </summary>
- ACCOUNTBIZCODE_TRADE_CLOSE_OPEN_ORDER = 307,
- /// <summary>
- /// 交易先平后建撤单
- /// </summary>
- ACCOUNTBIZCODE_TRADE_CLOSE_OPEN_CANCEL = 308,
- /// <summary>
- /// 交易先平后建成交
- /// </summary>
- ACCOUNTBIZCODE_TRADE_CLOSE_OPEN_DEAL = 309,
- /// <summary>
- /// 交易持仓作废
- /// </summary>
- ACCOUNTBIZCODE_TRADE_INVALID = 310,
- /// <summary>
- /// 交易到期解冻
- /// </summary>
- ACCOUNTBIZCODE_TRADE_EXPIRED_UNFREEZE = 311,
- /// <summary>
- /// 交易仓单转头寸
- /// </summary>
- ACCOUNTBIZCODE_TRADE_WRTOPOSITION = 312,
- /// <summary>
- /// 交易头寸转仓单
- /// </summary>
- ACCOUNTBIZCODE_TRADE_POSITIONTOWR = 313,
- /// <summary>
- /// 交易报价冻结
- /// </summary>
- ACCOUNTBIZCODE_TRADEQUOTE_FREEZE = 314,
- /// <summary>
- /// 交易管理端修正建仓
- /// </summary>
- ACCOUNTBIZCODE_TRADE_MANAGE_AMEND_HOLDER_OPEN = 315,
- /// <summary>
- /// 交易管理端修正平仓
- /// </summary>
- ACCOUNTBIZCODE_TRADE_MANAGE_AMEND_HOLDER_CLOSE = 316,
- /// <summary>
- /// 三方入金
- /// </summary>
- ACCOUNTBIZCODE_THIRD_IN_MONEY = 317,
- /// <summary>
- /// 三方出金冻结
- /// </summary>
- ACCOUNTBIZCODE_THIRD_OUT_MONEY_FREEZE = 318,
- /// <summary>
- /// 三方出金解冻
- /// </summary>
- ACCOUNTBIZCODE_THIRD_OUT_MONEY_UNFREEZE = 319,
- /// <summary>
- /// 币币兑换买方委托
- /// </summary>
- ACCOUNTBIZCODE_COINEXCHANGE_BUY_ORDER = 320,
- /// <summary>
- /// 币币兑换卖方委托
- /// </summary>
- ACCOUNTBIZCODE_COINEXCHANGE_SELL_ORDER = 321,
- /// <summary>
- /// 币币兑换买方付款成交
- /// </summary>
- ACCOUNTBIZCODE_COINEXCHANGE_BUY_PAYER_DEAL = 322,
- /// <summary>
- /// 币币兑换买方收款成交
- /// </summary>
- ACCOUNTBIZCODE_COINEXCHANGE_BUY_PAYEE_DEAL = 323,
- /// <summary>
- /// 币币兑换卖方付款成交
- /// </summary>
- ACCOUNTBIZCODE_COINEXCHANGE_SELL_PAYEY_DEAL = 324,
- /// <summary>
- /// 币币兑换卖方收款成交
- /// </summary>
- ACCOUNTBIZCODE_COINEXCHANGE_SELL_PAYEE_DEAL = 325,
- /// <summary>
- /// 币币兑换买方撤单
- /// </summary>
- ACCOUNTBIZCODE_COINEXCHANGE_BUY_CANCEL = 326,
- /// <summary>
- /// 币币兑换卖方撤单
- /// </summary>
- ACCOUNTBIZCODE_COINEXCHANGE_SELL_CANCEL = 327,
- /// <summary>
- /// 币币兑换报价冻结
- /// </summary>
- ACCOUNTBIZCODE_COINEXCHANGE_QUOTE_FREEZE = 328,
- /// <summary>
- /// 三方出金
- /// </summary>
- ACCOUNTBIZCODE_THIRD_OUT_MONEY = 329,
- /// <summary>
- /// 融资合同授信入金
- /// </summary>
- ACCOUNTBIZCODE_CONTRACT_IN_MONEY = 330,
- /// <summary>
- /// 融资合同授信还款
- /// </summary>
- ACCOUNTBIZCODE_CONTRACT_PAYBACK_MONEY = 331,
- /// <summary>
- /// 融资续期合同手续费冻结
- /// </summary>
- ACCOUNTBIZCODE_RENEWALCONTRACT_FREEZE = 332,
- /// <summary>
- /// 融资续期合同手续费解冻
- /// </summary>
- ACCOUNTBIZCODE_RENEWALCONTRACT_UNFREEZE = 333,
- /// <summary>
- /// 融资续期合同手续费解冻扣款
- /// </summary>
- ACCOUNTBIZCODE_RENEWALCONTRACT_DEDUCT = 334,
- /// <summary>
- /// 币交易卖委托
- /// </summary>
- ACCOUNTBIZCODE_COINC2C_SELL_ORDER = 350,
- /// <summary>
- /// 币交易卖成交
- /// </summary>
- ACCOUNTBIZCODE_COINC2C_SELL_DEAL = 351,
- /// <summary>
- /// 币交易卖撤单
- /// </summary>
- ACCOUNTBIZCODE_COINC2C_SELL_CANCEL = 352,
- /// <summary>
- /// 交割平仓委托
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_CLOSE_ORDER = 401,
- /// <summary>
- /// 交割平仓撤单
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_CLOSE_CANCEL = 402,
- /// <summary>
- /// 交割平仓成交
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_CLOSE_DEAL = 403,
- /// <summary>
- /// 交割成交
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_DEAL = 404,
- /// <summary>
- /// 交割仓单订单查询
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_WAREHORSE_QUERY = 405,
- /// <summary>
- /// 交割主商品头寸冻结
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_XPOSITION_FREEZE = 406,
- /// <summary>
- /// 交割主商品头寸解冻
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_XPOSITION_UNFREEZE = 407,
- /// <summary>
- /// 交割辅商品头寸冻结
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_PPOSITION_FREEZE = 408,
- /// <summary>
- /// 交割辅商品头寸解冻
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_PPOSITION_UNFREEZE = 409,
- /// <summary>
- /// 交割手续费
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_CHARGE = 410,
- /// <summary>
- /// 交割申请仓单订单查询
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_APPLY_WAREHOUSE_QUERY = 411,
- /// <summary>
- /// 交割申请主商品头寸冻结
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_APPLY_XPOSITION_FREEZE = 412,
- /// <summary>
- /// 交割申请主商品头寸解冻
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_APPLY_XPOSITION_UNFREEZE = 413,
- /// <summary>
- /// 交割申请辅商品头寸冻结
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_APPLY_PPOSITION_FREEZE = 414,
- /// <summary>
- /// 交割申请辅商品头寸解冻
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_APPLY_PPOSITION_UNFREEZE = 415,
- /// <summary>
- /// 交割申请冻结仓单头寸
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_APPLY_WRPOSTION_FREEZE = 416,
- /// <summary>
- /// 交割申请解冻仓单头寸
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_APPLY_WRPOSTION_UNFREEZE = 417,
- /// <summary>
- /// 交割申请冻结货款
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_APPLY_DELIVERYAMOUNT_FREEZE = 418,
- /// <summary>
- /// 交割申请解冻货款
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_APPLY_DELIVERYAMOUNT_UNFREEZE = 419,
- /// <summary>
- /// 交割申请付款
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_APPLY_PAYMENT = 420,
- /// <summary>
- /// 交割申请收款
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_APPLY_RECEIPT = 421,
- /// <summary>
- /// 交割申报冻结货款
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_FUND_FREEZE = 422,
- /// <summary>
- /// 交割申报解冻货款
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_FUND_UNFREEZE = 423,
- /// <summary>
- /// 交割调期费
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_SWAY_FEE = 424,
- /// <summary>
- /// 冻结货款(无仓单)
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_APPLY_NONWR_DELIVERYAMOUNT_FREEZE = 430,
- /// <summary>
- /// 解冻货款(无仓单)
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_APPLY_NONWR_DELIVERYAMOUNT_UNFREEZE = 431,
- /// <summary>
- /// 冻结主商品头寸(无仓单)
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_APPLY_NONWR_XPOSITION_FREEZE = 432,
- /// <summary>
- /// 解冻主商品头寸(无仓单)
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_APPLY_NONWR_XPOSITION_UNFREEZE = 433,
- /// <summary>
- /// 交割申报冻结货款(无仓单)
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_NONWR_DELIVERYAMOUNT_FREEZE = 434,
- /// <summary>
- /// 交割申报解冻货款(无仓单)
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_NONWR_DELIVERYAMOUNT_UNFREEZE = 435,
- /// <summary>
- /// 交割申报冻结主商品头寸(无仓单)
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_NONWR_XPOSITION_FREEZE = 436,
- /// <summary>
- /// 交割申报解冻主商品头寸(无仓单)
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_NONWR_XPOSITION_UNFREEZE = 437,
- /// <summary>
- /// 交收补偿费(无仓单)
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_NONWR_COMPENSATION_FEE = 438,
- /// <summary>
- /// 查询可点选头寸(无仓单)
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_NONWR_POSITION_QUERY = 439,
- /// <summary>
- /// 交割申请会员仓单订单查询
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_MEMBER_APPLY_WAREHOUSE_QUERY = 440,
- /// <summary>
- /// 交割申请会员主商品头寸冻结
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_MEMBER_APPLY_XPOSITION_FREEZE = 441,
- /// <summary>
- /// 交割申请会员主商品头寸解冻
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_MEMBER_APPLY_XPOSITION_UNFREEZE = 442,
- /// <summary>
- /// 交割申请会员冻结仓单头寸
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_MEMBER_APPLY_WRPOSTION_FREEZE = 445,
- /// <summary>
- /// 交割申请会员解冻仓单头寸
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_MEMBER_APPLY_WRPOSTION_UNFREEZE = 446,
- /// <summary>
- /// 交割申请会员冻结货款
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_MEMBER_APPLY_DELIVERYAMOUNT_FREEZE = 447,
- /// <summary>
- /// 交割申请会员解冻货款
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_MEMBER_APPLY_DELIVERYAMOUNT_UNFREEZE = 448,
- /// <summary>
- /// 无仓单交割冻结履约保证金
- /// </summary>
- ACCOUNTBIZCODE_DELIVERY_NONWR_PERFORMANCEMARGIN_FREEZE = 449,
- /// <summary>
- /// 履约卖方发货
- /// </summary>
- ACCOUNTBIZCODE_PERFORMANCE_SELLER_SENDGOODS = 501,
- /// <summary>
- /// 履约买方支付
- /// </summary>
- ACCOUNTBIZCODE_PERFORMANCE_BUYER_PAYMENT = 502,
- /// <summary>
- /// 履约卖方收款
- /// </summary>
- ACCOUNTBIZCODE_PERFORMANCE_SELLER_RECEIVE = 503,
- /// <summary>
- /// 履约买方违约
- /// </summary>
- ACCOUNTBIZCODE_PERFORMANCE_BREACH_BUY = 504,
- /// <summary>
- /// 履约卖方违约
- /// </summary>
- ACCOUNTBIZCODE_PERFORMANCE_BREACH_SELL = 505,
- /// <summary>
- /// 履约冻结仓单头寸
- /// </summary>
- ACCOUNTBIZCODE_PERFORMANCE_WRPOSTION_FREEZE = 506,
- /// <summary>
- /// 履约解冻仓单头寸
- /// </summary>
- ACCOUNTBIZCODE_PERFORMANCE_WRPOSTION_UNFREEZE = 507,
- /// <summary>
- /// 支付流程扣款
- /// </summary>
- ACCOUNTBIZCODE_PERFORMANCE_BUYERPAYMENT_DEDUCT = 508,
- /// <summary>
- /// 收款流程扣款
- /// </summary>
- ACCOUNTBIZCODE_PERFORMANCE_SELLERRECV_DEDUCT = 509,
- /// <summary>
- /// 收款流程收款
- /// </summary>
- ACCOUNTBIZCODE_PERFORMANCE_SELLERRECV_RECV = 510,
- /// <summary>
- /// 计划结束时释放相关金额
- /// </summary>
- ACCOUNTBIZCODE_PERFORMANCE_UNFREEZE_PLAN_END = 511,
- /// <summary>
- /// 卖方释放履约前冻结剩余金额
- /// </summary>
- ACCOUNTBIZCODE_PERFORMANCE_SELLER_UNFREEZE = 512,
- /// <summary>
- /// 仓单注册审核通过的仓单服务处理
- /// </summary>
- ACCOUNTBIZCODE_WR_REGISTER = 601,
- /// <summary>
- /// 仓单转移业务处理
- /// </summary>
- ACCOUNTBIZCODE_WR_MOVE = 602,
- /// <summary>
- /// 仓单生成(仓单拆解)
- /// </summary>
- ACCOUNTBIZCODE_WR_DELIVERY_SPLIT = 603,
- /// <summary>
- /// 仓单转订单申请
- /// </summary>
- ACCOUNTBIZCODE_WR_R2H_APPLY = 604,
- /// <summary>
- /// 仓单转订单审核
- /// </summary>
- ACCOUNTBIZCODE_WR_R2H_VERIFY = 605,
- /// <summary>
- /// 订单转仓单申请
- /// </summary>
- ACCOUNTBIZCODE_WR_H2R_APPLY = 606,
- /// <summary>
- /// 订单转仓单审核
- /// </summary>
- ACCOUNTBIZCODE_WR_H2R_VERIFY = 607,
- /// <summary>
- /// 提货申请
- /// </summary>
- ACCOUNTBIZCODE_WR_LADING_APPLY = 608,
- /// <summary>
- /// 提货审核
- /// </summary>
- ACCOUNTBIZCODE_WR_LADING_VERIFY = 609,
- /// <summary>
- /// 库位状态变更
- /// </summary>
- ACCOUNTBIZCODE_WR_LOCATION_STATUS_UPDATE = 610,
- /// <summary>
- /// 合并库位
- /// </summary>
- ACCOUNTBIZCODE_WR_MERGE_LOCATION = 611,
- /// <summary>
- /// 提货撤消
- /// </summary>
- ACCOUNTBIZCODE_WR_LADING_CANCEL = 612,
- /// <summary>
- /// 退市订单转仓单请求
- /// </summary>
- ACCOUNTBIZCODE_WR_H2R_DELIST = 613,
- /// <summary>
- /// 运费拒绝请求
- /// </summary>
- ACCOUNTBIZCODE_WR_FREIGHT_REJECT = 614,
- /// <summary>
- /// 收货确认
- /// </summary>
- ACCOUNTBIZCODE_WR_RECEIVE_CONFIRM = 615,
- /// <summary>
- /// 运费确认
- /// </summary>
- ACCOUNTBIZCODE_WR_FREIGHT_CONFIRM = 616,
- /// <summary>
- /// 发货业务
- /// </summary>
- ACCOUNTBIZCODE_WR_DELIVERY_DISTRIBUTE = 617,
- /// <summary>
- /// 运费收入
- /// </summary>
- ACCOUNTBIZCODE_WR_FREIGHT_INCOME = 618,
- /// <summary>
- /// 重新发布
- /// </summary>
- ACCOUNTBIZCODE_WR_RETRANSMIT_DISTRIBUTE = 619,
- /// <summary>
- /// 提货计划审核通过
- /// </summary>
- ACCOUNTBIZCODE_WR_TAKE_PLAN = 620,
- /// <summary>
- /// 合同生效
- /// </summary>
- ACCOUNTBIZCODE_WR_CONTRACT_FORCE = 621,
- /// <summary>
- /// 仓单贸易挂牌委托
- /// </summary>
- ACCOUNTBIZCODE_WRTRADE_LISTING_ORDER = 701,
- /// <summary>
- /// 仓单贸易挂牌撤单
- /// </summary>
- ACCOUNTBIZCODE_WRTRADE_LISTING_CANCEL = 702,
- /// <summary>
- /// 仓单贸易摘牌委托
- /// </summary>
- ACCOUNTBIZCODE_WRTRADE_DELISTING_ORDER = 703,
- /// <summary>
- /// 仓单贸易摘牌成交
- /// </summary>
- ACCOUNTBIZCODE_WRTRADE_DELISTING_DEAL = 704,
- /// <summary>
- /// 仓单贸易挂牌成交
- /// </summary>
- ACCOUNTBIZCODE_WRTRADE_LISTING_DEAL = 705,
- /// <summary>
- /// 报价系统冻结仓单头寸
- /// </summary>
- ACCOUNTBIZCODE_SPOTQUOTE_WRPOSTION_FREEZE = 706,
- /// <summary>
- /// 报价系统解冻仓单头寸
- /// </summary>
- ACCOUNTBIZCODE_SPOTQUOTE_WRPOSTION_UNFREEZE = 707,
- /// <summary>
- /// 挂牌系统先撤后挂
- /// </summary>
- ACCOUNTBIZCODE_WRTRADE_CANCELTEHNLISTING = 708,
- /// <summary>
- /// 供应链金融冻结
- /// </summary>
- ACCOUNTBIZCODE_SCF_FREEZE = 801,
- /// <summary>
- /// 供应链金融扣款
- /// </summary>
- ACCOUNTBIZCODE_SCF_DEDUCT = 802,
- /// <summary>
- /// 供应链金融收款
- /// </summary>
- ACCOUNTBIZCODE_SCF_RECEIVE = 803,
- /// <summary>
- /// 供应链金融冻结仓单头寸
- /// </summary>
- ACCOUNTBIZCODE_SCF_POS_FREEZE = 804,
- /// <summary>
- /// 供应链金融解冻仓单头寸
- /// </summary>
- ACCOUNTBIZCODE_SCF_POS_UNFREEZE = 805,
- /// <summary>
- /// 供应链金融解冻扣减头寸
- /// </summary>
- ACCOUNTBIZCODE_SCF_POS_UNFREEZE_DEDUCT = 806,
- /// <summary>
- /// 供应链金融增加头寸
- /// </summary>
- ACCOUNTBIZCODE_SCF_POS_ADD = 807,
- /// <summary>
- /// 供应链金融最大扣款
- /// </summary>
- ACCOUNTBIZCODE_SCF_MAX_DEDUCT = 808,
- /// <summary>
- /// 供应链金融合并仓单
- /// </summary>
- ACCOUNTBIZCODE_SCF_WR_LOCATION_MARGE = 809,
- /// <summary>
- /// 供应链金融转移仓单
- /// </summary>
- ACCOUNTBIZCODE_SCF_WR_LOCATION_MOVE = 810,
- /// <summary>
- /// 供应链金融风控通知
- /// </summary>
- ACCOUNTBIZCODE_SCF_RISK_NTF = 811,
- /// <summary>
- /// 期权交易建仓委托
- /// </summary>
- ACCOUNTBIZCODE_OPTION_OPEN_ORDER = 901,
- /// <summary>
- /// 期权交易建仓撤单
- /// </summary>
- ACCOUNTBIZCODE_OPTION_OPEN_CANCEL = 902,
- /// <summary>
- /// 期权交易建仓成交
- /// </summary>
- ACCOUNTBIZCODE_OPTION_OPEN_DEAL = 903,
- /// <summary>
- /// 期权交易平仓委托
- /// </summary>
- ACCOUNTBIZCODE_OPTION_CLOSE_ORDER = 904,
- /// <summary>
- /// 期权交易平仓撤单
- /// </summary>
- ACCOUNTBIZCODE_OPTION_CLOSE_CANCEL = 905,
- /// <summary>
- /// 期权交易平仓成交
- /// </summary>
- ACCOUNTBIZCODE_OPTION_CLOSE_DEAL = 906,
- /// <summary>
- /// 扩展服务仓单头寸汇总查询
- /// </summary>
- ACCOUNTBIZCODE_MS_WRPOSION_QUERY = 1001,
- /// <summary>
- /// 扩展服务仓单订单头寸冻结
- /// </summary>
- ACCOUNTBIZCODE_MS_WRPOSION_FREEZE = 1002,
- /// <summary>
- /// 扩展服务仓单订单头寸扣减
- /// </summary>
- ACCOUNTBIZCODE_MS_WRPOSION_DEDUCT = 1003,
- /// <summary>
- /// 扩展服务资金扣减请求
- /// </summary>
- ACCOUNTBIZCODE_MS_MONEY_DEDUCT = 1004,
- /// <summary>
- /// 扩展服务资金增加请求
- /// </summary>
- ACCOUNTBIZCODE_MS_MONEY_ADD = 1005,
- /// <summary>
- /// 扩展服务资金冻结请求
- /// </summary>
- ACCOUNTBIZCODE_MS_MONEY_FREEZE = 1006,
- /// <summary>
- /// 扩展服务资金解冻扣减请求
- /// </summary>
- ACCOUNTBIZCODE_MS_MONEY_UNFREEZE_DEDUCT = 1007,
- /// <summary>
- /// 扩展服务仓单订单头寸解冻
- /// </summary>
- ACCOUNTBIZCODE_MS_WRPOSION_UNFREEZE = 1008,
- /// <summary>
- /// 扩展积分头寸查询
- /// </summary>
- ACCOUNTBIZCODE_MS_SCOREPOSION_QUERY = 1009,
- /// <summary>
- /// 扩展交收分润扣款
- /// </summary>
- ACCOUNTBIZCODE_MS_DELIVERY_DIVIDE_MONEY_DEDUCT = 1010,
- /// <summary>
- /// 扩展交收分润增加
- /// </summary>
- ACCOUNTBIZCODE_MS_DELIVERY_DIVIDE_MONEY_ADD = 1011,
- /// <summary>
- /// 扩展交收红包返现扣款
- /// </summary>
- ACCOUNTBIZCODE_MS_DELIVERY_RETURN_MONEY_DEDUCT = 1012,
- /// <summary>
- /// 扩展交收红包返现增加
- /// </summary>
- ACCOUNTBIZCODE_MS_DELIVERY_RETURN_MONEY_ADD = 1013,
- /// <summary>
- /// 扩展交易分润资金扣款
- /// </summary>
- ACCOUNTBIZCODE_MS_TRADE_DIVIDE_MONEY_DEDUCT = 1014,
- /// <summary>
- /// 扩展交易分润资金入款
- /// </summary>
- ACCOUNTBIZCODE_MS_TRADE_DIVIDE_MONEY_ADD = 1015,
- /// <summary>
- /// 扩展交易交收配送费扣款
- /// </summary>
- ACCOUNTBIZCODE_MS_EXPRESSFEE_MONEY_DEDUCT = 1016,
- /// <summary>
- /// 扩展交易交收配送费入款
- /// </summary>
- ACCOUNTBIZCODE_MS_EXPRESSFEE_MONEY_ADD = 1017,
- /// <summary>
- /// 扩展购物分润资金扣款
- /// </summary>
- ACCOUNTBIZCODE_MS_SHOPPING_DIVIDE_MONEY_DEDUCT = 1018,
- /// <summary>
- /// 扩展购物分润资金入款
- /// </summary>
- ACCOUNTBIZCODE_MS_SHOPPING_DIVIDE_MONEY_ADD = 1019,
- /// <summary>
- /// 扩展盈利转积分扣款
- /// </summary>
- ACCOUNTBIZCODE_MS_PROFIT_TOSCORE_MONEY_DEDUCT = 1020,
- /// <summary>
- /// 扩展盈利转积分入款
- /// </summary>
- ACCOUNTBIZCODE_MS_PROFIT_TOSCORE_MONEY_ADD = 1021,
- /// <summary>
- /// 扩展购物分润交易所手续费扣款
- /// </summary>
- ACCOUNTBIZCODE_MS_SHOPPING_DIVIDE_EXCH_DIV_DEDUCT = 1022,
- /// <summary>
- /// 积分服务积分头寸增加
- /// </summary>
- ACCOUNTBIZCODE_SCORE_ADD = 1101,
- /// <summary>
- /// 积分服务积分头寸减少
- /// </summary>
- ACCOUNTBIZCODE_SCORE_DOWN = 1102,
- /// <summary>
- /// 机构决算时积分回购
- /// </summary>
- ACCOUNTBIZCODE_SCORE_RECKON_ADD = 1103,
- /// <summary>
- /// 决算时消灭过期积分
- /// </summary>
- ACCOUNTBIZCODE_SCORE_RECKON_DESTROY = 1104,
- /// <summary>
- /// 积分结算冻结请求
- /// </summary>
- ACCOUNTBIZCODE_SCORE_RECKON_FREEZE = 1105,
- /// <summary>
- /// 积分结算解冻请求
- /// </summary>
- ACCOUNTBIZCODE_SCORE_RECKON_UNFREEZE = 1106,
- /// <summary>
- /// 积分清理积分商增加
- /// </summary>
- ACCOUNTBIZCODE_SCORE_CLEAR_ADD = 1107,
- /// <summary>
- /// 积分清理冻结
- /// </summary>
- ACCOUNTBIZCODE_SCORE_CLEAR_FREEZE = 1108,
- /// <summary>
- /// 积分清理解冻
- /// </summary>
- ACCOUNTBIZCODE_SCORE_CLEAR_UNFREEZE = 1109,
- /// <summary>
- /// 积分撤单解冻
- /// </summary>
- ACCOUNTBIZCODE_SCORE_CANCEL_UNFREEZE = 1110,
- /// <summary>
- /// 积分核销冻结请求
- /// </summary>
- ACCOUNTBIZCODE_SCORE_CLOSEDOWN_FREEZE = 1111,
- /// <summary>
- /// 积分核销解冻请求
- /// </summary>
- ACCOUNTBIZCODE_SCORE_CLOSEDOWN_UNFREEZE = 1112,
- /// <summary>
- /// 会员积分头寸减少
- /// </summary>
- ACCOUNTBIZCODE_SCORE_LESSEN = 1113,
- /// <summary>
- /// 首次登陆送红包积分增加
- /// </summary>
- ACCOUNTBIZCODE_SCORE_FRIST_LOAD_REDPACKET_ADD = 1114,
- /// <summary>
- /// 开户送红包积分增加
- /// </summary>
- ACCOUNTBIZCODE_SCORE_OPENACC_REDPACKET_ADD = 1115,
- /// <summary>
- /// 开户推荐人红包增加
- /// </summary>
- ACCOUNTBIZCODE_SCORE_OPEN_REFEREE_REDPACKET_ADD = 1116,
- /// <summary>
- /// 积分返还
- /// </summary>
- ACCOUNTBIZCODE_SCORE_RESTORE = 1117,
- /// <summary>
- /// 积分资金互转
- /// </summary>
- ACCOUNTBIZCODE_SCORE_MONEYSCOREEXCHANGE = 1118,
- /// <summary>
- /// 积分结算积分减少
- /// </summary>
- ACCOUNTBIZCODE_SCORE_RECKON_DOWN = 1119,
- /// <summary>
- /// 买方竞拍委托
- /// </summary>
- ACCOUNTBIZCODE_BUYAUCTION_ORDER = 1201,
- /// <summary>
- /// 竞拍违约扣款
- /// </summary>
- ACCOUNTBIZCODE_AUCTION_BREACH_DEDUCT = 1202,
- /// <summary>
- /// 竞拍违约收款
- /// </summary>
- ACCOUNTBIZCODE_AUCTION_BREACH_RECV = 1203,
- /// <summary>
- /// 竞拍资金冻结
- /// </summary>
- ACCOUNTBIZCODE_AUCTION_AMOUNT_FREEZE = 1204,
- /// <summary>
- /// 买方竞拍成交
- /// </summary>
- ACCOUNTBIZCODE_BUYAUCTION_TRADE = 1205,
- /// <summary>
- /// 卖方竞拍委托
- /// </summary>
- ACCOUNTBIZCODE_SELLAUCTION_ORDER = 1206,
- /// <summary>
- /// 卖方竞拍成交
- /// </summary>
- ACCOUNTBIZCODE_SELLAUCTION_TRADE = 1207,
- /// <summary>
- /// 买方竞拍撤单
- /// </summary>
- ACCOUNTBIZCODE_BUYAUCTION_CANCEL = 1208,
- /// <summary>
- /// 卖方竞拍撤单
- /// </summary>
- ACCOUNTBIZCODE_SELLAUCTION_CANCEL = 1209,
- /// <summary>
- /// 卖方竞拍申请注销
- /// </summary>
- ACCOUNTBIZCODE_SELLAUCTION_APPLYCANCEL = 1210,
- /// <summary>
- /// 买方参与场次
- /// </summary>
- ACCOUNTBIZCODE_BUYAUCTION_GOGROUP = 1211,
- /// <summary>
- /// 竞拍资金冻结
- /// </summary>
- ACCOUNTBIZCODE_AUCTION_AMOUNT_FREEZEGROUP = 1212,
- /// <summary>
- /// 买方退出场次
- /// </summary>
- ACCOUNTBIZCODE_BUYAUCTION_ENDGROUP = 1213,
- /// <summary>
- /// 竞拍返利扣款
- /// </summary>
- ACCOUNTBIZCODE_AUCTION_REBATE_DEDUCT = 1214,
- /// <summary>
- /// 竞拍返利收款
- /// </summary>
- ACCOUNTBIZCODE_AUCTION_REBATE_RECV = 1215,
- /// <summary>
- /// 竞拍资金解冻
- /// </summary>
- ACCOUNTBIZCODE_AUCTION_AMOUNT_UNFREEZE = 1216,
- /// <summary>
- /// 竞拍审核
- /// </summary>
- ACCOUNTBIZCODE_AUCTION_VERIFY = 1217,
- /// <summary>
- /// 金点拍累计拍得者大奖
- /// </summary>
- ACCOUNTBIZCODE_AUCTION_PRIZE_PDZ_CUMULATIVE = 1218,
- /// <summary>
- /// 金点拍当期拍得者大奖
- /// </summary>
- ACCOUNTBIZCODE_AUCTION_PRIZE_PDZ_CURRENT = 1219,
- /// <summary>
- /// 金点拍直推VIP当日TOPN奖励
- /// </summary>
- ACCOUNTBIZCODE_AUCTION_PRIZE_VIP_TOPN = 1220,
- /// <summary>
- /// 金点拍用户VIP升级
- /// </summary>
- ACCOUNTBIZCODE_AUCTION_USER_VIP_UPGRADE = 1221,
- /// <summary>
- /// 金点拍用户VIP升级奖励
- /// </summary>
- ACCOUNTBIZCODE_AUCTION_USER_VIP_UPGRADE_PRIZE = 1222,
- /// <summary>
- /// 金点拍交易所手续费收入
- /// </summary>
- ACCOUNTBIZCODE_AUCTION_EXCHANE_FEERECV = 1223,
- /// <summary>
- /// 金点拍抽奖
- /// </summary>
- ACCOUNTBIZCODE_AUCTION_PRIZE_LOTTERY = 1224,
- /// <summary>
- /// 预售集采建仓委托
- /// </summary>
- ACCOUNTBIZCODE_PRESALE_OPEN_ORDER = 1301,
- /// <summary>
- /// 预售集采建仓撤单
- /// </summary>
- ACCOUNTBIZCODE_PRESALE_OPEN_CANCEL = 1302,
- /// <summary>
- /// 预售集采建仓成交
- /// </summary>
- ACCOUNTBIZCODE_PRESALE_OPEN_DEAL = 1303,
- /// <summary>
- /// 预售集采平仓委托
- /// </summary>
- ACCOUNTBIZCODE_PRESALE_CLOSE_ORDER = 1304,
- /// <summary>
- /// 预售集采平仓撤单
- /// </summary>
- ACCOUNTBIZCODE_PRESALE_CLOSE_CANCEL = 1305,
- /// <summary>
- /// 预售集采平仓成交
- /// </summary>
- ACCOUNTBIZCODE_PRESALE_CLOSE_DEAL = 1306,
- /// <summary>
- /// 预售集审核
- /// </summary>
- ACCOUNTBIZCODE_PRESALE_VERIFY = 1307,
- /// <summary>
- /// 预售采集撤销
- /// </summary>
- ACCOUNTBIZCODE_PRESALE_CANCEL = 1308,
- /// <summary>
- /// 解冻买方货款
- /// </summary>
- ACCOUNTBIZCODE_LISTINGOPTION_UNFREEZEBUYER = 1309,
- /// <summary>
- /// 冻结卖方货款
- /// </summary>
- ACCOUNTBIZCODE_LISTINGOPTION_FREEZESELLER = 1310,
- /// <summary>
- /// 买方划转
- /// </summary>
- ACCOUNTBIZCODE_LISTINGOPTION_BUYER = 1311,
- /// <summary>
- /// 卖方划转
- /// </summary>
- ACCOUNTBIZCODE_LISTINGOPTION_SELLER = 1312,
- /// <summary>
- /// 融资方划转
- /// </summary>
- ACCOUNTBIZCODE_LISTINGOPTION_MIDDLEIN = 1313,
- /// <summary>
- /// 确认行权平仓
- /// </summary>
- ACCOUNTBIZCODE_LISTINGOPTION_CONFIRMCLOSE = 1314,
- /// <summary>
- /// 确认行权委托
- /// </summary>
- ACCOUNTBIZCODE_LISTINGOPTION_CONFIRMORDER = 1315,
- /// <summary>
- /// 招标采购招标确认
- /// </summary>
- ACCOUNTBIZCODE_TENDER_TENDER_CONFIRM = 1401,
- /// <summary>
- /// 招标采购投标审核通过
- /// </summary>
- ACCOUNTBIZCODE_TENDER_BID_VERIFY = 1402,
- /// <summary>
- /// 招标采购确认中标(解冻投标方的保证金)
- /// </summary>
- ACCOUNTBIZCODE_TENDER_WIN_DEAL = 1403,
- /// <summary>
- /// 招标采购终止招标
- /// </summary>
- ACCOUNTBIZCODE_TENDER_TENDER_STOP = 1404,
- /// <summary>
- /// 招标采购投标终止
- /// </summary>
- ACCOUNTBIZCODE_TENDER_BID_STOP = 1405,
- /// <summary>
- /// 招标采购确认中标(解冻招标方冻结保证金)
- /// </summary>
- ACCOUNTBIZCODE_TENDER_WIN_DEAL_FORTENDER = 1406,
- /// <summary>
- /// 商城支付
- /// </summary>
- ACCOUNTBIZCODE_MALL_PAY = 1501,
- /// <summary>
- /// 商城积分冻结
- /// </summary>
- ACCOUNTBIZCODE_MALL_SCORE_FREEZE = 1502,
- /// <summary>
- /// 商城积分解冻
- /// </summary>
- ACCOUNTBIZCODE_MALL_SCORE_UNFREEZE = 1503,
- /// <summary>
- /// 商城积分解冻扣款
- /// </summary>
- ACCOUNTBIZCODE_MALL_SCORE_REDUCE = 1504,
- /// <summary>
- /// 商城收款
- /// </summary>
- ACCOUNTBIZCODE_MALL_RECEIVE = 1505,
- /// <summary>
- /// 商城退货
- /// </summary>
- ACCOUNTBIZCODE_MALL_REFUND = 1506,
- /// <summary>
- /// 清算账户数据更新
- /// </summary>
- ACCOUNTBIZCODE_SETTLE_ACCOUNT_UPDATE = 1550,
- /// <summary>
- /// 清算用户数据更新
- /// </summary>
- ACCOUNTBIZCODE_SETTLE_USER_UPDATE = 1551,
- /// <summary>
- /// 通知账户持仓头寸日变动
- /// </summary>
- ACCOUNTBIZCODE_RECKON_HOLDERPOSITION_DAYCHANGE = 1601,
- /// <summary>
- /// 账户费用日变动
- /// </summary>
- ACCOUNTBIZCODE_RECKON_TRADEFEE_DAYCHANGE = 1602,
- /// <summary>
- /// 交易所账户日变动
- /// </summary>
- ACCOUNTBIZCODE_RECKON_EXCHACC_DAYCHANGE = 1603,
- /// <summary>
- /// 场外期权建仓委托
- /// </summary>
- ACCOUNTBIZCODE_OUTOPTION_OPEN = 1701,
- /// <summary>
- /// 场外期权行权
- /// </summary>
- ACCOUNTBIZCODE_OUTOPTION_EXERCISE = 1702,
- /// <summary>
- /// 场外期权对冲
- /// </summary>
- ACCOUNTBIZCODE_OUTOPTION_HEDGE = 1703,
- /// <summary>
- /// 场外期权建仓成交
- /// </summary>
- ACCOUNTBIZCODE_OUTOPTION_OPEN_DEAL = 1704,
- /// <summary>
- /// 通道锁仓委托
- /// </summary>
- ACCOUNTBIZCODE_CAHNNEL_LOCK_REQ = 1801,
- /// <summary>
- /// 通道锁仓撤销
- /// </summary>
- ACCOUNTBIZCODE_CAHNNEL_LOCK_CANCEL = 1802,
- /// <summary>
- /// 通道锁仓完成
- /// </summary>
- ACCOUNTBIZCODE_CAHNNEL_LOCK_DEAL = 1803,
- /// <summary>
- /// 通道锁仓审核通过
- /// </summary>
- ACCOUNTBIZCODE_CAHNNEL_LOCK_PASS = 1804,
- /// <summary>
- /// 金点拍外部JD转入
- /// </summary>
- ACCOUNTBIZCODE_JDP_JD_TRANSFER_IN = 1901,
- /// <summary>
- /// 金点拍JD转能量
- /// </summary>
- ACCOUNTBIZCODE_JDP_JD_TRANSFER_MP = 1902,
- /// <summary>
- /// 金点拍PD购买体力
- /// </summary>
- ACCOUNTBIZCODE_JDP_PD_TRANSFER_HP = 1903,
- /// <summary>
- /// 金点拍JD转PD
- /// </summary>
- ACCOUNTBIZCODE_JDP_JD_TRANSFER_PD = 1904,
- /// <summary>
- /// 金点拍PD互转
- /// </summary>
- ACCOUNTBIZCODE_JDP_PD_TRANSFER_PD = 1905,
- /// <summary>
- /// 交易所PD/JD增加
- /// </summary>
- ACCOUNTBIZCODE_JDP_EXCHANGE_RECEIVE = 1906,
- /// <summary>
- /// 金点拍JD或PD处理
- /// </summary>
- ACCOUNTBIZCODE_JDP_JD_PD_DEAL = 1907,
- /// <summary>
- /// 冻结头寸解冻审核通过
- /// </summary>
- ACCOUNTBIZCODE_TRADE_FREEZEPOS_UNFREEZE_AUDIT_PASS = 1950,
- /// <summary>
- /// 冻结头寸商品配售冻结
- /// </summary>
- ACCOUNTBIZCODE_TRADE_FREEZEPOS_GOODS_RATION_FREEZE = 1951,
- /// <summary>
- /// 冻结头寸商品配售成交
- /// </summary>
- ACCOUNTBIZCODE_TRADE_FREEZEPOS_GOODS_RATION_TRADE = 1952,
- /// <summary>
- /// 冻结头寸商品转让冻结
- /// </summary>
- ACCOUNTBIZCODE_TRADE_FREEZEPOS_GOODS_TRANSFER_FREEZE = 1953,
- /// <summary>
- /// 冻结头寸商品转让解冻
- /// </summary>
- ACCOUNTBIZCODE_TRADE_FREEZEPOS_GOODS_TRANSFER_UNFREEZE = 1954,
- /// <summary>
- /// 冻结头寸商品转让成交
- /// </summary>
- ACCOUNTBIZCODE_TRADE_FREEZEPOS_GOODS_TRANSFER_TRADE = 1955,
- /// <summary>
- /// 冻结头寸商品回购冻结
- /// </summary>
- ACCOUNTBIZCODE_TRADE_FREEZEPOS_GOODS_BUYBACK_FREEZE = 1956,
- /// <summary>
- /// 冻结头寸商品回购解冻
- /// </summary>
- ACCOUNTBIZCODE_TRADE_FREEZEPOS_GOODS_BUYBACK_UNFREEZE = 1957,
- /// <summary>
- /// 冻结头寸商品回购成交
- /// </summary>
- ACCOUNTBIZCODE_TRADE_FREEZEPOS_GOODS_BUYBACK_TRADE = 1958,
- /// <summary>
- /// 冻结头寸商品提货
- /// </summary>
- ACCOUNTBIZCODE_TRADE_FREEZEPOS_GOODS_PICKUP = 1959
- }
- /// <summary>
- // 账户服务资金操作子指令类型
- /// </summary>
- public enum eAccountFundCmdOp {
- /// <summary>
- /// 入金
- /// </summary>
- ACCOUNTFUNDCMDOP_DEPOSIT = 101,
- /// <summary>
- /// 入金手续费
- /// </summary>
- ACCOUNTFUNDCMDOP_DEPOSIT_FEE = 102,
- /// <summary>
- /// 出金
- /// </summary>
- ACCOUNTFUNDCMDOP_WITHDRAW = 103,
- /// <summary>
- /// 出金冻结
- /// </summary>
- ACCOUNTFUNDCMDOP_WITHDRAW_FREEZE = 104,
- /// <summary>
- /// 出金解冻
- /// </summary>
- ACCOUNTFUNDCMDOP_WITHDRAW_UNFREEZE = 105,
- /// <summary>
- /// 出金手续费
- /// </summary>
- ACCOUNTFUNDCMDOP_WITHDRAW_FEE = 106,
- /// <summary>
- /// 出金手续费冻结
- /// </summary>
- ACCOUNTFUNDCMDOP_WITHDRAW_FEE_FREEZE = 107,
- /// <summary>
- /// 出金手续费解冻
- /// </summary>
- ACCOUNTFUNDCMDOP_WITHDRAW_FEE_UNFREEZE = 108,
- /// <summary>
- /// 入金手续费收入
- /// </summary>
- ACCOUNTFUNDCMDOP_DEPOSIT_FEE_INCOME = 109,
- /// <summary>
- /// 出金手续费收入
- /// </summary>
- ACCOUNTFUNDCMDOP_WITHDRAW_FEE_INCOME = 110,
- /// <summary>
- /// 三方入金
- /// </summary>
- ACCOUNTFUNDCMDOP_3RD_DEPOSIT = 111,
- /// <summary>
- /// 三方出金
- /// </summary>
- ACCOUNTFUNDCMDOP_3RD_WITHDRAW = 112,
- /// <summary>
- /// 交易冻结
- /// </summary>
- ACCOUNTFUNDCMDOP_TRADE_FREEZE = 201,
- /// <summary>
- /// 交易解冻
- /// </summary>
- ACCOUNTFUNDCMDOP_TRADE_UNFREEZE = 202,
- /// <summary>
- /// 交易占用
- /// </summary>
- ACCOUNTFUNDCMDOP_TRADE_OCCUPY = 203,
- /// <summary>
- /// 交易解占用
- /// </summary>
- ACCOUNTFUNDCMDOP_TRADE_FREE = 204,
- /// <summary>
- /// 交易手续费冻结
- /// </summary>
- ACCOUNTFUNDCMDOP_TRADE_FEE_FREEZE = 205,
- /// <summary>
- /// 交易手续费解冻
- /// </summary>
- ACCOUNTFUNDCMDOP_TRADE_FEE_UNFREEZE = 206,
- /// <summary>
- /// 交易手续费
- /// </summary>
- ACCOUNTFUNDCMDOP_TRADE_FEE = 207,
- /// <summary>
- /// 交易货款
- /// </summary>
- ACCOUNTFUNDCMDOP_TRADE_GOODS_PAYMENT = 208,
- /// <summary>
- /// 交易盈亏
- /// </summary>
- ACCOUNTFUNDCMDOP_TRADE_PROFIT_LOSS = 209,
- /// <summary>
- /// 外部交易冻结
- /// </summary>
- ACCOUNTFUNDCMDOP_EXTRADE_FREEZE = 211,
- /// <summary>
- /// 外部交易解冻
- /// </summary>
- ACCOUNTFUNDCMDOP_EXTRADE_UNFREEZE = 212,
- /// <summary>
- /// 外部交易占用
- /// </summary>
- ACCOUNTFUNDCMDOP_EXTRADE_OCCUPY = 213,
- /// <summary>
- /// 外部交易解占用
- /// </summary>
- ACCOUNTFUNDCMDOP_EXTRADE_FREE = 214,
- /// <summary>
- /// 外部交易手续费冻结
- /// </summary>
- ACCOUNTFUNDCMDOP_EXTRADE_FEE_FREEZE = 215,
- /// <summary>
- /// 外部交易手续费解冻
- /// </summary>
- ACCOUNTFUNDCMDOP_EXTRADE_FEE_UNFREEZE = 216,
- /// <summary>
- /// 外部交易手续费
- /// </summary>
- ACCOUNTFUNDCMDOP_EXTRADE_FEE = 217,
- /// <summary>
- /// 外部交易货款
- /// </summary>
- ACCOUNTFUNDCMDOP_EXTRADE_GOODS_PAYMENT = 218,
- /// <summary>
- /// 外部交易盈亏
- /// </summary>
- ACCOUNTFUNDCMDOP_EXTRADE_PROFIT_LOSS = 219,
- /// <summary>
- /// 锁仓认购手续费冻结
- /// </summary>
- ACCOUNTFUNDCMDOP_CHANNEL_LOCKFEE_FREEZE = 220,
- /// <summary>
- /// 锁仓认购手续费解冻
- /// </summary>
- ACCOUNTFUNDCMDOP_CHANNEL_LOCKFEE_UNFREEZE = 221,
- /// <summary>
- /// 锁仓认购手续费
- /// </summary>
- ACCOUNTFUNDCMDOP_CHANNEL_LOCKFEE = 222,
- /// <summary>
- /// 认购费用冻结
- /// </summary>
- ACCOUNTFUNDCMDOP_CHANNEL_LOCKAMOUNT_FREEZE = 223,
- /// <summary>
- /// 认购费用解冻
- /// </summary>
- ACCOUNTFUNDCMDOP_CHANNEL_LOCKAMOUNT_UNFREEZE = 224,
- /// <summary>
- /// 认购费用
- /// </summary>
- ACCOUNTFUNDCMDOP_CHANNEL_LOCKAMOUNT = 225,
- /// <summary>
- /// 盈利扣减
- /// </summary>
- ACCOUNTFUNDCMDOP_CHANNEL_PROFIT_DEDUCTION = 226,
- /// <summary>
- /// 亏损划转
- /// </summary>
- ACCOUNTFUNDCMDOP_CHANNEL_LOSS_TRANSFER = 227,
- /// <summary>
- /// 交割冻结
- /// </summary>
- ACCOUNTFUNDCMDOP_DELIVERY_FREEZE = 301,
- /// <summary>
- /// 交割解冻
- /// </summary>
- ACCOUNTFUNDCMDOP_DELIVERY_UNFREEZE = 302,
- /// <summary>
- /// 交割手续费
- /// </summary>
- ACCOUNTFUNDCMDOP_DELIVERY_FEE = 303,
- /// <summary>
- /// 交割手续费冻结
- /// </summary>
- ACCOUNTFUNDCMDOP_DELIVERY_FEE_FREEZE = 304,
- /// <summary>
- /// 交割手续费解冻
- /// </summary>
- ACCOUNTFUNDCMDOP_DELIVERY_FEE_UNFREEZE = 305,
- /// <summary>
- /// 交割货款
- /// </summary>
- ACCOUNTFUNDCMDOP_DELIVERY_GOODS_PAYMENT = 306,
- /// <summary>
- /// 交割税款
- /// </summary>
- ACCOUNTFUNDCMDOP_DELIVERY_TAX = 307,
- /// <summary>
- /// 交割调期费
- /// </summary>
- ACCOUNTFUNDCMDOP_DELIVERY_SWAP_FEE = 308,
- /// <summary>
- /// 交收补偿费
- /// </summary>
- ACCOUNTFUNDCMDOP_DELIVERY_COMPENSATION_FEE = 309,
- /// <summary>
- /// 交割最大冻结
- /// </summary>
- ACCOUNTFUNDCMDOP_DELIVERY_MAX_FREEZE = 310,
- /// <summary>
- /// 结算盈亏
- /// </summary>
- ACCOUNTFUNDCMDOP_SETTLE_PROFIT_LOSS = 401,
- /// <summary>
- /// 结算递延费
- /// </summary>
- ACCOUNTFUNDCMDOP_SETTLE_DEFERRED_FEE = 402,
- /// <summary>
- /// 分润收入
- /// </summary>
- ACCOUNTFUNDCMDOP_SHARE_PROFIT = 403,
- /// <summary>
- /// 延期分润
- /// </summary>
- ACCOUNTFUNDCMDOP_STAY_SHARE_PROFIT = 404,
- /// <summary>
- /// 分润确认
- /// </summary>
- ACCOUNTFUNDCMDOP_SHARE_PROFIT_CONFIRM = 405,
- /// <summary>
- /// 结算隔夜费
- /// </summary>
- ACCOUNTFUNDCMDOP_SETTLE_OVERNIGHT_FEE = 406,
- /// <summary>
- /// 利息费用
- /// </summary>
- ACCOUNTFUNDCMDOP_SETTLE_INTERESTCHARGE_FEE = 407,
- /// <summary>
- /// 递延费2
- /// </summary>
- ACCOUNTFUNDCMDOP_SETTLE_DEFERCHARGE = 408,
- /// <summary>
- /// 授信增加
- /// </summary>
- ACCOUNTFUNDCMDOP_CREDIT_INCREASE = 501,
- /// <summary>
- /// 授信减少
- /// </summary>
- ACCOUNTFUNDCMDOP_CREDIT_DECREASE = 502,
- /// <summary>
- /// 转积分
- /// </summary>
- ACCOUNTFUNDCMDOP_PAY_POINTS = 503,
- /// <summary>
- /// 转入
- /// </summary>
- ACCOUNTFUNDCMDOP_TRANSFER_IN = 504,
- /// <summary>
- /// 转出
- /// </summary>
- ACCOUNTFUNDCMDOP_TRANSFER_OUT = 505,
- /// <summary>
- /// 转出冻结
- /// </summary>
- ACCOUNTFUNDCMDOP_TRANSFER_OUT_FREEZE = 506,
- /// <summary>
- /// 转出解冻
- /// </summary>
- ACCOUNTFUNDCMDOP_TRANSFER_OUT_UNFREEZE = 507,
- /// <summary>
- /// 外部入金(优先)
- /// </summary>
- ACCOUNTFUNDCMDOP_EXCREDIT_INCREASE = 508,
- /// <summary>
- /// 外部出金(优先)
- /// </summary>
- ACCOUNTFUNDCMDOP_EXCREDIT_DECREASE = 509,
- /// <summary>
- /// 外部入金(劣后)
- /// </summary>
- ACCOUNTFUNDCMDOP_EXINOUT_INCREASE = 510,
- /// <summary>
- /// 外部出金(劣后)
- /// </summary>
- ACCOUNTFUNDCMDOP_EXINOUT_DECREASE = 511,
- /// <summary>
- /// 外部余额增加
- /// </summary>
- ACCOUNTFUNDCMDOP_EXBALANCE_INCREASE = 512,
- /// <summary>
- /// 外部余额减少
- /// </summary>
- ACCOUNTFUNDCMDOP_EXBALANCE_DECREASE = 513,
- /// <summary>
- /// 授信手续费冻结
- /// </summary>
- ACCOUNTFUNDCMDOP_CREDIT_FEE_FREEZE = 514,
- /// <summary>
- /// 授信手续费解冻
- /// </summary>
- ACCOUNTFUNDCMDOP_CREDIT_FEE_UNFREEZE = 515,
- /// <summary>
- /// 授信手续费
- /// </summary>
- ACCOUNTFUNDCMDOP_CREDIT_FEE = 516,
- /// <summary>
- /// 外部出金(优先,系统)
- /// </summary>
- ACCOUNTFUNDCMDOP_EXCREDIT_DECREASE_EX = 517,
- /// <summary>
- /// 履约金额冻结
- /// </summary>
- ACCOUNTFUNDCMDOP_PERFORMANCE_FREEZE = 601,
- /// <summary>
- /// 履约最大冻结
- /// </summary>
- ACCOUNTFUNDCMDOP_PERFORMANCE_MAX_FREEZE = 602,
- /// <summary>
- /// 履约金额解冻
- /// </summary>
- ACCOUNTFUNDCMDOP_PERFORMANCE_UNFREEZE = 603,
- /// <summary>
- /// 履约扣款
- /// </summary>
- ACCOUNTFUNDCMDOP_PERFORMANCE_DEDUCT = 604,
- /// <summary>
- /// 履约收款
- /// </summary>
- ACCOUNTFUNDCMDOP_PERFORMANCE_RECEIVE = 605,
- /// <summary>
- /// 履约违约手续费
- /// </summary>
- ACCOUNTFUNDCMDOP_PERFORMANCE_DEFAULT_FEE = 606,
- /// <summary>
- /// 履约违约收入
- /// </summary>
- ACCOUNTFUNDCMDOP_PERFORMANCE_DEFAULT_INCOME = 607,
- /// <summary>
- /// 履约最大扣款
- /// </summary>
- ACCOUNTFUNDCMDOP_PERFORMANCE_MAX_DEDUCT = 608,
- /// <summary>
- /// 履约待付款
- /// </summary>
- ACCOUNTFUNDCMDOP_PERFORMANCE_STAY_PAYMENT = 609,
- /// <summary>
- /// 履约运费
- /// </summary>
- ACCOUNTFUNDCMDOP_PERFORMANCE_FREIGHT = 610,
- /// <summary>
- /// 供应链金融冻结
- /// </summary>
- ACCOUNTFUNDCMDOP_SCF_FREEZE = 701,
- /// <summary>
- /// 供应链金融解冻
- /// </summary>
- ACCOUNTFUNDCMDOP_SCF_UNFREEZE = 702,
- /// <summary>
- /// 供应链金融最大冻结
- /// </summary>
- ACCOUNTFUNDCMDOP_SCF_MAX_FREEZE = 703,
- /// <summary>
- /// 供应链金融利息
- /// </summary>
- ACCOUNTFUNDCMDOP_SCF_INTEREST = 704,
- /// <summary>
- /// 供应链金融货款
- /// </summary>
- ACCOUNTFUNDCMDOP_SCF_GOODS_PAYMENT = 705,
- /// <summary>
- /// 供应链金融押金
- /// </summary>
- ACCOUNTFUNDCMDOP_SCF_CASH_DEPOSIT = 706,
- /// <summary>
- /// 供应链金融最大扣款
- /// </summary>
- ACCOUNTFUNDCMDOP_SCF_MAX_DEDUCT = 707,
- /// <summary>
- /// 仓单贸易冻结
- /// </summary>
- ACCOUNTFUNDCMDOP_WRTRADE_FREEZE = 801,
- /// <summary>
- /// 仓单贸易解冻
- /// </summary>
- ACCOUNTFUNDCMDOP_WRTRADE_UNFREEZE = 802,
- /// <summary>
- /// 仓单贸易首付款
- /// </summary>
- ACCOUNTFUNDCMDOP_WRTRADE_DOWNPAYMENT = 803,
- /// <summary>
- /// 仓单贸易最大扣款
- /// </summary>
- ACCOUNTFUNDCMDOP_WRTRADE_MAX_DEDUCT = 804,
- /// <summary>
- /// 仓单贸易货款保证金冻结
- /// </summary>
- ACCOUNTFUNDCMDOP_WRTRADE_PAYMEN_FREEZE = 805,
- /// <summary>
- /// 仓单贸易货款保证金解冻
- /// </summary>
- ACCOUNTFUNDCMDOP_WRTRADE_PAYMEN_UNFREEZE = 806,
- /// <summary>
- /// 仓单贸易手续费冻结
- /// </summary>
- ACCOUNTFUNDCMDOP_WRTRADE_FEE_FREEZE = 807,
- /// <summary>
- /// 仓单贸易手续费解冻
- /// </summary>
- ACCOUNTFUNDCMDOP_WRTRADE_FEE_UNFREEZE = 808,
- /// <summary>
- /// 仓单贸易手续费扣除
- /// </summary>
- ACCOUNTFUNDCMDOP_WRTRADE_FEE = 809,
- /// <summary>
- /// 商城扣款冻结
- /// </summary>
- ACCOUNTFUNDCMDOP_MALL_FREEZE = 901,
- /// <summary>
- /// 商城扣款解冻
- /// </summary>
- ACCOUNTFUNDCMDOP_MALL_UNFREEZE = 902,
- /// <summary>
- /// 商城扣款
- /// </summary>
- ACCOUNTFUNDCMDOP_MALL_DEDUCT = 903,
- /// <summary>
- /// 商城收款
- /// </summary>
- ACCOUNTFUNDCMDOP_MALL_RECEIVE = 904,
- /// <summary>
- /// 商城待付款
- /// </summary>
- ACCOUNTFUNDCMDOP_MALL_STAY_PAYMENT = 905,
- /// <summary>
- /// 期权冻结
- /// </summary>
- ACCOUNTFUNDCMDOP_OPTION_FREEZE = 1001,
- /// <summary>
- /// 期权解冻
- /// </summary>
- ACCOUNTFUNDCMDOP_OPTION_UNFREEZE = 1002,
- /// <summary>
- /// 期权权力金
- /// </summary>
- ACCOUNTFUNDCMDOP_OPTION_PREMIUM = 1003,
- /// <summary>
- /// 期权手续费冻结
- /// </summary>
- ACCOUNTFUNDCMDOP_OPTION_FEE_FREEZE = 1004,
- /// <summary>
- /// 期权手续费解冻
- /// </summary>
- ACCOUNTFUNDCMDOP_OPTION_FEE_UNFREEZE = 1005,
- /// <summary>
- /// 期权手续费
- /// </summary>
- ACCOUNTFUNDCMDOP_OPTION_FEE = 1006,
- /// <summary>
- /// 期权盈亏
- /// </summary>
- ACCOUNTFUNDCMDOP_OPTION_PROFIT_LOSS = 1007,
- /// <summary>
- /// 期权货款
- /// </summary>
- ACCOUNTFUNDCMDOP_OPTION_GOODS_PAYMENT = 1008,
- /// <summary>
- /// 扩展扣款
- /// </summary>
- ACCOUNTFUNDCMDOP_MARKETING_DEDUCT = 1101,
- /// <summary>
- /// 扩展收款
- /// </summary>
- ACCOUNTFUNDCMDOP_MARKETING_RECEIVE = 1102,
- /// <summary>
- /// 扩展扣款冻结
- /// </summary>
- ACCOUNTFUNDCMDOP_MARKETING_FREEZE = 1103,
- /// <summary>
- /// 扩展扣款解冻
- /// </summary>
- ACCOUNTFUNDCMDOP_MARKETING_UNFREEZE = 1104,
- /// <summary>
- /// 竞拍冻结保证金
- /// </summary>
- ACCOUNTFUNDCMDOP_AUCTION_FREEZE = 1201,
- /// <summary>
- /// 竞拍解冻保证金
- /// </summary>
- ACCOUNTFUNDCMDOP_AUCTION_UNFREEZE = 1202,
- /// <summary>
- /// 竞拍扣款
- /// </summary>
- ACCOUNTFUNDCMDOP_AUCTION_DEDUCT = 1203,
- /// <summary>
- /// 竞拍收款
- /// </summary>
- ACCOUNTFUNDCMDOP_AUCTION_RECEIVE = 1204,
- /// <summary>
- /// 竞拍手续费冻结
- /// </summary>
- ACCOUNTFUNDCMDOP_AUCTION_FEE_FREEZE = 1205,
- /// <summary>
- /// 竞拍手续费解冻
- /// </summary>
- ACCOUNTFUNDCMDOP_AUCTION_FEE_UNFREEZE = 1206,
- /// <summary>
- /// 竞拍手续费
- /// </summary>
- ACCOUNTFUNDCMDOP_AUCTION_FEE = 1207,
- /// <summary>
- /// 竞拍货款冻结
- /// </summary>
- ACCOUNTFUNDCMDOP_AUCTION_PAYMENT_FREEZE = 1208,
- /// <summary>
- /// 竞拍货款解冻
- /// </summary>
- ACCOUNTFUNDCMDOP_AUCTION_PAYMENT_UNFREEZE = 1209,
- /// <summary>
- /// 竞拍手续费收入
- /// </summary>
- ACCOUNTFUNDCMDOP_AUCTION_FEE_INCOME = 1210,
- /// <summary>
- /// 预售集采卖方保证金冻结
- /// </summary>
- ACCOUNTFUNDCMDOP_PRESALE_SELLER_FREEZE = 1301,
- /// <summary>
- /// 预售集采卖方保证金解冻
- /// </summary>
- ACCOUNTFUNDCMDOP_PRESALE_SELLER_UNFREEZE = 1302,
- /// <summary>
- /// 预售集采手续费冻结
- /// </summary>
- ACCOUNTFUNDCMDOP_PRESALE_FEE_FREEZE = 1303,
- /// <summary>
- /// 预售集采手续费解冻
- /// </summary>
- ACCOUNTFUNDCMDOP_PRESALE_FEE_UNFREEZE = 1304,
- /// <summary>
- /// 预售集采手续费
- /// </summary>
- ACCOUNTFUNDCMDOP_PRESALE_FEE = 1305,
- /// <summary>
- /// 招标手续费冻结
- /// </summary>
- ACCOUNTFUNDCMDOP_TENDER_FEE_FREEZE = 1401,
- /// <summary>
- /// 招标手续费解冻
- /// </summary>
- ACCOUNTFUNDCMDOP_TENDER_FEE_UNFREEZE = 1402,
- /// <summary>
- /// 招标手续费
- /// </summary>
- ACCOUNTFUNDCMDOP_TENDER_FEE = 1403,
- /// <summary>
- /// 投标保证金冻结
- /// </summary>
- ACCOUNTFUNDCMDOP_TENDER_FREEZE = 1404,
- /// <summary>
- /// 投标保证金解冻
- /// </summary>
- ACCOUNTFUNDCMDOP_TENDER_UNFREEZE = 1405,
- /// <summary>
- /// 招标手续费收入
- /// </summary>
- ACCOUNTFUNDCMDOP_TENDER_FEE_INCOME = 1406,
- /// <summary>
- /// 招标保证金冻结
- /// </summary>
- ACCOUNTFUNDCMDOP_BIDTENDER_FREEZE = 1407,
- /// <summary>
- /// 招标保证金解冻
- /// </summary>
- ACCOUNTFUNDCMDOP_BIDTENDER_UNFREEZE = 1408,
- /// <summary>
- /// 运费冻结
- /// </summary>
- ACCOUNTFUNDCMDOP_WR_FREIGHT_FREEZE = 1501,
- /// <summary>
- /// 运费解冻
- /// </summary>
- ACCOUNTFUNDCMDOP_WR_FREIGHT_UNFREEZE = 1502,
- /// <summary>
- /// 运费
- /// </summary>
- ACCOUNTFUNDCMDOP_WR_FREIGHT = 1503,
- /// <summary>
- /// 运费收入
- /// </summary>
- ACCOUNTFUNDCMDOP_WR_FREIGHT_INCOME = 1504,
- /// <summary>
- /// 币币冻结付款
- /// </summary>
- ACCOUNTFUNDCMDOP_COIN_TRADE_FREEZE = 1601,
- /// <summary>
- /// 币币解冻付款
- /// </summary>
- ACCOUNTFUNDCMDOP_COIN_TRADE_UNFREEZE = 1602,
- /// <summary>
- /// 币币手续费冻结
- /// </summary>
- ACCOUNTFUNDCMDOP_COIN_TRADE_FEE_FREEZE = 1603,
- /// <summary>
- /// 币币手续费解冻
- /// </summary>
- ACCOUNTFUNDCMDOP_COIN_TRADE_FEE_UNFREEZE = 1604,
- /// <summary>
- /// 币币手续费
- /// </summary>
- ACCOUNTFUNDCMDOP_COIN_TRADE_FEE = 1605,
- /// <summary>
- /// 币币货款
- /// </summary>
- ACCOUNTFUNDCMDOP_COIN_TRADE_AMOUNT = 1606
- }
- /// <summary>
- // 账户持仓指令类型
- /// </summary>
- public enum eAccountHolderCmdOp {
- /// <summary>
- /// 验证委托数量
- /// </summary>
- ACCOUNTHOLDERCMDOP_VERIFY_ORDER = 101,
- /// <summary>
- /// 验证头寸数量和金额
- /// </summary>
- ACCOUNTHOLDERCMDOP_VERIFY_POSITION = 102,
- /// <summary>
- /// 验证交易冻结数量
- /// </summary>
- ACCOUNTHOLDERCMDOP_VERIFY_FROZEN = 103,
- /// <summary>
- /// 验证其他冻结数量
- /// </summary>
- ACCOUNTHOLDERCMDOP_VERIFY_OTHERFROZEN = 104,
- /// <summary>
- /// 查询交易头寸数量和金额
- /// </summary>
- ACCOUNTHOLDERCMDOP_QUERY_POSITION = 105,
- /// <summary>
- /// 系统待开市
- /// </summary>
- ACCOUNTHOLDERCMDOP_SYSTEM_PENDING = 106,
- /// <summary>
- /// 系统结算
- /// </summary>
- ACCOUNTHOLDERCMDOP_SYSTEM_RECKON = 107,
- /// <summary>
- /// 交易开仓委托
- /// </summary>
- ACCOUNTHOLDERCMDOP_TRADE_OPEN_ORDER = 201,
- /// <summary>
- /// 交易开仓成交
- /// </summary>
- ACCOUNTHOLDERCMDOP_TRADE_OPEN_DEAL = 202,
- /// <summary>
- /// 交易开仓撤单
- /// </summary>
- ACCOUNTHOLDERCMDOP_TRADE_OPEN_CANCEL = 203,
- /// <summary>
- /// 交易平仓冻结
- /// </summary>
- ACCOUNTHOLDERCMDOP_TRADE_CLOSE_FREEZE = 204,
- /// <summary>
- /// 交易平仓成交
- /// </summary>
- ACCOUNTHOLDERCMDOP_TRADE_CLOSE_DEAL = 205,
- /// <summary>
- /// 交易平仓解冻
- /// </summary>
- ACCOUNTHOLDERCMDOP_TRADE_CLOSE_UNFREEZE = 206,
- /// <summary>
- /// 交易平仓最大冻结
- /// </summary>
- ACCOUNTHOLDERCMDOP_TRADE_CLOSE_MAX_FREEZE = 207,
- /// <summary>
- /// 交易冻结
- /// </summary>
- ACCOUNTHOLDERCMDOP_TRADE_FREEZE = 208,
- /// <summary>
- /// 交易解冻
- /// </summary>
- ACCOUNTHOLDERCMDOP_TRADE_UNFREEZE = 209,
- /// <summary>
- /// 交易仓单转头寸
- /// </summary>
- ACCOUNTHOLDERCMDOP_TRADE_WRTOPOSITION = 210,
- /// <summary>
- /// 交易头寸转仓单冻结
- /// </summary>
- ACCOUNTHOLDERCMDOP_TRADE_POSITIONTOWR_FREEZE = 211,
- /// <summary>
- /// 交易头寸转仓单解冻
- /// </summary>
- ACCOUNTHOLDERCMDOP_TRADE_POSITIONTOWR_UNFREEZE = 212,
- /// <summary>
- /// 交易头寸转仓单
- /// </summary>
- ACCOUNTHOLDERCMDOP_TRADE_POSITIONTOWR = 213,
- /// <summary>
- /// 交易T+N头寸增加(T4)
- /// </summary>
- ACCOUNTHOLDERCMDOP_TRADE_TN_INCREASE = 214,
- /// <summary>
- /// 交易T+N头寸减少(T4)
- /// </summary>
- ACCOUNTHOLDERCMDOP_TRADE_TN_DECREASE = 215,
- /// <summary>
- /// 交易平仓T+N冻结
- /// </summary>
- ACCOUNTHOLDERCMDOP_TRADE_CLOSE_TN_FREEZE = 216,
- /// <summary>
- /// 交易平仓T+N成交
- /// </summary>
- ACCOUNTHOLDERCMDOP_TRADE_CLOSE_TN_DEAL = 217,
- /// <summary>
- /// 交易平仓T+N解冻
- /// </summary>
- ACCOUNTHOLDERCMDOP_TRADE_CLOSE_TN_UNFREEZE = 218,
- /// <summary>
- /// 交易平仓T+N最大冻结
- /// </summary>
- ACCOUNTHOLDERCMDOP_TRADE_CLOSE_TN_MAX_FREEZE = 219,
- /// <summary>
- /// 交易净头寸冻结
- /// </summary>
- ACCOUNTHOLDERCMDOP_TRADE_NET_FREEZE = 220,
- /// <summary>
- /// 交易净头寸交割校验
- /// </summary>
- ACCOUNTHOLDERCMDOP_TRADE_NET_DELIVERY_VERIFY = 221,
- /// <summary>
- /// 交易平今仓冻结
- /// </summary>
- ACCOUNTHOLDERCMDOP_TRADE_CLOSETODAY_FREEZE = 222,
- /// <summary>
- /// 交易平今仓成交
- /// </summary>
- ACCOUNTHOLDERCMDOP_TRADE_CLOSETODAY_DEAL = 223,
- /// <summary>
- /// 交易平今仓解冻
- /// </summary>
- ACCOUNTHOLDERCMDOP_TRADE_CLOSETODAY_UNFREEZE = 224,
- /// <summary>
- /// 交易平昨仓冻结
- /// </summary>
- ACCOUNTHOLDERCMDOP_TRADE_CLOSEYESTERDAY_FREEZE = 225,
- /// <summary>
- /// 交易平昨仓成交
- /// </summary>
- ACCOUNTHOLDERCMDOP_TRADE_CLOSEYESTERDAY_DEAL = 226,
- /// <summary>
- /// 交易平昨仓解冻
- /// </summary>
- ACCOUNTHOLDERCMDOP_TRADE_CLOSEYESTERDAY_UNFREEZE = 227,
- /// <summary>
- /// 交割冻结
- /// </summary>
- ACCOUNTHOLDERCMDOP_DELIVERY_FREEZE = 301,
- /// <summary>
- /// 交割成交
- /// </summary>
- ACCOUNTHOLDERCMDOP_DELIVERY_DEAL = 302,
- /// <summary>
- /// 交割解冻
- /// </summary>
- ACCOUNTHOLDERCMDOP_DELIVERY_UNFREEZE = 303,
- /// <summary>
- /// 交割最大冻结
- /// </summary>
- ACCOUNTHOLDERCMDOP_DELIVERY_MAX_FREEZE = 304,
- /// <summary>
- /// 交割成交扣除
- /// </summary>
- ACCOUNTHOLDERCMDOP_DELIVERY_DEAL_DEDUCT = 305,
- /// <summary>
- /// 锁仓认购冻结
- /// </summary>
- ACCOUNTHOLDERCMDOP_CHANNEL_LOCK_FREEZE = 401,
- /// <summary>
- /// 锁仓认购解冻
- /// </summary>
- ACCOUNTHOLDERCMDOP_CHANNEL_LOCK_UNFREEZE = 402,
- /// <summary>
- /// 锁仓认购赠送
- /// </summary>
- ACCOUNTHOLDERCMDOP_CHANNEL_LOCK_GIFT = 403,
- /// <summary>
- /// 认购成交
- /// </summary>
- ACCOUNTHOLDERCMDOP_CHANNEL_LOCK_BUY = 404
- }
- /// <summary>
- // 账户仓单头寸指令类型
- /// </summary>
- public enum eAccountWRPositionCmdOp {
- /// <summary>
- /// 冻结
- /// </summary>
- ACCOUNTWRPOSITIONCMDOP_FREEZE = 101,
- /// <summary>
- /// 最大冻结
- /// </summary>
- ACCOUNTWRPOSITIONCMDOP_MAX_FREEZE = 102,
- /// <summary>
- /// 解冻
- /// </summary>
- ACCOUNTWRPOSITIONCMDOP_UNFREEZE = 103,
- /// <summary>
- /// 增加
- /// </summary>
- ACCOUNTWRPOSITIONCMDOP_INCREASE = 104,
- /// <summary>
- /// 减少
- /// </summary>
- ACCOUNTWRPOSITIONCMDOP_DECREASE = 105,
- /// <summary>
- /// 仓单订单头寸数量增加
- /// </summary>
- ACCOUNTWRPOSITIONCMDOP_WRTRADE_POS_INCREASE = 106,
- /// <summary>
- /// 仓单订单头寸数量减少
- /// </summary>
- ACCOUNTWRPOSITIONCMDOP_WRTRADE_POS_DECREASE = 107
- }
- /// <summary>
- // 账户仓单订单头寸指令类型
- /// </summary>
- public enum eAccountWRTradePSCmdOp {
- /// <summary>
- /// 冻结
- /// </summary>
- ACCOUNTWRTRADEPSCMDOP_FREEZE = 101,
- /// <summary>
- /// 最大冻结
- /// </summary>
- ACCOUNTWRTRADEPSCMDOP_MAX_FREEZE = 102,
- /// <summary>
- /// 解冻
- /// </summary>
- ACCOUNTWRTRADEPSCMDOP_UNFREEZE = 103,
- /// <summary>
- /// 增加
- /// </summary>
- ACCOUNTWRTRADEPSCMDOP_INCREASE = 104,
- /// <summary>
- /// 减少
- /// </summary>
- ACCOUNTWRTRADEPSCMDOP_DECREASE = 105,
- /// <summary>
- /// 查询可用
- /// </summary>
- ACCOUNTWRTRADEPSCMDOP_QUERY_AVAILABLE = 106,
- /// <summary>
- /// 查询合约商品所有订单头寸
- /// </summary>
- ACCOUNTWRTRADEPSCMDOP_QUERY_GOODSID_ALL = 107
- }
- /// <summary>
- // 账户积分头寸指令类型
- /// </summary>
- public enum eAccountScorePositionCmdOp {
- /// <summary>
- /// 冻结
- /// </summary>
- ACCOUNTSCOREPOSITIONCMDOP_FREEZE = 101,
- /// <summary>
- /// 解冻
- /// </summary>
- ACCOUNTSCOREPOSITIONCMDOP_UNFREEZE = 102,
- /// <summary>
- /// 增加
- /// </summary>
- ACCOUNTSCOREPOSITIONCMDOP_INCREASE = 103,
- /// <summary>
- /// 减少
- /// </summary>
- ACCOUNTSCOREPOSITIONCMDOP_DECREASE = 104,
- /// <summary>
- /// 查询
- /// </summary>
- ACCOUNTSCOREPOSITIONCMDOP_QUERY = 105,
- /// <summary>
- /// 代扣
- /// </summary>
- ACCOUNTSCOREPOSITIONCMDOP_WITHHOLD = 106,
- /// <summary>
- /// 代付
- /// </summary>
- ACCOUNTSCOREPOSITIONCMDOP_PAY = 107,
- /// <summary>
- /// 代收
- /// </summary>
- ACCOUNTSCOREPOSITIONCMDOP_COLLECTION = 108
- }
- /// <summary>
- // 账户期权头寸指令类型
- /// </summary>
- public enum eAccountOptionPositionCmdOp {
- /// <summary>
- /// 建仓
- /// </summary>
- ACCOUNTOPTIONPOSITIONCMDOP_OPEN = 101,
- /// <summary>
- /// 行权
- /// </summary>
- ACCOUNTOPTIONPOSITIONCMDOP_EXERCISE = 102,
- /// <summary>
- /// 对冲
- /// </summary>
- ACCOUNTOPTIONPOSITIONCMDOP_HEDGE = 103
- }
- /// <summary>
- // 账户风控指令类型
- /// </summary>
- public enum eAccountRiskCtrlCmdOp {
- /// <summary>
- /// 激活
- /// </summary>
- ACCOUNTRISKCTRLCMDOP_ACTIVATE = 101,
- /// <summary>
- /// 关闭
- /// </summary>
- ACCOUNTRISKCTRLCMDOP_INACTIVATE = 102
- }
- /// <summary>
- // 账户风控关联类型
- /// </summary>
- public enum eAccountRiskCtrlRelatedType {
- /// <summary>
- /// 合作套保
- /// </summary>
- ACCOUNTRISKCTRLRELATEDTYPE_SCF = 1
- }
- /// <summary>
- // 积分申请状态头
- /// </summary>
- public enum eAppScoreStatus {
- /// <summary>
- /// 待审核
- /// </summary>
- APP_SCORE_STATUS_UNAUDIT = 1,
- /// <summary>
- /// 审核中
- /// </summary>
- APP_SCORE_STATUS_AUDITING = 2,
- /// <summary>
- /// 审核拒绝
- /// </summary>
- APP_SCORE_STATUS_AUDITING_REJECTION = 3,
- /// <summary>
- /// 审核成功
- /// </summary>
- APP_SCORE_STATUS_AUDITING_SUCCESS = 4,
- /// <summary>
- /// 审核失败
- /// </summary>
- APP_SCORE_STATUS_AUDITING_FAIL = 5,
- /// <summary>
- /// 已撤销
- /// </summary>
- APP_SCORE_STATUS_CANCEL = 6
- }
- /// <summary>
- // 积分平仓类型
- /// </summary>
- public enum eCloseScoreStatus {
- /// <summary>
- /// 消费平仓
- /// </summary>
- CLOSE_SCORE_STATUS_COMSUNE = 1,
- /// <summary>
- /// 核销平仓
- /// </summary>
- CLOSE_SCORE_STATUS_CLOSEDOWN = 2,
- /// <summary>
- /// 过期平仓
- /// </summary>
- CLOSE_SCORE_STATUS_EXPIRE = 3,
- /// <summary>
- /// 清理平仓
- /// </summary>
- CLOSE_SCORE_STATUS_CLEAR = 4,
- /// <summary>
- /// 减少平仓
- /// </summary>
- CLOSE_SCORE_STATUS_REDUCE = 5
- }
- /// <summary>
- // 积分消费操作类型
- /// </summary>
- public enum eOperatorType {
- /// <summary>
- /// 商家加积分
- /// </summary>
- OPERATOR_ADD = 1,
- /// <summary>
- /// 用积分消费
- /// </summary>
- OPERATOR_REDUCE = 2
- }
- /// <summary>
- // 积分业务类型
- /// </summary>
- public enum eScoreBussiness {
- /// <summary>
- /// 积分消费
- /// </summary>
- SCORE_BUSINESS_CONSUME = 0,
- /// <summary>
- /// 积分获取
- /// </summary>
- SCORE_BUSINESS_FETCH = 1,
- /// <summary>
- /// 积分核销
- /// </summary>
- SCORE_BUSINESS_CLOSEDOWN = 2,
- /// <summary>
- /// 积分清理
- /// </summary>
- SCORE_BUSINESS_CLEAR = 3,
- /// <summary>
- /// 积分结算
- /// </summary>
- SCORE_BUSINESS_RECKON = 4,
- /// <summary>
- /// 积分减少
- /// </summary>
- SCORE_BUSINESS_REDUCE = 5
- }
- /// <summary>
- // 风控模式
- /// </summary>
- public enum eRiskControlMode {
- /// <summary>
- /// 投资者/机构自营
- /// </summary>
- RISKCONTROLMODE_TRADE = 1,
- /// <summary>
- /// 机构做市
- /// </summary>
- RISKCONTROLMODE_MARKETMAKER = 2
- }
- /// <summary>
- // 风险率计算方式
- /// </summary>
- public enum eRiskRatioCalcMode {
- /// <summary>
- /// 占用/净值
- /// </summary>
- RISKRATIOCALCMODE_OCCUPYWORTH = 1
- }
- /// <summary>
- // 净值斩仓标志
- /// </summary>
- public enum eCutThresholdFlag {
- /// <summary>
- /// 不启用
- /// </summary>
- CUTTHRESHOLDFLAG_NO = 0,
- /// <summary>
- /// 启用(做市会员用)
- /// </summary>
- CUTTHRESHOLDFLAG_YES = 1
- }
- /// <summary>
- // 风险级别
- /// </summary>
- public enum eRiskLevel {
- /// <summary>
- /// 无风险
- /// </summary>
- RISKLEVEL_NORMAL = 0,
- /// <summary>
- /// 警告级别
- /// </summary>
- RISKLEVEL_NOTE = 1,
- /// <summary>
- /// 追加保证金
- /// </summary>
- RISKLEVEL_ADD = 2,
- /// <summary>
- /// 斩仓级别
- /// </summary>
- RISKLEVEL_CUT = 3,
- /// <summary>
- /// 恢复正常
- /// </summary>
- RISKLEVEL_RECOVER = 4,
- /// <summary>
- /// 净值斩仓
- /// </summary>
- RISKLEVEL_NETVALUE_LIQUIDATED = 5
- }
- /// <summary>
- // 交易状态
- /// </summary>
- public enum eTradeStatus {
- /// <summary>
- /// 正常
- /// </summary>
- TRADESTATUS_NORMAL = 1,
- /// <summary>
- /// 受限
- /// </summary>
- TRADESTATUS_LIMITED = 2,
- /// <summary>
- /// 冻结
- /// </summary>
- TRADESTATUS_FROZEN = 3,
- /// <summary>
- /// 人工受限(禁止建仓)
- /// </summary>
- TRADESTATUS_LIMITEDMANUAL = 4,
- /// <summary>
- /// 人工冻结(禁止交易)
- /// </summary>
- TRADESTATUS_FROZENMANUAL = 5
- }
- /// <summary>
- // 合作套保风险等级
- /// </summary>
- public enum eScfRiskLv {
- /// <summary>
- /// 正常
- /// </summary>
- SCF_RISKLV_NORMAL = 0,
- /// <summary>
- /// 预警
- /// </summary>
- SCF_RISKLV_PRE_WARN = 1,
- /// <summary>
- /// 禁开
- /// </summary>
- SCF_RISKLV_WARNING = 2,
- /// <summary>
- /// 止损
- /// </summary>
- SCF_RISKLV_STOPPING = 3,
- /// <summary>
- /// 恢复
- /// </summary>
- SCF_RISKLV_RECOVER = 4
- }
- /// <summary>
- // 合作套保风险状态
- /// </summary>
- public enum eScfRiskStatus {
- /// <summary>
- /// 正常
- /// </summary>
- SCF_RISKSTATUS_NORMAL = 1,
- /// <summary>
- /// 受限
- /// </summary>
- SCF_RISKSTATUS_BELIMITED = 2,
- /// <summary>
- /// 冻结
- /// </summary>
- SCF_RISKSTATUS_FROZEN = 3
- }
- /// <summary>
- // 默认标志
- /// </summary>
- public enum eIsDefault {
- /// <summary>
- /// 非默认
- /// </summary>
- ISDEFAULT_NO = 0,
- /// <summary>
- /// 默认
- /// </summary>
- ISDEFAULT_YES = 1
- }
- /// <summary>
- // 变动类型
- /// </summary>
- public enum eChangeType {
- /// <summary>
- /// 客户入金
- /// </summary>
- CHANGETYPE_INAMOUNT = 1,
- /// <summary>
- /// 客户出金
- /// </summary>
- CHANGETYPE_OUTAMOUNT = 2,
- /// <summary>
- /// 扣客户手续费
- /// </summary>
- CHANGETYPE_CHARGE = 3,
- /// <summary>
- /// 分润
- /// </summary>
- CHANGETYPE_DIVIDE = 4,
- /// <summary>
- /// 分润划拨
- /// </summary>
- CHANGETYPE_DIVIDETRANSFER = 5,
- /// <summary>
- /// 交割扣款
- /// </summary>
- CHANGETYPE_DELIVERYDEDUCT = 6,
- /// <summary>
- /// 交割付款
- /// </summary>
- CHANGETYPE_DELIVERYPAY = 7
- }
- /// <summary>
- // 变动方向
- /// </summary>
- public enum eChangeDirection {
- /// <summary>
- /// 增加
- /// </summary>
- CHANGEDIRECTION_INCREASE = 1,
- /// <summary>
- /// 减少
- /// </summary>
- CHANGEDIRECTION_DECREASE = 2
- }
- /// <summary>
- // 账务类别
- /// </summary>
- public enum eAccType {
- /// <summary>
- /// 资产类
- /// </summary>
- ACCTYPE_ASSET = 1,
- /// <summary>
- /// 负债类
- /// </summary>
- ACCTYPE_DEBT = 2,
- /// <summary>
- /// 权益类
- /// </summary>
- ACCTYPE_EQUITY = 3
- }
- /// <summary>
- // 总科目
- /// </summary>
- public enum eAccSubject {
- /// <summary>
- /// 银行存款
- /// </summary>
- ACCSUBJECT_DEPOSIT = 1,
- /// <summary>
- /// 代理清算资金
- /// </summary>
- ACCSUBJECT_AGENT = 2,
- /// <summary>
- /// 收入
- /// </summary>
- ACCSUBJECT_INCOME = 3
- }
- /// <summary>
- // 明细科目
- /// </summary>
- public enum eDetailSubject {
- /// <summary>
- /// 银行存款
- /// </summary>
- DETAILSUBJECT_DEPOSIT = 1,
- /// <summary>
- /// 代理客户保证金
- /// </summary>
- DETAILSUBJECT_MARGIN = 2,
- /// <summary>
- /// 代收手续费
- /// </summary>
- DETAILSUBJECT_COLLECTCHARGE = 3,
- /// <summary>
- /// 应付合作机构手续费
- /// </summary>
- DETAILSUBJECT_AREACHARGE = 4,
- /// <summary>
- /// 其他代收金额
- /// </summary>
- DETAILSUBJECT_OTHERCOLLECT = 5,
- /// <summary>
- /// 手续费收入
- /// </summary>
- DETAILSUBJECT_CHARGEINCOME = 6
- }
- /// <summary>
- // 是否有效
- /// </summary>
- public enum eIsValid {
- /// <summary>
- /// 无效
- /// </summary>
- ISVALID_NO = 0,
- /// <summary>
- /// 有效
- /// </summary>
- ISVALID_YES = 1
- }
- /// <summary>
- // 机构角色
- /// </summary>
- public enum eRoleType {
- /// <summary>
- /// 交易所
- /// </summary>
- ROLETYPE_EXCHANGE = 1,
- /// <summary>
- /// 运营机构
- /// </summary>
- ROLETYPE_OPERATEAREA = 2,
- /// <summary>
- /// 扩展中心
- /// </summary>
- ROLETYPE_MARKETCENTER = 3,
- /// <summary>
- /// 仓库机构
- /// </summary>
- ROLETYPE_WAREHOUSEAREA = 4,
- /// <summary>
- /// 第三方服务机构
- /// </summary>
- ROLETYPE_THIRDAREA = 5,
- /// <summary>
- /// 自营会员
- /// </summary>
- ROLETYPE_DEALER = 6,
- /// <summary>
- /// 经纪会员
- /// </summary>
- ROLETYPE_BROKER = 7,
- /// <summary>
- /// 做市会员
- /// </summary>
- ROLETYPE_MARKETMAKER = 8,
- /// <summary>
- /// 产业会员
- /// </summary>
- ROLETYPE_INDUSTRY = 9,
- /// <summary>
- /// 金融机构
- /// </summary>
- ROLETYPE_FINANCEAREA = 10,
- /// <summary>
- /// 商城店铺
- /// </summary>
- ROLETYPE_MALLSHOP = 11,
- /// <summary>
- /// 子机构
- /// </summary>
- ROLETYPE_SUBAREA = 12,
- /// <summary>
- /// 报价商
- /// </summary>
- ROLETYPE_QUOTIENT = 13,
- /// <summary>
- /// 积分服务商
- /// </summary>
- ROLETYPE_SCOREPROVIDER = 14,
- /// <summary>
- /// 供货商
- /// </summary>
- ROLETYPE_SUPPLIER = 15,
- /// <summary>
- /// 圈内会员
- /// </summary>
- ROLETYPE_RINGDEAL = 16,
- /// <summary>
- /// 物流机构
- /// </summary>
- ROLETYPE_LOGISTICSAREA = 17,
- /// <summary>
- /// 报价配置机构
- /// </summary>
- ROLETYPE_QUOTECONFIGAREA = 18,
- /// <summary>
- /// 场外期权做市商
- /// </summary>
- ROLETYPE_EXTERNOPTION_MARKETMAKER = 19,
- /// <summary>
- /// 省级代理
- /// </summary>
- ROLETYPE_ONE_AGENT = 20,
- /// <summary>
- /// 市级代理
- /// </summary>
- ROLETYPE_TWO_AGENT = 21,
- /// <summary>
- /// 区级代理
- /// </summary>
- ROLETYPE_THREE_AGENT = 22
- }
- /// <summary>
- // 保证金算法
- /// </summary>
- public enum eMarginAlgorithm {
- /// <summary>
- /// 比率
- /// </summary>
- MARGINALGORITHM_RATIO = 1,
- /// <summary>
- /// 固定
- /// </summary>
- MARGINALGORITHM_FIXED = 2
- }
- /// <summary>
- // 交易参数类型
- /// </summary>
- public enum eRuleType {
- /// <summary>
- /// 保证金类
- /// </summary>
- RULETYPE_MARGIN = 1,
- /// <summary>
- /// 交易规则类
- /// </summary>
- RULETYPE_TRADERULE = 2,
- /// <summary>
- /// 交易费用类
- /// </summary>
- RULETYPE_TRADEFEE = 3
- }
- /// <summary>
- // 分润算法
- /// </summary>
- public enum eDivideType {
- /// <summary>
- /// 比率
- /// </summary>
- DIVIDETYPE_RATIO = 1,
- /// <summary>
- /// 固定
- /// </summary>
- DIVIDETYPE_FIXED = 2,
- /// <summary>
- /// 余下全部
- /// </summary>
- DIVIDETYPE_REMAIN = 3
- }
- /// <summary>
- // 分润状态
- /// </summary>
- public enum eDivideStatus {
- /// <summary>
- /// 未分成
- /// </summary>
- DIVIDESTATUS_PENDING = 1,
- /// <summary>
- /// 已分成
- /// </summary>
- DIVIDESTATUS_FINISHED = 2
- }
- /// <summary>
- // 分润费用类型
- /// </summary>
- public enum eTradeFeeType {
- /// <summary>
- /// 交易手续费
- /// </summary>
- TRADEFEETYPE_TRADECHARGE = 1,
- /// <summary>
- /// 交割手续费
- /// </summary>
- TRADEFEETYPE_DELIVERYCHARGE = 2,
- /// <summary>
- /// 出金手续费
- /// </summary>
- TRADEFEETYPE_OUTAMOUNTCHARGE = 3,
- /// <summary>
- /// 入金手续费
- /// </summary>
- TRADEFEETYPE_INAMOUNTCHARGE = 4,
- /// <summary>
- /// 递延费
- /// </summary>
- TRADEFEETYPE_INTEREST = 5,
- /// <summary>
- /// 递延费2
- /// </summary>
- TRADEFEETYPE_DEFERCHARGE = 6,
- /// <summary>
- /// 开户奖励费
- /// </summary>
- TRADEFEETYPE_OPENACCOUNT = 7,
- /// <summary>
- /// 入金奖励费
- /// </summary>
- TRADEFEETYPE_DEPOSIT = 8,
- /// <summary>
- /// 普通净创收
- /// </summary>
- TRADEFEETYPE_NORMAL = 9,
- /// <summary>
- /// 信用净创收
- /// </summary>
- TRADEFEETYPE_CREDIT = 10,
- /// <summary>
- /// 期权净创收
- /// </summary>
- TRADEFEETYPE_OPTION = 11,
- /// <summary>
- /// 其它
- /// </summary>
- TRADEFEETYPE_OTHER = 99
- }
- /// <summary>
- // 涨跌停标志
- /// </summary>
- public enum eUpDownFlag {
- /// <summary>
- /// 跌停
- /// </summary>
- UPDOWNFLAG_DOWN = -1,
- /// <summary>
- /// 无涨跌停
- /// </summary>
- UPDOWNFLAG_NO = 0,
- /// <summary>
- /// 涨停
- /// </summary>
- UPDOWNFLAG_UP = 1
- }
- /// <summary>
- // 节点状态
- /// </summary>
- public enum eNodeStatus {
- /// <summary>
- /// 未执行
- /// </summary>
- NODESTATUS_PENDING = 1,
- /// <summary>
- /// 进行中
- /// </summary>
- NODESTATUS_INPROCESS = 2,
- /// <summary>
- /// 成功
- /// </summary>
- NODESTATUS_SUCCESS = 3,
- /// <summary>
- /// 失败
- /// </summary>
- NODESTATUS_FAILED = 4
- }
- /// <summary>
- // 节点是否可回退
- /// </summary>
- public enum eCanBack {
- /// <summary>
- /// 不可回退
- /// </summary>
- CANBACK_NO = 0,
- /// <summary>
- /// 可回退
- /// </summary>
- CANBACK_YES = 1
- }
- /// <summary>
- // 交易结算节点ID
- /// </summary>
- public enum eBidReckonNodeID {
- /// <summary>
- /// 预埋单撤单节点ID
- /// </summary>
- BIDRECKNODEID_PERPOST_CANCEL = 1,
- /// <summary>
- /// 委托单撤单节点ID
- /// </summary>
- BIDRECKNODEID_ORDER_CANCEL = 2,
- /// <summary>
- /// 结算价节点ID
- /// </summary>
- BIDRECKNODEID_RECK_PRICE = 3,
- /// <summary>
- /// 定期解冻持仓单节点ID
- /// </summary>
- BIDRECKNODEID_PERIODIC_UNFREEZE_HOLDERDETAIL = 4,
- /// <summary>
- /// 定期强平节点ID
- /// </summary>
- BIDRECKNODEID_PERIODIC_FORCECLOSE = 5,
- /// <summary>
- /// 持仓单备份节点ID
- /// </summary>
- BIDRECKNODEID_HOLDERDETAIL_BACKUP = 6,
- /// <summary>
- /// 单据试算平衡节点
- /// </summary>
- BIDRECKNODEID_ORDER_BALANCE_CALCULATE = 7,
- /// <summary>
- /// 持仓单处理节点
- /// </summary>
- BIDRECKNODEID_HOLDERDETAIL_DEAL = 8,
- /// <summary>
- /// 委托单日照节点
- /// </summary>
- BIDRECKNODEID_ORDER_DAY = 9,
- /// <summary>
- /// 交易分润节点
- /// </summary>
- BIDRECKNODEID_SHARE_PROFIT = 10,
- /// <summary>
- /// 交割调续费节点
- /// </summary>
- BIDRECKNODEID_DELAY_FEE = 11,
- /// <summary>
- /// 补偿费(无仓单)
- /// </summary>
- BIDRECKNODEID_COMPEMSATION_FEE = 12
- }
- /// <summary>
- // 仓单变动类型
- /// </summary>
- public enum eWR_ChangeType {
- /// <summary>
- /// 交割成交
- /// </summary>
- WR_CHANGETYPE_DELIVERY = 1,
- /// <summary>
- /// 仓单转持仓成交
- /// </summary>
- WR_CHANGETYPE_WRTOPOSITION = 2,
- /// <summary>
- /// 持仓转仓单成交
- /// </summary>
- WR_CHANGETYPE_POSITIONTOWR = 3,
- /// <summary>
- /// 其它成交
- /// </summary>
- WR_CHANGETYPE_OTHER = 4
- }
- /// <summary>
- // 仓单类型
- /// </summary>
- public enum eWRType {
- /// <summary>
- /// 注册仓单
- /// </summary>
- WRTYPE_STANDARD = 1,
- /// <summary>
- /// 信用仓单
- /// </summary>
- WRTYPE_CREDIT = 2
- }
- /// <summary>
- // 仓单持有人类型
- /// </summary>
- public enum eWR_HolderType {
- /// <summary>
- /// 会员
- /// </summary>
- WR_HOLDERTYPE_AREA = 1,
- /// <summary>
- /// 投资者
- /// </summary>
- WR_HOLDERTYPE_INVESTOR = 2
- }
- /// <summary>
- // 仓单申请状态
- /// </summary>
- public enum eWR_AuditStatus {
- /// <summary>
- /// 待初审
- /// </summary>
- WR_AUDITSTATUS_PENDINGAUDIT = 1,
- /// <summary>
- /// 待复审
- /// </summary>
- WR_AUDITSTATUS_PENDINGREAUDIT = 2,
- /// <summary>
- /// 审核通过
- /// </summary>
- WR_AUDITSTATUS_PASS = 3,
- /// <summary>
- /// 审核拒绝
- /// </summary>
- WR_AUDITSTATUS_REJECT = 4,
- /// <summary>
- /// 注册成功
- /// </summary>
- WR_AUDITSTATUS_SUCCESS = 5,
- /// <summary>
- /// 注册失败
- /// </summary>
- WR_AUDITSTATUS_FAILED = 6
- }
- /// <summary>
- // 仓单状态
- /// </summary>
- public enum eWR_STATUS {
- /// <summary>
- /// 正常
- /// </summary>
- WR_STATUS_NORMAL = 1,
- /// <summary>
- /// 注销
- /// </summary>
- WR_STATUS_CANCELLED = 2
- }
- /// <summary>
- // 仓单用途类型
- /// </summary>
- public enum eWR_UsedType {
- /// <summary>
- /// 仓单转持仓
- /// </summary>
- WR_USEDTYPE_WRTOPOSITION = 1,
- /// <summary>
- /// 持仓转仓单
- /// </summary>
- WR_USEDTYPE_POSITIONTOWR = 2
- }
- /// <summary>
- // 仓单转用途申请状态
- /// </summary>
- public enum eWR_ReqStatus {
- /// <summary>
- /// 申请中
- /// </summary>
- WR_REQSTATUS_APPLYING = 1,
- /// <summary>
- /// 申请失败
- /// </summary>
- WR_REQSTATUS_FAILED = 2,
- /// <summary>
- /// 待审核
- /// </summary>
- WR_REQSTATUS_PENDING = 3,
- /// <summary>
- /// 审核通过
- /// </summary>
- WR_REQSTATUS_PASS = 4,
- /// <summary>
- /// 审核拒绝
- /// </summary>
- WR_REQSTATUS_REJECT = 5,
- /// <summary>
- /// 取消申请
- /// </summary>
- WR_REQSTATUS_CANCELLED = 6,
- /// <summary>
- /// 转换完成
- /// </summary>
- WR_REQSTATUS_SUCCESS = 7,
- /// <summary>
- /// 转换失败
- /// </summary>
- WR_REQSTATUS_ERROR = 8
- }
- /// <summary>
- // 仓单转用途申请处理标识
- /// </summary>
- public enum eWR_HandleFlag {
- /// <summary>
- /// 待发送
- /// </summary>
- WR_HANDLEFLAG_PENDING = 1,
- /// <summary>
- /// 已发送
- /// </summary>
- WR_HANDLEFLAG_SEND = 2,
- /// <summary>
- /// 处理成功
- /// </summary>
- WR_HANDLEFLAG_SUCCESS = 3,
- /// <summary>
- /// 处理失败
- /// </summary>
- WR_HANDLEFLAG_FAILED = 4
- }
- /// <summary>
- // 仓单成交类型
- /// </summary>
- public enum eWRTradeType {
- /// <summary>
- /// 仓单注册
- /// </summary>
- WR_TRADE_REGISTER = 1,
- /// <summary>
- /// 交割成交
- /// </summary>
- WR_TRADE_DELIVERY = 2,
- /// <summary>
- /// 履约
- /// </summary>
- WR_TRADE_PERFORMANCE = 3,
- /// <summary>
- /// 仓单贸易
- /// </summary>
- WR_TRADE_WRTRADE = 4,
- /// <summary>
- /// 供应链金融
- /// </summary>
- WR_TRADE_SCF = 5,
- /// <summary>
- /// 提货
- /// </summary>
- WR_TRADE_LADING = 6,
- /// <summary>
- /// 竞拍
- /// </summary>
- WR_TRADE_AUCTION = 7
- }
- /// <summary>
- // 仓库类型
- /// </summary>
- public enum eWarehouseType {
- /// <summary>
- /// 厂库
- /// </summary>
- WAREHOUSETYPE_FACTORY = 1,
- /// <summary>
- /// 自有库
- /// </summary>
- WAREHOUSETYPE_OWN = 2,
- /// <summary>
- /// 合作库
- /// </summary>
- WAREHOUSETYPE_COOPERATIVE = 3
- }
- /// <summary>
- // 仓库状态
- /// </summary>
- public enum eWarehouseStatus {
- /// <summary>
- /// 正常
- /// </summary>
- WAREHOUSESTATUS_NORMAL = 1,
- /// <summary>
- /// 注销
- /// </summary>
- WAREHOUSESTATUS_CANCELLED = 2
- }
- /// <summary>
- // 库位状态
- /// </summary>
- public enum eLocationStatus {
- /// <summary>
- /// 无效
- /// </summary>
- LOCATIONSTATUS_INVALID = 0,
- /// <summary>
- /// 正常
- /// </summary>
- LOCATIONSTATUS_NORMAL = 1,
- /// <summary>
- /// 冻结
- /// </summary>
- LOCATIONSTATUS_FREEZE = 2,
- /// <summary>
- /// 已提货
- /// </summary>
- LOCATIONSTATUS_DELIVERED = 3,
- /// <summary>
- /// 履约冻结
- /// </summary>
- LOCATIONSTATUS_FREEZEBYPERFORMANCE = 4,
- /// <summary>
- /// 已卖出
- /// </summary>
- LOCATIONSTATUS_SELLING = 5
- }
- /// <summary>
- // 质押状态
- /// </summary>
- public enum ePledgeStatus {
- /// <summary>
- /// 未质押
- /// </summary>
- PLEDGESTATUS_NO = 1,
- /// <summary>
- /// 已质押
- /// </summary>
- PLEDGESTATUS_YES = 2
- }
- /// <summary>
- // 交割状态
- /// </summary>
- public enum eDeliveryStatus {
- /// <summary>
- /// 待成交
- /// </summary>
- DELIVERYSTATUS_PENDING = 1,
- /// <summary>
- /// 已成交
- /// </summary>
- DELIVERYSTATUS_TRADED = 2,
- /// <summary>
- /// 成交失败
- /// </summary>
- DELIVERYSTATUS_FAILED = 3,
- /// <summary>
- /// 履约完成
- /// </summary>
- DELIVERYSTATUS_PERFORMANCEFINISHED = 4
- }
- /// <summary>
- // 审核标志
- /// </summary>
- public enum eAuditFlag {
- /// <summary>
- /// 不需要
- /// </summary>
- AUDITFLAG_NO = 0,
- /// <summary>
- /// 需要
- /// </summary>
- AUDITFLAG_YES = 1
- }
- /// <summary>
- // 主单标志
- /// </summary>
- public enum eMainOrderFlag {
- /// <summary>
- /// 非主单
- /// </summary>
- MAINORDERFLAG_NO = 0,
- /// <summary>
- /// 主单
- /// </summary>
- MAINORDERFLAG_YES = 1
- }
- /// <summary>
- // 平仓标志
- /// </summary>
- public enum eCloseFlag {
- /// <summary>
- /// 未平仓
- /// </summary>
- CLOSEFLAG_PENDING = 1,
- /// <summary>
- /// 已平仓
- /// </summary>
- CLOSEFLAG_FINISHED = 2,
- /// <summary>
- /// 正在平仓
- /// </summary>
- CLOSEFLAG_PROCESSING = 3,
- /// <summary>
- /// 平仓失败
- /// </summary>
- CLOSEFLAG_FAILED = 4
- }
- /// <summary>
- // 交割申报状态
- /// </summary>
- public enum eDeliveryOrderStatus {
- /// <summary>
- /// 待审核
- /// </summary>
- DELIVERYORDERSTATUS_PENDING = 1,
- /// <summary>
- /// 审核通过
- /// </summary>
- DELIVERYORDERSTATUS_AUDITED = 2,
- /// <summary>
- /// 审核拒绝
- /// </summary>
- DELIVERYORDERSTATUS_REJECTED = 3,
- /// <summary>
- /// 已撤销
- /// </summary>
- DELIVERYORDERSTATUS_CANCELLED = 4,
- /// <summary>
- /// 失败
- /// </summary>
- DELIVERYORDERSTATUS_FAILED = 5
- }
- /// <summary>
- // 交割申报来源
- /// </summary>
- public enum eDeliveryOrderFrom {
- /// <summary>
- /// 客户端
- /// </summary>
- DELIVERYORDERFROM_CLIENT = 1,
- /// <summary>
- /// 管理端
- /// </summary>
- DELIVERYORDERFROM_MANAGEMENT = 2
- }
- /// <summary>
- // 交割商品处理状态
- /// </summary>
- public enum eDeliveryGoodsHandleStatus {
- /// <summary>
- /// 待冻结
- /// </summary>
- DELIVERYGOODSHANDLESTATUS_UNFREEZE = 1,
- /// <summary>
- /// 冻结中
- /// </summary>
- DELIVERYGOODSHANDLESTATUS_FREEZEING = 2,
- /// <summary>
- /// 冻结成功
- /// </summary>
- DELIVERYGOODSHANDLESTATUS_FREEZE_SUCCESS = 3,
- /// <summary>
- /// 冻结失败
- /// </summary>
- DELIVERYGOODSHANDLESTATUS_FREEZE_FAILED = 4
- }
- /// <summary>
- // 交割申报处理状态
- /// </summary>
- public enum eDeliveryOrderHandleStatus {
- /// <summary>
- /// 交割申报验证
- /// </summary>
- DELIVERYORDERHANDLESTATUS_VERIFY = 1,
- /// <summary>
- /// 交割申报验证失败
- /// </summary>
- DELIVERYORDERHANDLESTATUS_VERIFY_FAILED = 2,
- /// <summary>
- /// 冻结仓单
- /// </summary>
- DELIVERYORDERHANDLESTATUS_FREEZEWR = 3,
- /// <summary>
- /// 冻结仓单失败
- /// </summary>
- DELIVERYORDERHANDLESTATUS_FREEZEWR_FAILED = 4,
- /// <summary>
- /// 冻结X商品头寸
- /// </summary>
- DELIVERYORDERHANDLESTATUS_FREEZE_X = 5,
- /// <summary>
- /// 冻结X商品失败
- /// </summary>
- DELIVERYORDERHANDLESTATUS_FREEZE_X_FAILED = 6,
- /// <summary>
- /// 冻结P商品头寸
- /// </summary>
- DELIVERYORDERHANDLESTATUS_FREEZE_P = 7,
- /// <summary>
- /// 冻结P商品头寸失败
- /// </summary>
- DELIVERYORDERHANDLESTATUS_FREEZE_P_FAILED = 8,
- /// <summary>
- /// 解冻P商品头寸
- /// </summary>
- DELIVERYORDERHANDLESTATUS_UNFREEZE_P = 9,
- /// <summary>
- /// 解冻X商品头寸及仓单头寸
- /// </summary>
- DELIVERYORDERHANDLESTATUS_UNFREEZE_XANDWR = 10,
- /// <summary>
- /// 交割申报成功
- /// </summary>
- DELIVERYORDERHANDLESTATUS_SUCCESS = 11,
- /// <summary>
- /// 冻结交收货款
- /// </summary>
- DELIVERYORDERHANDLESTATUS_FREEZE_AMOUNT = 12,
- /// <summary>
- /// 冻结交收货款失败
- /// </summary>
- DELIVERYORDERHANDLESTATUS_FREEZE_AMOUNT_FAILED = 13,
- /// <summary>
- /// 成交失败
- /// </summary>
- DELIVERYORDERHANDLESTATUS_TRADE_FAILD = 14,
- /// <summary>
- /// 部成部撤
- /// </summary>
- DELIVERYORDERHANDLESTATUS_PARTTRADE_CANCELED = 15,
- /// <summary>
- /// 全部成交
- /// </summary>
- DELIVERYORDERHANDLESTATUS_ALLTRADE = 16,
- /// <summary>
- /// 撤销
- /// </summary>
- DELIVERYORDERHANDLESTATUS_CANCELED = 17,
- /// <summary>
- /// 部分成交
- /// </summary>
- DELIVERYORDERHANDLESTATUS_PARTTRADE = 18,
- /// <summary>
- /// 资金不足
- /// </summary>
- DELIVERYORDERHANDLESTATUS_INSUFFICIENT_FUNDS = 19,
- /// <summary>
- /// 无仓单交收待点选
- /// </summary>
- DELIVERYORDERHANDLESTATUS_SELECTABLE = 20,
- /// <summary>
- /// 可点选数量不足
- /// </summary>
- DELIVERYORDERHANDLESTATUS_INSUFFICIENT_POSITION = 21
- }
- /// <summary>
- // 交割单处理状态
- /// </summary>
- public enum eDeliveryDetailHandleStatus {
- /// <summary>
- /// 平仓
- /// </summary>
- DELIVERYDETAILHANDLESTATUS_CLOSE = 1,
- /// <summary>
- /// 平仓失败
- /// </summary>
- DELIVERYDETAILHANDLESTATUS_CLOSE_FAILED = 2,
- /// <summary>
- /// 新建仓单
- /// </summary>
- DELIVERYDETAILHANDLESTATUS_CREATEWR = 3,
- /// <summary>
- /// 新建仓单失败
- /// </summary>
- DELIVERYDETAILHANDLESTATUS_CREATEWR_FAILED = 4,
- /// <summary>
- /// 履约计划生成
- /// </summary>
- DELIVERYDETAILHANDLESTATUS_PERFORMANCE = 5,
- /// <summary>
- /// 履约计划生成失败
- /// </summary>
- DELIVERYDETAILHANDLESTATUS_PERFORMANCE_FAILED = 6,
- /// <summary>
- /// 履约计划生成成功
- /// </summary>
- DELIVERYDETAILHANDLESTATUS_PERFORMANCE_SUCCESS = 7,
- /// <summary>
- /// 交割付款
- /// </summary>
- DELIVERYDETAILHANDLESTATUS_PAYMENT = 8,
- /// <summary>
- /// 交割付款失败
- /// </summary>
- DELIVERYDETAILHANDLESTATUS_PAYMENT_FAILED = 9,
- /// <summary>
- /// 头寸转移失败
- /// </summary>
- DELIVERYDETAILHANDLESTATUS_POSITION_MOVE_FAILED = 10,
- /// <summary>
- /// 仓单转移失败
- /// </summary>
- DELIVERYDETAILHANDLESTATUS_WH_MOVE_FAILED = 11,
- /// <summary>
- /// 交易成功
- /// </summary>
- DELIVERYDETAILHANDLESTATUS_TRADE_SUCCESS = 12,
- /// <summary>
- /// 冻结履约保证金
- /// </summary>
- DELIVERYDETAILHANDLESTATUS_FREEZE_PERFORMANCEMARGIN = 13,
- /// <summary>
- /// 冻结履约保证金失败
- /// </summary>
- DELIVERYDETAILHANDLESTATUS_FREEZE_PERFORMANCEMARGIN_FAILED = 14,
- /// <summary>
- /// 冻结履约保证金成功
- /// </summary>
- DELIVERYDETAILHANDLESTATUS_PERFORMANCEMARGIN_FREEZED = 15
- }
- /// <summary>
- // 手续费收取方式
- /// </summary>
- public enum eBank_ChargeAlgorithm {
- /// <summary>
- /// 比率
- /// </summary>
- BANK_CHARGEALGORITHM_RATIO = 1,
- /// <summary>
- /// 固定
- /// </summary>
- BANK_CHARGEALGORITHM_FIXED = 2
- }
- /// <summary>
- // 手续费收取类型
- /// </summary>
- public enum eBank_ChargeType {
- /// <summary>
- /// 统一
- /// </summary>
- BANK_CHARGETYPE_FLAT = 1,
- /// <summary>
- /// 区间
- /// </summary>
- BANK_CHARGETYPE_RANGE = 2
- }
- /// <summary>
- // 出入金操作类型
- /// </summary>
- public enum eBank_OutOrIn {
- /// <summary>
- /// 出金
- /// </summary>
- BANK_OUTORIN_OUT = 1,
- /// <summary>
- /// 入金
- /// </summary>
- BANK_OUTORIN_IN = 2,
- /// <summary>
- /// 单边帐调整,入金
- /// </summary>
- BANK_OUTORIN_SINGLESIDE_IN = 3,
- /// <summary>
- /// 单边帐调整,出金
- /// </summary>
- BANK_OUTORIN_SINGLESIDE_OUT = 4
- }
- /// <summary>
- // 上传状态
- /// </summary>
- public enum eBank_DealStatus {
- /// <summary>
- /// 待上传
- /// </summary>
- BANK_DEALSTATUS_PENDING = 1,
- /// <summary>
- /// 上传成功
- /// </summary>
- BANK_DEALSTATUS_SUCCESS = 2,
- /// <summary>
- /// 上传失败
- /// </summary>
- BANK_DEALSTATUS_FAILED = 3,
- /// <summary>
- /// 已注销
- /// </summary>
- BANK_DEALSTATUS_CANCEL = 4
- }
- /// <summary>
- // 客户类型
- /// </summary>
- public enum eBank_UserType {
- /// <summary>
- /// 个人
- /// </summary>
- BANK_USERTYPE_PERSON = 1,
- /// <summary>
- /// 机构
- /// </summary>
- BANKUSERTYPE_AREA = 2
- }
- /// <summary>
- // 变动类型
- /// </summary>
- public enum eBank_ChangeType {
- /// <summary>
- /// 增加
- /// </summary>
- BANK_CHANGETYPE_ADD = 1,
- /// <summary>
- /// 修改
- /// </summary>
- BANK_CHANGETYPE_MODIFY = 2,
- /// <summary>
- /// 注销
- /// </summary>
- BANK_CHANGETYPE_CANCELLED = 3
- }
- /// <summary>
- // 性别
- /// </summary>
- public enum eBank_Sex {
- /// <summary>
- /// 未填写
- /// </summary>
- BANK_SEX_NONE = 0,
- /// <summary>
- /// 男
- /// </summary>
- BANK_SEX_MALE = 1,
- /// <summary>
- /// 女
- /// </summary>
- BANK_SEX_FEMALE = 2
- }
- /// <summary>
- // 费用类型
- /// </summary>
- public enum eBank_AmountType {
- /// <summary>
- /// 出金
- /// </summary>
- BANK_AMOUNTTYPE_OUT = 1,
- /// <summary>
- /// 入金
- /// </summary>
- BANK_AMOUNTTYPE_IN = 2
- }
- /// <summary>
- // 对账状态
- /// </summary>
- public enum eBank_CheckStatus {
- /// <summary>
- /// 未对账
- /// </summary>
- BANK_CHECKSTATUS_UNCHECK = 1,
- /// <summary>
- /// 对账成功
- /// </summary>
- BANK_CHECKSTATUS_SUCCESS = 2,
- /// <summary>
- /// 对账失败
- /// </summary>
- BANK_CHECKSTATUS_FAILED = 3,
- /// <summary>
- /// 单边账调整成功
- /// </summary>
- BANK_CHECKSTATUS_ADJUSTSUCCESS = 4
- }
- /// <summary>
- // 差错处理状态
- /// </summary>
- public enum eBank_CheckErrorStatus {
- /// <summary>
- /// 未处理
- /// </summary>
- BANK_CHECKERRORSTATUS_UNHANDLE = 1,
- /// <summary>
- /// 已处理
- /// </summary>
- BANK_CHECKERRORSTATUS_HANDLED = 2
- }
- /// <summary>
- // 业务类型
- /// </summary>
- public enum eBank_BizType {
- /// <summary>
- /// 出金
- /// </summary>
- BANK_BIZTYPE_OUTAMOUNT = 0,
- /// <summary>
- /// 入金
- /// </summary>
- BANK_BIZTYPE_INAMOUNT = 1,
- /// <summary>
- /// 出金申请
- /// </summary>
- BANK_BIZTYPE_OUTAPPLY = 2,
- /// <summary>
- /// 入金申请
- /// </summary>
- BANK_BIZTYPE_INAPPLY = 3,
- /// <summary>
- /// 付款
- /// </summary>
- BANK_BIZTYPE_PAYMENT = 4,
- /// <summary>
- /// 付款确认
- /// </summary>
- BANK_BIZTYPE_PAYMENTCONFIRM = 5
- }
- /// <summary>
- // 发起方类型
- /// </summary>
- public enum eBank_SenderType {
- /// <summary>
- /// 中心
- /// </summary>
- BANK_SENDERTYPE_CENTER = 0,
- /// <summary>
- /// 交易所
- /// </summary>
- BANK_SENDERTYPE_EXCHANGE = 1,
- /// <summary>
- /// 银行
- /// </summary>
- BANK_SENDERTYPE_BANK = 2
- }
- /// <summary>
- // 业务状态
- /// </summary>
- public enum eBank_BizStatus {
- /// <summary>
- /// 成功
- /// </summary>
- BANK_BIZSTATUS_SUCCESS = 0,
- /// <summary>
- /// 失败
- /// </summary>
- BANK_BIZSTATUS_FAILED = 1
- }
- /// <summary>
- // 是否可以
- /// </summary>
- public enum eBank_WhetherOrNot {
- /// <summary>
- /// 不可
- /// </summary>
- WHETHERORNOT_NO = 0,
- /// <summary>
- /// 可以
- /// </summary>
- WHETHERORNOT_YES = 1
- }
- /// <summary>
- // 扩展业务类型
- /// </summary>
- public enum eBank_ExtendBizType {
- /// <summary>
- /// 签约
- /// </summary>
- BANK_EXTENDBIZTYPE_SIGNIN = 1,
- /// <summary>
- /// 入金
- /// </summary>
- BANK_EXTENDBIZTYPE_INAMOUNT = 2,
- /// <summary>
- /// 出金
- /// </summary>
- BANK_EXTENDBIZTYPE_OUTAMOUNT = 3
- }
- /// <summary>
- // 是否必填
- /// </summary>
- public enum eBank_IsMandatory {
- /// <summary>
- /// 不必填
- /// </summary>
- BANK_ISMANDATORY_NO = 0,
- /// <summary>
- /// 必填
- /// </summary>
- BANK_ISMANDATORY_YES = 1
- }
- /// <summary>
- // 签到状态
- /// </summary>
- public enum eBank_SignStatus {
- /// <summary>
- /// 签到
- /// </summary>
- BANK_SIGNSTATUS_SIGNIN = 1,
- /// <summary>
- /// 签退
- /// </summary>
- BANK_SIGNSTATUS_SIGNOUT = 2
- }
- /// <summary>
- // 清算状态
- /// </summary>
- public enum eBank_ClearStatus {
- /// <summary>
- /// 未清算
- /// </summary>
- BANK_CLEARSTATUS_UNCLEAR = 1,
- /// <summary>
- /// 清算成功
- /// </summary>
- BANK_CLEARSTATUS_SUCCESS = 2,
- /// <summary>
- /// 清算失败
- /// </summary>
- BANK_CLEARSTATUS_FAILED = 3
- }
- /// <summary>
- // 清算处理状态
- /// </summary>
- public enum eBank_ClearDealStatus {
- /// <summary>
- /// 待处理
- /// </summary>
- BANK_CLEARDEALSTATUS_PENDING = 1,
- /// <summary>
- /// 处理成功
- /// </summary>
- BANK_CLEARDEALSTATUS_SUCCESS = 2,
- /// <summary>
- /// 处理失败
- /// </summary>
- BANK_CLEARDEALSTATUS_FAILED = 3
- }
- /// <summary>
- // 申请状态
- /// </summary>
- public enum eBank_ApplyStatus {
- /// <summary>
- /// 待审核
- /// </summary>
- BANK_APPLYSTATUS_PENDING = 1,
- /// <summary>
- /// 初审通过
- /// </summary>
- BANK_APPLYSTATUS_PASS = 2,
- /// <summary>
- /// 初审拒绝
- /// </summary>
- BANK_APPLYSTATUS_REJECT = 3,
- /// <summary>
- /// 交易冻结中
- /// </summary>
- BANK_APPLYSTATUS_IN_TRAD_EFREEZE = 4,
- /// <summary>
- /// 交易解冻中
- /// </summary>
- BANK_APPLYSTATUS_IN_TRADE_UNFREEZE = 5,
- /// <summary>
- /// 交易解冻扣款中
- /// </summary>
- BANK_APPLYSTATUS_IN_TRADE_UNFREEZE_DEDUCT = 6,
- /// <summary>
- /// 交易入金中
- /// </summary>
- BANK_APPLYSTATUS_IN_TRADE_IN = 7,
- /// <summary>
- /// 交易冻结/解冻/扣款中(银行发起出金时用)
- /// </summary>
- BANK_APPLYSTATUS_IN_TRADE_FREEZE_UNFREEZE_DEDUCT = 8,
- /// <summary>
- /// 银行出金中
- /// </summary>
- BANK_APPLYSTATUS_IN_BANK_OUT = 9,
- /// <summary>
- /// 银行入金中
- /// </summary>
- BANK_APPLYSTATUS_IN_BANK_IN = 10,
- /// <summary>
- /// 成功
- /// </summary>
- BANK_APPLYSTATUS_SUCCESS = 11,
- /// <summary>
- /// 失败
- /// </summary>
- BANK_APPLYSTATUS_FAILED = 12,
- /// <summary>
- /// 银行端审核中
- /// </summary>
- BANK_APPLYSTATUS_BANK_PENDING = 13,
- /// <summary>
- /// 账户服务入金失败
- /// </summary>
- BANK_APPLYSTATUS_AS_BANKIN = 14,
- /// <summary>
- /// 账户服务解冻失败
- /// </summary>
- BANK_APPLYSTATUS_AS_UNFREEZE = 15,
- /// <summary>
- /// 账户服务解冻扣款失败
- /// </summary>
- BANK_APPLYSTATUS_AS_UNFREEZE_AND_OUT = 16,
- /// <summary>
- /// 账户服务出金失败
- /// </summary>
- BANK_APPLYSTATUS_AS_BANKOUT = 17,
- /// <summary>
- /// 复审通过
- /// </summary>
- BANK_APPLYSTATUS_RECONFIRM_OK = 18,
- /// <summary>
- /// 复审拒绝
- /// </summary>
- BANK_APPLYSTATUS_RECONFIRM_REJECT = 19,
- /// <summary>
- /// 提交审核,账户冻结中
- /// </summary>
- BANK_APPLYSTATUS_FREEZE_BEFOR_CONFIRM = 20,
- /// <summary>
- /// 审核拒绝,账户解冻中
- /// </summary>
- BANK_APPLYSTATUS_UNFEEZE_ON_CONFIRM_REJECT = 21
- }
- /// <summary>
- // 签约状态
- /// </summary>
- public enum eBank_SignContractStatus {
- /// <summary>
- /// 未签约
- /// </summary>
- BANK_SIGNCONTRACTSTATUS_UNSIGN = 1,
- /// <summary>
- /// 签约待审核
- /// </summary>
- BANK_SIGNCONTRACTSTATUS_SIGNFORAUDIT = 2,
- /// <summary>
- /// 签约中
- /// </summary>
- BANK_SIGNCONTRACTSTATUS_SIGNING = 3,
- /// <summary>
- /// 已签约
- /// </summary>
- BANK_SIGNCONTRACTSTATUS_SIGNED = 4,
- /// <summary>
- /// 解约待审核
- /// </summary>
- BANK_SIGNCONTRACTSTATUS_CANCELFORAUDIT = 5,
- /// <summary>
- /// 解约中
- /// </summary>
- BANK_SIGNCONTRACTSTATUS_CANCELLING = 6,
- /// <summary>
- /// 已解约
- /// </summary>
- BANK_SIGNCONTRACTSTATUS_CANCELLED = 7,
- /// <summary>
- /// 已解绑
- /// </summary>
- BANK_SIGNCONTRACTSTATUS_BINDED = 8,
- /// <summary>
- /// 绑卡中
- /// </summary>
- BANK_SIGNCONTRACTSTATUS_BINDING = 9
- }
- /// <summary>
- // 银行账户类型
- /// </summary>
- public enum eBank_BankAccountType {
- /// <summary>
- /// 对私
- /// </summary>
- BANK_BANKACCOUNTTYPE_PRIVATE = 1,
- /// <summary>
- /// 对公
- /// </summary>
- BANK_BANKACCOUNTTYPE_PUBLIC = 2
- }
- /// <summary>
- // 签约类型
- /// </summary>
- public enum eBank_SignType {
- /// <summary>
- /// 签约
- /// </summary>
- BANK_SIGNTYPE_SIGN = 1,
- /// <summary>
- /// 解约
- /// </summary>
- BANK_SIGNTYPE_CANCEL = 2
- }
- /// <summary>
- // 是否强制
- /// </summary>
- public enum eBank_IsForce {
- /// <summary>
- /// 非强制
- /// </summary>
- BANK_ISFORCE_NO = 0,
- /// <summary>
- /// 强制
- /// </summary>
- BANK_ISFORCE_YES = 1
- }
- /// <summary>
- // 签解约处理状态
- /// </summary>
- public enum eBank_SignDealStatus {
- /// <summary>
- /// 待审核
- /// </summary>
- BANK_SIGNDEALSTATUS_FORAUDIT = 1,
- /// <summary>
- /// 待处理
- /// </summary>
- BANK_SIGNDEALSTATUS_FORHANDLE = 2,
- /// <summary>
- /// 处理成功
- /// </summary>
- BANK_SIGNDEALSTATUS_SUCCESS = 3,
- /// <summary>
- /// 处理失败
- /// </summary>
- BANK_SIGNDEALSTATUS_FAILED = 4
- }
- /// <summary>
- // 有效状态
- /// </summary>
- public enum eBank_ValidStatus {
- /// <summary>
- /// 无效
- /// </summary>
- BANK_VALIDSTATUS_INVALID = 0,
- /// <summary>
- /// 有效
- /// </summary>
- BANK_VALIDSTATUS_VALID = 1
- }
- /// <summary>
- // 对账过程状态
- /// </summary>
- public enum eBank_CheckProcessStatus {
- /// <summary>
- /// 初始化状态
- /// </summary>
- BANK_CHECKPROCESSSTATUS_INI = 0,
- /// <summary>
- /// 对账文件分析中
- /// </summary>
- BANK_CHECKPROCESSSTATUS_FILE_ANALYSE = 1,
- /// <summary>
- /// 对账文件解析失败
- /// </summary>
- BANK_CHECKPROCESSSTATUS_FILE_FAILED = 2,
- /// <summary>
- /// 对账文件解析成功
- /// </summary>
- BANK_CHECKPROCESSSTATUS_FILE_SUCCESS = 3,
- /// <summary>
- /// 正在获取交易服务的出入金记录
- /// </summary>
- BANK_CHECKPROCESSSTATUS_TRADE_READING = 4,
- /// <summary>
- /// 获取交易服务的出入金记录失败
- /// </summary>
- BANK_CHECKPROCESSSTATUS_TRADE_FAILED = 5,
- /// <summary>
- /// 获取交易服务的出入金记录成功
- /// </summary>
- BANK_CHECKPROCESSSTATUS_TRADE_SUCCESS = 6,
- /// <summary>
- /// 正在进行对账
- /// </summary>
- BANK_CHECKPROCESSSTATUS_CHECKING = 7,
- /// <summary>
- /// 对账全部成功,没有单边账
- /// </summary>
- BANK_CHECKPROCESSSTATUS_CHECK_SUCCESS = 8,
- /// <summary>
- /// 对账成功,存在单边账
- /// </summary>
- BANK_CHECKPROCESSSTATUS_CHECK_HASERROR = 9,
- /// <summary>
- /// 单边账已经全部处理完毕
- /// </summary>
- BANK_CHECKPROCESSSTATUS_ERROR_FINISHED = 10
- }
- /// <summary>
- // 清算过程状态
- /// </summary>
- public enum eBank_ClearProcessStatus {
- /// <summary>
- /// 初始化
- /// </summary>
- BANK_CLEARPROCESSSTATUS_INI = 0,
- /// <summary>
- /// 合并处理结算数据中
- /// </summary>
- BANK_CLEARPROCESSSTATUS_MERGE_INPROCESS = 1,
- /// <summary>
- /// 合并处理结算数据失败
- /// </summary>
- BANK_CLEARPROCESSSTATUS_MERGE_FAILED = 2,
- /// <summary>
- /// 合并处理结算数据成功
- /// </summary>
- BANK_CLEARPROCESSSTATUS_MERGE_SUCCESS = 3,
- /// <summary>
- /// 校验合并的数据中
- /// </summary>
- BANK_CLEARPROCESSSTATUS_CHECK_INPROCESS = 4,
- /// <summary>
- /// 校验合并数据失败
- /// </summary>
- BANK_CLEARPROCESSSTATUS_CHECK_FAILED = 5,
- /// <summary>
- /// 校验合并数据成功
- /// </summary>
- BANK_CLEARPROCESSSTATUS_CHECK_SUCCESS = 6,
- /// <summary>
- /// 正在生成清算数据
- /// </summary>
- BANK_CLEARPROCESSSTATUS_GEN_INPROCESS = 7,
- /// <summary>
- /// 生成清算数据失败
- /// </summary>
- BANK_CLEARPROCESSSTATUS_GEN_FAILED = 8,
- /// <summary>
- /// 生成清算成功
- /// </summary>
- BANK_CLEARPROCESSSTATUS_GEN_SUCCESS = 9,
- /// <summary>
- /// 正在发送清算数据
- /// </summary>
- BANK_CLEARPROCESSSTATUS_SEND_INPROCESS = 10,
- /// <summary>
- /// 清算数据发送失败
- /// </summary>
- BANK_CLEARPROCESSSTATUS_SEND_FAILED = 11,
- /// <summary>
- /// 清算数据发送成功,等待应答结果
- /// </summary>
- BANK_CLEARPROCESSSTATUS_SEND_WAITRESPONSE = 12,
- /// <summary>
- /// 正在处理结果文件
- /// </summary>
- BANK_CLEARPROCESSSTATUS_RESULT_INPROCESS = 13,
- /// <summary>
- /// 结果文件处理失败
- /// </summary>
- BANK_CLEARPROCESSSTATUS_RESULT_FAILED = 14,
- /// <summary>
- /// 清算全部失败
- /// </summary>
- BANK_CLEARPROCESSSTATUS_CLEAR_FAILED = 15,
- /// <summary>
- /// 清算部分成功
- /// </summary>
- BANK_CLEARPROCESSSTATUS_CLEAR_PARTIALSUCCESS = 16,
- /// <summary>
- /// 清算全部成功
- /// </summary>
- BANK_CLEARPROCESSSTATUS_CLEAR_SUCCESS = 17,
- /// <summary>
- /// 今日免清算
- /// </summary>
- BANK_CLEARPROCESSSTATUS_UNNEED_CLEAR = 18
- }
- /// <summary>
- // 银行业务操作状态
- /// </summary>
- public enum eBank_TaskOperateStatus {
- /// <summary>
- /// 操作成功
- /// </summary>
- BANK_TASKOPERATESTATUS_SUCCESS = 0,
- /// <summary>
- /// 操作失败
- /// </summary>
- BANK_TASKOPERATESTATUS_FAILED = 1
- }
- /// <summary>
- // 银行服务消息来源
- /// </summary>
- public enum eBank_MsgDirect {
- /// <summary>
- /// 交易中心发起
- /// </summary>
- BANK_MSGDIRECT_TRADECENTER = 1,
- /// <summary>
- /// 清算中心发起
- /// </summary>
- BANK_MSGDIRECT_CLEARCENTER = 2,
- /// <summary>
- /// 账户服务发起
- /// </summary>
- BANK_MSGDIRECT_ACCOUNTSERVICE = 3
- }
- /// <summary>
- // 银行服务清算结果文件状态
- /// </summary>
- public enum eBank_ClearResultFileStatus {
- /// <summary>
- /// 未清算
- /// </summary>
- BANK_CLEARRESULTFILESTATUS_INIT = 1,
- /// <summary>
- /// 全部成功
- /// </summary>
- BANK_CLEARRESULTFILESTATUS_SUCCESS = 2,
- /// <summary>
- /// 处理失败
- /// </summary>
- BANK_CLEARRESULTFILESTATUS_FAILED = 3,
- /// <summary>
- /// 部分成功
- /// </summary>
- BANK_CLEARRESULTFILESTATUS_PARTIALSUCCESS = 4
- }
- /// <summary>
- // 单据ID类型
- /// </summary>
- public enum eOrderIDType {
- /// <summary>
- /// 交易预埋单/交易委托单
- /// </summary>
- ORDERIDTYPE_TRADE_ORDERID = 100,
- /// <summary>
- /// 交易成交单/交易持仓单/交易成交配对
- /// </summary>
- ORDERIDTYPE_TRADE_TRADEID = 101,
- /// <summary>
- /// 交易撤单
- /// </summary>
- ORDERIDTYPE_TRADE_CANCELORDERID = 102,
- /// <summary>
- /// 斩仓委托明细
- /// </summary>
- ORDERIDTYPE_TRADE_CUTORDERID = 103,
- /// <summary>
- /// 平仓明细
- /// </summary>
- ORDERIDTYPE_TRADE_CLOSEORDERID = 104,
- /// <summary>
- /// 穿仓记录明细
- /// </summary>
- ORDERIDTYPE_TRADE_OVERLOSSID = 105,
- /// <summary>
- /// 交易日志流水号
- /// </summary>
- ORDERIDTYPE_TRADE_TRADELOGID = 106,
- /// <summary>
- /// 对冲内部委托单
- /// </summary>
- ORDERIDTYPE_TRADE_HEDGEINNERORDERID = 107,
- /// <summary>
- /// 对冲内部成交单
- /// </summary>
- ORDERIDTYPE_TRADE_HEDGEINNERTRADEID = 108,
- /// <summary>
- /// 源记录ID
- /// </summary>
- ORDERIDTYPE_TRADE_SOURCERECORDID = 109,
- /// <summary>
- /// 受托交易成交单/交易持仓单/交易成交配对
- /// </summary>
- ORDERIDTYPE_TRADE_ENTRUST_TRADEID = 110,
- /// <summary>
- /// 对冲内部撤单ID
- /// </summary>
- ORDERIDTYPE_TRADE_HEDGEINNERCANCELID = 111,
- /// <summary>
- /// 对冲内部平仓ID
- /// </summary>
- ORDERIDTYPE_TRADE_HEDGEINNERCLOSEID = 112,
- /// <summary>
- /// 对冲外部委托单ID
- /// </summary>
- ORDERIDTYPE_TRADE_HEDGEOUTORDERID = 113,
- /// <summary>
- /// 对冲外部成交单ID
- /// </summary>
- ORDERIDTYPE_TRADE_HEDGEOUTTRADEID = 114,
- /// <summary>
- /// 对冲外部撤单ID
- /// </summary>
- ORDERIDTYPE_TRADE_HEDGEOUTCANCEL = 115,
- /// <summary>
- /// 对冲外部成交检查ID
- /// </summary>
- ORDERIDTYPE_RECKON_HEDGEOUTCHECKID = 116,
- /// <summary>
- /// 场外期权对冲流水ID
- /// </summary>
- ORDERIDTYPE_OTCOPTION_HEDGELOGID = 117,
- /// <summary>
- /// 锁仓ID
- /// </summary>
- ORDERIDTYPE_TRADE_CHANNELLOCKID = 118,
- /// <summary>
- /// 认购ID
- /// </summary>
- ORDERIDTYPE_TRADE_CHANNELBUYID = 119,
- /// <summary>
- /// 交割申报单
- /// </summary>
- ORDERIDTYPE_TRADE_DELIVERYORDERID = 120,
- /// <summary>
- /// 交割单
- /// </summary>
- ORDERIDTYPE_TRADE_DELIVERYID = 121,
- /// <summary>
- /// 提单ID
- /// </summary>
- ORDERIDTYPE_WR_TAKEORDERID = 122,
- /// <summary>
- /// 配送单ID
- /// </summary>
- ORDERIDTYPE_WR_DISTRIBUTEORDERID = 123,
- /// <summary>
- /// 履约计划
- /// </summary>
- ORDERIDTYPE_TRADE_PERFORMANCEPLANID = 130,
- /// <summary>
- /// 履约计划步骤
- /// </summary>
- ORDERIDTYPE_TRADE_PERFORMANCESTEPID = 131,
- /// <summary>
- /// 履约违约申请ID
- /// </summary>
- ORDERIDTYPE_TRADE_PERFORMANCEBREACHAPPLYID = 132,
- /// <summary>
- /// 履约交易日志流水号
- /// </summary>
- ORDERIDTYPE_PERFORMANCE_TRADELOGID = 133,
- /// <summary>
- /// 实时行情流水
- /// </summary>
- ORDERIDTYPE_TRADE_REALQUOTESERIALID = 140,
- /// <summary>
- /// 账户请求消息流水ID
- /// </summary>
- ORDERIDTYPE_ACCOUNTREQ_FLOWID = 141,
- /// <summary>
- /// 预售集采挂牌ID
- /// </summary>
- ORDERIDTYPE_PRESALE_LISTINGID = 150,
- /// <summary>
- /// 预售集采委托ID
- /// </summary>
- ORDERIDTYPE_PRESALE_ORDERID = 151,
- /// <summary>
- /// 预售集采成交ID
- /// </summary>
- ORDERIDTYPE_PRESALE_TRADEID = 152,
- /// <summary>
- /// 招投标中标ID
- /// </summary>
- ORDERIDTYPE_TENDER_WINID = 160,
- /// <summary>
- /// 持仓头寸变动日照表流水ID
- /// </summary>
- ORDERIDTYPE_RECKONDAY_MOTIFY_POSITION_FLOWID = 171,
- /// <summary>
- /// 仓单头寸变动日照表流水ID
- /// </summary>
- ORDERIDTYPE_RECKONDAY_MOTIFY_WRPOSITION_FLOWID = 172,
- /// <summary>
- /// 订单仓单头寸变动日照表流水ID
- /// </summary>
- ORDERIDTYPE_RECKONDAY_MOTIFY_TWRPOSITION_FLOWID = 173,
- /// <summary>
- /// 积分头寸变动日照表流水ID
- /// </summary>
- ORDERIDTYPE_RECKONDAY_MOTIFY_SCOREPOSITION_FLOWID = 174,
- /// <summary>
- /// 机构分润日统计明细表流水ID
- /// </summary>
- ORDERIDTYPE_DAYSTATIS_AREA_SHAREPROFIT_DETAIL_FLOWID = 175,
- /// <summary>
- /// 资金处理表流水ID
- /// </summary>
- ORDERIDTYPE_MONEY_PROCESS_FLOWID = 176,
- /// <summary>
- /// 仓单
- /// </summary>
- ORDERIDTYPE_WR_WRID = 200,
- /// <summary>
- /// 仓单头寸
- /// </summary>
- ORDERIDTYPE_WR_WRPOSITIONID = 201,
- /// <summary>
- /// 仓单头寸流水
- /// </summary>
- ORDERIDTYPE_WR_WRPOSITIONFLOWID = 202,
- /// <summary>
- /// 仓单流水
- /// </summary>
- ORDERIDTYPE_WR_WRFLOWID = 203,
- /// <summary>
- /// 库位流水
- /// </summary>
- ORDERIDTYPE_WR_LOCATIONFLOWID = 204,
- /// <summary>
- /// 仓单转用途
- /// </summary>
- ORDERIDTYPE_WR_WRREQUESTID = 205,
- /// <summary>
- /// 订单仓单头寸
- /// </summary>
- ORDERIDTYPE_WR_TRADEWRPOSITIONID = 206,
- /// <summary>
- /// 订单仓单头寸流水
- /// </summary>
- ORDERIDTYPE_WR_TRADEWRPOSITIONFLOWID = 207,
- /// <summary>
- /// 提单ID
- /// </summary>
- ORDERIDTYPE_WR_LADINGBILLID = 208,
- /// <summary>
- /// 库位ID
- /// </summary>
- ORDERIDTYPE_WR_LOCATIONID = 209,
- /// <summary>
- /// 积分ID
- /// </summary>
- ORDERIDTYPE_SCOREID = 210,
- /// <summary>
- /// 积分流水
- /// </summary>
- ORDERIDTYPE_SCOREFLOWID = 211,
- /// <summary>
- /// 仓单要素类型ID
- /// </summary>
- ORDERIDTYPE_FACTORTYPEID = 212,
- /// <summary>
- /// 资金流水
- /// </summary>
- ORDERIDTYPE_AMOUNTFLOWID = 220,
- /// <summary>
- /// 头寸流水
- /// </summary>
- ORDERIDTYPE_POSITIONFLOWID = 221,
- /// <summary>
- /// 仓单持仓单ID
- /// </summary>
- ORDERIDTYPE_WR_HOLDDETAILID = 222,
- /// <summary>
- /// 商城成交单
- /// </summary>
- ORDERIDTYPE_MALL_TRADEID = 300,
- /// <summary>
- /// SCF合同ID
- /// </summary>
- ORDERIDTYPE_SUPPLYCHAIN_TRADEID = 310,
- /// <summary>
- /// SCF业务消息日志ID
- /// </summary>
- ORDERIDTYPE_SCF_EXCHTICKET = 311,
- /// <summary>
- /// SCF仓单回购明细ID
- /// </summary>
- ORDERIDTYPE_SCF_WRBUYBACKID = 312,
- /// <summary>
- /// SCF合同计息ID
- /// </summary>
- ORDERIDTYPE_SCF_INTERESTID = 313,
- /// <summary>
- /// 仓单贸易委托单ID
- /// </summary>
- ORDERIDTYPE_WRTRADE_ORDERID = 320,
- /// <summary>
- /// 仓单贸易成交单ID
- /// </summary>
- ORDERIDTYPE_WRTRADE_TRADEID = 321,
- /// <summary>
- /// 仓单贸易撤单ID
- /// </summary>
- ORDERIDTYPE_WRTRADE_CANCELORDERID = 322,
- /// <summary>
- /// 竞拍申请单ID
- /// </summary>
- ORDERIDTYPE_AUCTION_APPLYID = 323,
- /// <summary>
- /// 竞拍委托单ID
- /// </summary>
- ORDERIDTYPE_AUCTION_ORDERID = 324,
- /// <summary>
- /// 竞拍报价流水单ID
- /// </summary>
- ORDERIDTYPE_AUCTION_QUOTEID = 325,
- /// <summary>
- /// 竞拍成交单ID
- /// </summary>
- ORDERIDTYPE_AUCTION_TRADEID = 326,
- /// <summary>
- /// 竞拍金点拍拍得者奖成交单ID
- /// </summary>
- ORDERIDTYPE_AUCTION_JDP_PDZ_TRADEID = 327,
- /// <summary>
- /// 仓单贸易合同ID
- /// </summary>
- ORDERIDTYPE_WRTRADE_TRADECONTRACT = 328,
- /// <summary>
- /// 银行交易流水
- /// </summary>
- ORDERIDTYPE_BANK_EXCHTICKETID = 400,
- /// <summary>
- /// 银行发消息到清算中心ID
- /// </summary>
- ORDERIDTYPE_BANK_SEND_TO_CENTER_ID = 401,
- /// <summary>
- /// 银行发消息到交易系统ID
- /// </summary>
- ORDERIDTYPE_BANK_SEND_TO_INNER_ID = 402,
- /// <summary>
- /// 扩展策略ID
- /// </summary>
- ORDERIDTYPE_MS_MARKETINGSTRATEGYID = 500,
- /// <summary>
- /// 扩展服务账户商品成交流水ID
- /// </summary>
- ORDERIDTYPE_MS_GOODSTRADELOGID = 501,
- /// <summary>
- /// 主动申报的扩展发货单ID
- /// </summary>
- ORDERIDTYPE_MS_ACTIVE_SHIPID = 502,
- /// <summary>
- /// 强制发货的扩展发货单ID
- /// </summary>
- ORDERIDTYPE_MS_PASSIVE_SHIPID = 503,
- /// <summary>
- /// 扩展发货单明细ID
- /// </summary>
- ORDERIDTYPE_MS_DETAIL_SHIPID = 504,
- /// <summary>
- /// 扩展发货单分润明细ID
- /// </summary>
- ORDERIDTYPE_MS_DIVIDE_DETAIL_SHIPID = 505,
- /// <summary>
- /// 扩展流水ID
- /// </summary>
- ORDERIDTYPE_MS_EXCHTICKETID = 506,
- /// <summary>
- /// 扩展券转积分明细ID
- /// </summary>
- ORDERIDTYPE_MS_DETAILID = 508,
- /// <summary>
- /// 扩展分润明细ID
- /// </summary>
- ORDERIDTYPE_MS_INVOICEDIVIDEID = 509,
- /// <summary>
- /// 扩展配送费明细ID
- /// </summary>
- ORDERIDTYPE_MS_EXPRESSFEEDETAILID = 510,
- /// <summary>
- /// 内存数据库SQL日志流水ID
- /// </summary>
- ORDERIDTYPE_MEMDB_SQLLOG_SERIALID = 600,
- /// <summary>
- /// 交易服务日志流水ID
- /// </summary>
- ORDERIDTYPE_TRADE_LOGID = 901,
- /// <summary>
- /// 提货单号ID
- /// </summary>
- ORDERIDTYPE_TRADE_TAKE_ORDERID = 905,
- /// <summary>
- /// 下单接口平台账户ID
- /// </summary>
- ORDERIDTYPE_MHP_ACCOUNTID = 1,
- /// <summary>
- /// 下单接口平台委托单ID
- /// </summary>
- ORDERIDTYPE_MHP_ORDERID = 2,
- /// <summary>
- /// 下单接口平台成交ID
- /// </summary>
- ORDERIDTYPE_MHP_MHPTRADEID = 3,
- /// <summary>
- /// 下单接口平台撤单ID
- /// </summary>
- ORDERIDTYPE_MHP_CANCELTRADEID = 4,
- /// <summary>
- /// 下单接口平台交易日志ID
- /// </summary>
- ORDERIDTYPE_MHP_TRADELOGID = 5
- }
- /// <summary>
- // 商品交易权限类型
- /// </summary>
- public enum eGoodsTradeType {
- /// <summary>
- /// 可建可平
- /// </summary>
- GOODSTRADETYPE_OPENANDCLOSE = 1,
- /// <summary>
- /// 可建不可平
- /// </summary>
- GOODSTRADETYPE_OPENONLY = 2,
- /// <summary>
- /// 不可建可平
- /// </summary>
- GOODSTRADETYPE_CLOSEONLY = 3,
- /// <summary>
- /// 不可建不可平
- /// </summary>
- GOODSTRADETYPE_NONE = 4
- }
- /// <summary>
- // 挂牌点选类型
- /// </summary>
- public enum eListingSelectType {
- /// <summary>
- /// 挂牌
- /// </summary>
- LISTINGSELECTTYPE_LISTING = 1,
- /// <summary>
- /// 摘牌
- /// </summary>
- LISTINGSELECTTYPE_DELISTING = 2,
- /// <summary>
- /// 先摘后挂
- /// </summary>
- LISTINGSELECTTYPE_DELISTINGTHENLISTING = 3
- }
- /// <summary>
- // 摘牌类型
- /// </summary>
- public enum eDelistingType {
- /// <summary>
- /// 价格最优
- /// </summary>
- DELISTINGTYPE_PRICE = 1,
- /// <summary>
- /// 点选成交
- /// </summary>
- DELISTINGTYPE_SELECTED = 2
- }
- /// <summary>
- // 保证金公式
- /// </summary>
- public enum eMarginFormula {
- /// <summary>
- /// 双边收
- /// </summary>
- MARGINFORMULA_BOTH = 1,
- /// <summary>
- /// 净头寸收
- /// </summary>
- MARGINFORMULA_NETPOSITION = 2,
- /// <summary>
- /// 大小边差异收
- /// </summary>
- MARGINFORMULA_DIFF = 3,
- /// <summary>
- /// 大边收
- /// </summary>
- MARGINFORMULA_LARGE = 4,
- /// <summary>
- /// 卖持仓收
- /// </summary>
- MARGINFORMULA_SELL = 5
- }
- /// <summary>
- // 交割价格方式
- /// </summary>
- public enum eDeliveryPriceMode {
- /// <summary>
- /// 商品价
- /// </summary>
- DELIVERYPRICEMODE_GOODS = 1,
- /// <summary>
- /// 固定值
- /// </summary>
- DELIVERYPRICEMODE_FIXEDVALUE = 2
- }
- /// <summary>
- // 结算市场类型
- /// </summary>
- public enum eReckon_MarketType {
- /// <summary>
- /// 交易结算
- /// </summary>
- RECKON_MARKETTYPE_TRADE = 1,
- /// <summary>
- /// 交割结算
- /// </summary>
- RECKON_MARKETTYPE_DELIVERY = 2,
- /// <summary>
- /// 资金结算
- /// </summary>
- RECKON_MARKETTYPE_ACCOUNT = 3
- }
- /// <summary>
- // 履约步骤类型
- /// </summary>
- public enum ePerformance_StepType {
- /// <summary>
- /// 买方支付
- /// </summary>
- PERFORMANCE_STEPTYPE_BUYER_PAYMENT = 1,
- /// <summary>
- /// 卖方收款
- /// </summary>
- PERFORMANCE_STEPTYPE_SELLER_RECEIVE = 2,
- /// <summary>
- /// 买方自提
- /// </summary>
- PERFORMANCE_STEPTYPE_BUYER_PICKUP = 3,
- /// <summary>
- /// 卖方发货
- /// </summary>
- PERFORMANCE_STEPTYPE_SELLER_SENDGOODS = 4,
- /// <summary>
- /// 买方确认货
- /// </summary>
- PERFORMANCE_STEPTYPE_BUYER_CONFIRMGOODS = 5,
- /// <summary>
- /// 卖方发票
- /// </summary>
- PERFORMANCE_STEPTYPE_SELLER_SENDINVOICE = 6,
- /// <summary>
- /// 买方确认票
- /// </summary>
- PERFORMANCE_STEPTYPE_BUYER_CONFIRMINVOICE = 7,
- /// <summary>
- /// 仓单转移
- /// </summary>
- PERFORMANCE_STEPTYPE_WRMOVE = 8,
- /// <summary>
- /// 释放卖方履约前剩余保证金
- /// </summary>
- PERFORMANCE_STEPTYPE_SELLER_UNFREEZE = 9,
- /// <summary>
- /// 溢短
- /// </summary>
- PERFORMANCE_STEPTYPE_OVER_SHORT = 10,
- /// <summary>
- /// 生成合同
- /// </summary>
- PERFORMANCE_STEPTYPE_BUILD_AGREEMENT = 11,
- /// <summary>
- /// 运费
- /// </summary>
- PERFORMANCE_STEPTYPE_BUILD_EXPRESSFEE = 12,
- /// <summary>
- /// 确认付款(买方)
- /// </summary>
- PERFORMANCE_STEPTYPE_COINC2C_CONFIRM_PAYMENT = 90,
- /// <summary>
- /// 确认放行(卖方)
- /// </summary>
- PERFORMANCE_STEPTYPE_COINC2C_CONFIRM_PASS = 91,
- /// <summary>
- /// 买方支付(直接扣款)
- /// </summary>
- PERFORMANCE_STEPTYPE_BUYER_PAYMENT_NOW = 92
- }
- /// <summary>
- // 履约步骤是否可自动确认
- /// </summary>
- public enum ePerformance_CanAuto {
- /// <summary>
- /// 不可自动确认
- /// </summary>
- PERFORMANCE_CANAUTO_NO = 0,
- /// <summary>
- /// 可自动确认
- /// </summary>
- PERFORMANCE_CANAUTO_YES = 1
- }
- /// <summary>
- // 履约支付方式
- /// </summary>
- public enum ePerformance_PaymentType {
- /// <summary>
- /// 冻结
- /// </summary>
- PERFORMANCE_PAYMENTTYPE_FREEZE = 1,
- /// <summary>
- /// 扣款
- /// </summary>
- PERFORMANCE_PAYMENTTYPE_DEDUCT = 2
- }
- /// <summary>
- // 履约步骤是否自动
- /// </summary>
- public enum ePerformance_IsAuto {
- /// <summary>
- /// 不自动
- /// </summary>
- PERFORMANCE_ISAUTO_NO = 0,
- /// <summary>
- /// 自动
- /// </summary>
- PERFORMANCE_ISAUTO_YES = 1
- }
- /// <summary>
- // 是否最后收款步骤
- /// </summary>
- public enum ePerformance_IsLastReceiveStep {
- /// <summary>
- /// 不是
- /// </summary>
- PERFORMANCE_ISLASTRECEIVESTEP_NO = 0,
- /// <summary>
- /// 是
- /// </summary>
- PERFORMANCE_ISLASTRECEIVESTEP_YES = 1
- }
- /// <summary>
- // 履约仓单划转处理状态
- /// </summary>
- public enum ePerformance_WR_HandleStatus {
- /// <summary>
- /// 未划转
- /// </summary>
- PERFORMANCE_WR_HANDLESTATUS_NOT = 1,
- /// <summary>
- /// 已转移
- /// </summary>
- PERFORMANCE_WR_HANDLESTATUS_TRANSFERRED = 2,
- /// <summary>
- /// 已解冻
- /// </summary>
- PERFORMANCE_WR_HANDLESTATUS_UNFREEZED = 3
- }
- /// <summary>
- // 履约计划状态
- /// </summary>
- public enum ePerformanceStatus {
- /// <summary>
- /// 初始化
- /// </summary>
- PERFORMANCESTATUS_INI = 1,
- /// <summary>
- /// 正常
- /// </summary>
- PERFORMANCESTATUS_NORMAL = 2,
- /// <summary>
- /// 处理错误
- /// </summary>
- PERFORMANCESTATUS_ERROR = 3,
- /// <summary>
- /// 违约待确认
- /// </summary>
- PERFORMANCESTATUS_BREACHING = 4,
- /// <summary>
- /// 违约
- /// </summary>
- PERFORMANCESTATUS_BREACHED = 5,
- /// <summary>
- /// 完成
- /// </summary>
- PERFORMANCESTATUS_FINISHED = 6,
- /// <summary>
- /// 违约已完成
- /// </summary>
- PERFORMANCESTATUS_BREACHE_FINISHED = 7,
- /// <summary>
- /// 释放冻结失败
- /// </summary>
- PERFORMANCESTATUS_UNFREEZE_FAIL = 8,
- /// <summary>
- /// 超时待处理
- /// </summary>
- PERFORMANCESTATUS_TIMEOUT_WAIT = 9,
- /// <summary>
- /// 超时关闭
- /// </summary>
- PERFORMANCESTATUS_TIMEOUT_FINISHED = 10
- }
- /// <summary>
- // 履约步骤状态
- /// </summary>
- public enum ePerformance_StepStatus {
- /// <summary>
- /// 待开始
- /// </summary>
- PERFORMANCE_STEPSTATUS_PENDING = 1,
- /// <summary>
- /// 进行中
- /// </summary>
- PERFORMANCE_STEPSTATUS_EXECUTING = 2,
- /// <summary>
- /// 已完成
- /// </summary>
- PERFORMANCE_STEPSTATUS_FINISHED = 3,
- /// <summary>
- /// 延期(进行中)
- /// </summary>
- PERFORMANCE_STEPSTATUS_EXECUTING_DELAY = 4,
- /// <summary>
- /// 失败
- /// </summary>
- PERFORMANCE_STEPSTATUS_FAILED = 5,
- /// <summary>
- /// 自动完成
- /// </summary>
- PERFORMANCE_STEPSTATUS_FINISHED_AUTO = 6,
- /// <summary>
- /// 超时关闭
- /// </summary>
- PERFORMANCE_STEPSTATUS_FINISHED_TIMEOUT = 7
- }
- /// <summary>
- // 履约延期状态
- /// </summary>
- public enum ePerformance_DelayStatus {
- /// <summary>
- /// 待审核
- /// </summary>
- PERFORMANCE_DELAYSTATUS_PENDING = 1,
- /// <summary>
- /// 审核通过
- /// </summary>
- PERFORMANCE_DELAYSTATUS_PASS = 2,
- /// <summary>
- /// 审核拒绝
- /// </summary>
- PERFORMANCE_DELAYSTATUS_REJECT = 3,
- /// <summary>
- /// 已撤销
- /// </summary>
- PERFORMANCE_DELAYSTATUS_CANCELLED = 4,
- /// <summary>
- /// 系统撤销
- /// </summary>
- PERFORMANCE_DELAYSTATUS_CANCELLEDBYSYS = 5
- }
- /// <summary>
- // 违约类型
- /// </summary>
- public enum eBreachType {
- /// <summary>
- /// 买方
- /// </summary>
- BREACHTYPE_BUY = 1,
- /// <summary>
- /// 卖方
- /// </summary>
- BREACHTYPE_SELL = 2
- }
- /// <summary>
- // 违约状态
- /// </summary>
- public enum eBreachStatus {
- /// <summary>
- /// 待审核
- /// </summary>
- BREACHSTATUS_PENDING = 1,
- /// <summary>
- /// 审核通过
- /// </summary>
- BREACHSTATUS_PASS = 2,
- /// <summary>
- /// 审核拒绝
- /// </summary>
- BREACHSTATUS_REJECT = 3,
- /// <summary>
- /// 已完成
- /// </summary>
- BREACHSTATUS_FINISHED = 4
- }
- /// <summary>
- // 履约日志类型
- /// </summary>
- public enum ePerformance_LogType {
- /// <summary>
- /// 执行履约步骤
- /// </summary>
- PERFORMANCE_LOGTYPE_EXECUTING = 1,
- /// <summary>
- /// 完成履约步骤
- /// </summary>
- PERFORMANCE_LOGTYPE_FINISHED = 2,
- /// <summary>
- /// 申请延期
- /// </summary>
- PERFORMANCE_LOGTYPE_DELAYAPPLY = 3,
- /// <summary>
- /// 延期确认
- /// </summary>
- PERFORMANCE_LOGTYPE_DELAYPASS = 4,
- /// <summary>
- /// 延期拒绝
- /// </summary>
- PERFORMANCE_LOGTYPE_DELAYREJECT = 5,
- /// <summary>
- /// 申请违约
- /// </summary>
- PERFORMANCE_LOGTYPE_BREACHAPPLY = 6,
- /// <summary>
- /// 违约确认
- /// </summary>
- PERFORMANCE_LOGTYPE_BREACHPASS = 7,
- /// <summary>
- /// 违约拒绝
- /// </summary>
- PERFORMANCE_LOGTYPE_BREACHREJECT = 8
- }
- /// <summary>
- // 履约步骤启动类型
- /// </summary>
- public enum ePerformance_StepLanchType {
- /// <summary>
- /// 系统自动
- /// </summary>
- PERFORMANCE_STEPLANCHTYPE_SYSTEM = 1,
- /// <summary>
- /// 手动
- /// </summary>
- PERFORMANCE_STEPLANCHTYPE_MANUAL = 2
- }
- /// <summary>
- // 履约步骤执行方
- /// </summary>
- public enum ePerformance_ExecuteSide {
- /// <summary>
- /// 买方
- /// </summary>
- PERFORMANCE_EXECUTESIDE_BUYER = 1,
- /// <summary>
- /// 卖方
- /// </summary>
- PERFORMANCE_EXECUTESIDE_SELLER = 2
- }
- /// <summary>
- // 履约类型
- /// </summary>
- public enum ePerformanceType {
- /// <summary>
- /// 交割
- /// </summary>
- PERFORMANCETYPE_DELIVERY = 1,
- /// <summary>
- /// 仓单贸易
- /// </summary>
- PERFORMANCETYPE_WRTRADE = 2,
- /// <summary>
- /// 预售采集
- /// </summary>
- PERFORMANCETYPE_PRESALE = 3,
- /// <summary>
- /// 竞拍-降价式 (无仓单)
- /// </summary>
- PERFORMANCETYPE_AUCTIONCUT = 4,
- /// <summary>
- /// 挂牌期权 (无仓单)
- /// </summary>
- PERFORMANCETYPE_LISTINGOPTION = 5,
- /// <summary>
- /// 竞拍-降价式
- /// </summary>
- PERFORMANCETYPE_AUCTIONLOWER = 6,
- /// <summary>
- /// 竞拍-竞价式
- /// </summary>
- PERFORMANCETYPE_AUCTIONUPPER = 7,
- /// <summary>
- /// 竞拍-大宗式
- /// </summary>
- PERFORMANCETYPE_AUCTIONBULK = 8,
- /// <summary>
- /// 竞拍-荷兰式
- /// </summary>
- PERFORMANCETYPE_AUCTIODUTCH = 9,
- /// <summary>
- /// 法币C2C
- /// </summary>
- PERFORMANCETYPE_COINC2C = 10,
- /// <summary>
- /// 报价系统
- /// </summary>
- PERFORMANCETYPE_SPOTQUOTE = 11,
- /// <summary>
- /// 挂牌系统
- /// </summary>
- PERFORMANCETYPE_SPOTLISTING = 12
- }
- /// <summary>
- // 用户操作变更类型
- /// </summary>
- public enum eUserOperateType {
- /// <summary>
- /// 新增用户
- /// </summary>
- USER_OPERATE_ADD = 0,
- /// <summary>
- /// 删除用户
- /// </summary>
- USER_OPERATE_DEL = 1,
- /// <summary>
- /// 修改用户
- /// </summary>
- USER_OPERATE_UPDATE = 2,
- /// <summary>
- /// 修改用户个性化
- /// </summary>
- USER_OPERATE_UPDATE_PERSONAL = 3
- }
- /// <summary>
- // 账户操作变更类型
- /// </summary>
- public enum eAccountOperateType {
- /// <summary>
- /// 新增帐号
- /// </summary>
- ACCOUNT_OPERATE_ADD = 0,
- /// <summary>
- /// 删除帐号
- /// </summary>
- ACCOUNT_OPERATE_DEL = 1,
- /// <summary>
- /// 修改帐号
- /// </summary>
- ACCOUNT_OPERATE_UPDATE = 2,
- /// <summary>
- /// 修改帐号个性化
- /// </summary>
- ACCOUNT_OPERATE_UPDATE_PERSONAL = 3,
- /// <summary>
- /// 修改账户权限
- /// </summary>
- ACCOUNT_OPERATE_UPDATE_RIGHT = 4,
- /// <summary>
- /// 删除三方登陆信息
- /// </summary>
- ACCOUNT_OPERATE_DEL_USERAUTHINFO = 5
- }
- /// <summary>
- // 商品操作变更类型
- /// </summary>
- public enum eGoodsOperateType {
- /// <summary>
- /// 新增商品
- /// </summary>
- GOODS_OPERATE_ADD = 0,
- /// <summary>
- /// 删除商品
- /// </summary>
- GOODS_OPERATE_DEL = 1,
- /// <summary>
- /// 修改商品
- /// </summary>
- GOODS_OPERATE_UPDATE = 2
- }
- /// <summary>
- // 消息通知模式
- /// </summary>
- public enum eNotifyMode {
- /// <summary>
- /// 单播
- /// </summary>
- NOTIFY_UNICAST = 0,
- /// <summary>
- /// 组播
- /// </summary>
- NOTIFY_MULTICAST = 1,
- /// <summary>
- /// 广播
- /// </summary>
- NOTIFY_BROADCAST = 2
- }
- /// <summary>
- // 公告消息类型
- /// </summary>
- public enum eBltMsgType {
- /// <summary>
- /// 公告类
- /// </summary>
- BM_TYPE_BULLETIN = 1,
- /// <summary>
- /// 重要通知类
- /// </summary>
- BM_TYPE_NTF = 2
- }
- /// <summary>
- // 风控通知类型
- /// </summary>
- public enum eeRisk_Ntf_Type {
- /// <summary>
- /// 投资者风控通知
- /// </summary>
- RISK_NTF_TYPE_INVESTOR = 0,
- /// <summary>
- /// 会员风控通知
- /// </summary>
- RISK_NTF_TYPE_MEMBER = 1
- }
- /// <summary>
- // 用户令牌状态
- /// </summary>
- public enum eTokenStatus {
- /// <summary>
- /// 令牌有效
- /// </summary>
- TOKEN_STATUS_UNEXPIRED = 1,
- /// <summary>
- /// 令牌过期
- /// </summary>
- TOKEN_STATUS_EXPIRED = 2,
- /// <summary>
- /// 令牌已被更新
- /// </summary>
- TOKEN_STATUS_UPDATED = 3
- }
- /// <summary>
- // 终端类型
- /// </summary>
- public enum eTerminalType {
- /// <summary>
- /// 交易端
- /// </summary>
- TRADECLIENT = 0,
- /// <summary>
- /// 管理端
- /// </summary>
- MANAGECLIENT = 1,
- /// <summary>
- /// 运维端
- /// </summary>
- MAINTAINCLIENT = 2
- }
- /// <summary>
- // 登陆操作类型
- /// </summary>
- public enum eLoginOperatorType {
- /// <summary>
- /// 人工操作
- /// </summary>
- MANUAL_OPER = 1,
- /// <summary>
- /// 系统操作
- /// </summary>
- SYSTEM_OPER = 2
- }
- /// <summary>
- // 数据库中定义的版本类型
- /// </summary>
- public enum eDBVersionType {
- /// <summary>
- /// 产品版本
- /// </summary>
- DBVERSIONTYPE_PRODUCT = 1,
- /// <summary>
- /// 数据库sql版本
- /// </summary>
- DBVERSIONTYPE_DB = 2,
- /// <summary>
- /// 常量版本
- /// </summary>
- DBVERSIONTYPE_CONST = 3,
- /// <summary>
- /// 错误码版本
- /// </summary>
- DBVERSIONTYPE_ERRORCODE = 4
- }
- /// <summary>
- // 资金查询位掩码
- /// </summary>
- public enum eMoneyQueryBitMask {
- /// <summary>
- /// 查询可用保证金
- /// </summary>
- MONEYQUERY_AVAILABLE_MARGIN = 1,
- /// <summary>
- /// 查询可出资金
- /// </summary>
- MONEYQUERY_AVAILABLE_OUTMONEY = 2
- }
- /// <summary>
- // 修改密码类型
- /// </summary>
- public enum eModifyPwdType {
- /// <summary>
- /// 修改登录ID密码
- /// </summary>
- MODIFYPWDTYPE_LOGINID = 1,
- /// <summary>
- /// 修改资金账户ID密码
- /// </summary>
- MODIFYPWDTYPE_ACCOUNTID = 2
- }
- /// <summary>
- // MTP服务
- /// </summary>
- public enum eMTPServer {
- /// <summary>
- /// 接入
- /// </summary>
- SERVER_ACCESS = 1,
- /// <summary>
- /// 前置
- /// </summary>
- SERVER_BUSPROXY = 2,
- /// <summary>
- /// 登录
- /// </summary>
- SERVER_LOGIN = 3,
- /// <summary>
- /// 账户
- /// </summary>
- SERVER_ACCOUNT = 4,
- /// <summary>
- /// 风控
- /// </summary>
- SERVER_RISK = 5,
- /// <summary>
- /// 交易
- /// </summary>
- SERVER_TRADE = 6,
- /// <summary>
- /// 控制
- /// </summary>
- SERVER_CTRL = 7,
- /// <summary>
- /// 交割
- /// </summary>
- SERVER_DELIVERY = 8,
- /// <summary>
- /// 履约
- /// </summary>
- SERVER_PERFORMANCE = 10,
- /// <summary>
- /// 银行
- /// </summary>
- SERVER_BANK = 11,
- /// <summary>
- /// 行情报价
- /// </summary>
- SERVER_QUOTE = 12,
- /// <summary>
- /// 仓单
- /// </summary>
- SERVER_WR = 21,
- /// <summary>
- /// 外部账户
- /// </summary>
- SERVER_EX_ACCOUNT = 22,
- /// <summary>
- /// 对冲平台
- /// </summary>
- SERVER_HEDGE = 23
- }
- /// <summary>
- // 履约结算节点ID
- /// </summary>
- public enum ePerformanceReckonNodeID {
- /// <summary>
- /// 履约服务履约结算节点ID
- /// </summary>
- PERFORMANCERECKNODEID_PERFORMANC = 1,
- /// <summary>
- /// 履约服务违约结算节点ID
- /// </summary>
- PERFORMANCERECKNODEID_CONTRACTED = 2,
- /// <summary>
- /// 履约服务统计结算节点ID
- /// </summary>
- PERFORMANCERECKNODEID_STATISTICS = 3
- }
- /// <summary>
- // 特殊市场ID
- /// </summary>
- public enum eSpeicalMarketID {
- /// <summary>
- /// 系统
- /// </summary>
- SPEICAL_MARKET_SYSTEM = 0,
- /// <summary>
- /// 交割
- /// </summary>
- SPEICAL_MARKET_DELIVERY = 1,
- /// <summary>
- /// 账户
- /// </summary>
- SPEICAL_MARKET_ACCOUNT = 2,
- /// <summary>
- /// 履约
- /// </summary>
- SPEICAL_MARKET_PERFORMANCE = 3,
- /// <summary>
- /// 仓单
- /// </summary>
- SPEICAL_MARKET_WR = 4,
- /// <summary>
- /// 积分
- /// </summary>
- SPEICAL_MARKET_SCORE = 5,
- /// <summary>
- /// 银行
- /// </summary>
- SPEICAL_MARKET_BANK = 6,
- /// <summary>
- /// 供应链金融
- /// </summary>
- SPEICAL_MARKET_SCF = 7,
- /// <summary>
- /// 报表
- /// </summary>
- SPEICAL_MARKET_REPORT = 8,
- /// <summary>
- /// 扩展
- /// </summary>
- SPEICAL_MARKET_MARKETING = 9,
- /// <summary>
- /// 自动报价
- /// </summary>
- SPEICAL_MARKET_AUTOQUOTE = 10,
- /// <summary>
- /// 商城
- /// </summary>
- SPEICAL_MARKET_MALL = 11,
- /// <summary>
- /// 外盘账户
- /// </summary>
- SPEICAL_MARKET_OUTERACCOUNT = 12,
- /// <summary>
- /// 非交易日银行测试服务
- /// </summary>
- SPEICAL_MARKET_UNTRADE_TEST_BANK = 13,
- /// <summary>
- /// 银行服务(清算)
- /// </summary>
- SPEICAL_MARKET_BANK_SETTLE = 14,
- /// <summary>
- /// 结算服务
- /// </summary>
- SPEICAL_MARKET_RECKON = 15,
- /// <summary>
- /// 统计服务
- /// </summary>
- SPEICAL_MARKET_SUM = 16,
- /// <summary>
- /// 行情接入
- /// </summary>
- SPEICAL_MARKET_QUOTE_SOURCE = 100,
- /// <summary>
- /// 行情处理
- /// </summary>
- SPEICAL_MARKET_QUOTE_PRICE = 101,
- /// <summary>
- /// 行情发布
- /// </summary>
- SPEICAL_MARKET_QUOTE_PUBLISH = 102,
- /// <summary>
- /// 积分-尚志金点拍
- /// </summary>
- SPEICAL_MARKET_SCORE_SZ_JDP = 200
- }
- /// <summary>
- // 库位操作类别
- /// </summary>
- public enum eWarehouseSiteKinds {
- /// <summary>
- /// 冻结
- /// </summary>
- WAREHOUSE_FROZEN = 1,
- /// <summary>
- /// 履约冻结
- /// </summary>
- WAREHOUSE_PERFORMANCE_FROZEN = 2,
- /// <summary>
- /// 解冻
- /// </summary>
- WAREHOUSE_UNFROZEN = 3,
- /// <summary>
- /// 履约解冻
- /// </summary>
- WAREHOUSE_PERFORMANCE_UNFROZEN = 4
- }
- /// <summary>
- // 仓单生成头寸类别
- /// </summary>
- public enum eSplitSrcPosType {
- /// <summary>
- /// 订单头寸(交割)
- /// </summary>
- SPLIT_SRC_HOLD_POS = 1,
- /// <summary>
- /// 仓单头寸(仓单贸易)
- /// </summary>
- SPLIT_SRC_RECEIPT_POS = 2,
- /// <summary>
- /// 竞拍头寸(竞拍服务)
- /// </summary>
- SPLIT_SRC_AUCTION_POS = 3
- }
- /// <summary>
- // 供应链金融合同类型
- /// </summary>
- public enum eSCFContractType {
- /// <summary>
- /// 仓单回购
- /// </summary>
- SCF_CONTRACT_TYPE_WRR = 1,
- /// <summary>
- /// 仓单质押
- /// </summary>
- SCF_CONTRACT_TYPE_WRM = 2,
- /// <summary>
- /// 合作套保
- /// </summary>
- SCF_CONTRACT_TYPE_CH = 3,
- /// <summary>
- /// 资金贷款
- /// </summary>
- SCF_CONTRACT_TYPE_LOAN = 4
- }
- /// <summary>
- // 供应链金融流程步骤
- /// </summary>
- public enum eSCFProcessStep {
- /// <summary>
- /// 资金划转
- /// </summary>
- SCF_PROCESS_STEP_FUND_TRANSFER = 1,
- /// <summary>
- /// 支付首笔保证金
- /// </summary>
- SCF_PROCESS_STEP_PAY_FIRST_MARGIN = 2,
- /// <summary>
- /// 合同激活
- /// </summary>
- SCF_PROCESS_STEP_CONTRACT_ACTIVE = 3,
- /// <summary>
- /// 手动结息
- /// </summary>
- SCF_PROCESS_STEP_MANUAL_INTEREST = 4,
- /// <summary>
- /// 仓单回购、购回仓单
- /// </summary>
- SCF_PROCESS_STEP_WRR = 5,
- /// <summary>
- /// 支付欠款
- /// </summary>
- SCF_PROCESS_STEP_PAYMENT_ARREAR = 6,
- /// <summary>
- /// 结算
- /// </summary>
- SCF_PROCESS_STEP_SETTLE = 7,
- /// <summary>
- /// 违约确认
- /// </summary>
- SCF_PROCESS_STEP_BERACH_CONFIRM = 8,
- /// <summary>
- /// 违约处理
- /// </summary>
- SCF_PROCESS_STEP_BERACH_HANDLE = 9,
- /// <summary>
- /// 关闭合同
- /// </summary>
- SCF_PROCESS_STEP_CLOSE_CONTRACT = 10,
- /// <summary>
- /// 合同确认
- /// </summary>
- SCF_PROCESS_STEP_CONTRACT_CONFIRM = 11,
- /// <summary>
- /// 确认放款
- /// </summary>
- SCF_PROCESS_STEP_CONFIRM_LOAN = 12,
- /// <summary>
- /// 增加合作方资金
- /// </summary>
- SCF_PROCESS_STEP_ADD_PARTANER_MONEY = 13,
- /// <summary>
- /// 手动还款
- /// </summary>
- SCF_PROCESS_STEP_MANUAL_REPAY = 14,
- /// <summary>
- /// 合同状态修改
- /// </summary>
- SCF_PROCESS_STEP_CONTRACTSTATUSMODIFY = 15
- }
- /// <summary>
- // 供应链金融业务步骤
- /// </summary>
- public enum eSCFProcessSubStep {
- /// <summary>
- /// 收到业务请求
- /// </summary>
- SCF_SUB_STEP_RECV_REQ = 1,
- /// <summary>
- /// 发送业务成功应答
- /// </summary>
- SCF_SUB_STEP_SEND_SUCCESS_RSP = 2,
- /// <summary>
- /// 发送业务失败应答
- /// </summary>
- SCF_SUB_STEP_SEND_FAILED_RSP = 3,
- /// <summary>
- /// 发给账户服务冻结资金请求
- /// </summary>
- SCF_SUB_STEP_SEND_ACC_FREEZE_FUND_REQ = 4,
- /// <summary>
- /// 收到账户服务冻结成功资金应答
- /// </summary>
- SCF_SUB_STEP_RECV_ACC_FREEZE_FUND_SUCCESS_RSP = 5,
- /// <summary>
- /// 收到账户服务冻结失败资金应答
- /// </summary>
- SCF_SUB_STEP_RECV_ACC_FREEZE_FUND_FAILED_RSP = 6,
- /// <summary>
- /// 发给账户服务解冻资金请求
- /// </summary>
- SCF_SUB_STEP_SEND_ACC_UNFREEZE_FUND_REQ = 7,
- /// <summary>
- /// 收到账户服务解冻资金成功应答
- /// </summary>
- SCF_SUB_STEP_RECV_ACC_UNFREEZE_FUND_SUCCESS_RSP = 8,
- /// <summary>
- /// 收到账户服务解冻资金失败应答
- /// </summary>
- SCF_SUB_STEP_RECV_ACC_UNFREEZE_FUND_FAILED_RSP = 9,
- /// <summary>
- /// 发给账户服务解冻扣款请求
- /// </summary>
- SCF_SUB_STEP_SEND_ACC_UNFREEZE_FUND_AND_PAY_REQ = 10,
- /// <summary>
- /// 收到账户服务解冻扣款成功应答
- /// </summary>
- SCF_SUB_STEP_RECV_ACC_UNFREEZE_FUND_AND_PAY_SUCCESS_RSP = 11,
- /// <summary>
- /// 收到账户服务解冻扣款失败应答
- /// </summary>
- SCF_SUB_STEP_RECV_ACC_UNFREEZE_FUND_AND_PAY_FAILED_RSP = 12,
- /// <summary>
- /// 发给账户服务入款请求
- /// </summary>
- SCF_SUB_STEP_SEND_ACC_DEPOSIT_FUND_REQ = 13,
- /// <summary>
- /// 收到账户服务入款成功应答
- /// </summary>
- SCF_SUB_STEP_RECV_ACC_DEPOSIT_FUND_SUCCESS_RSP = 14,
- /// <summary>
- /// 收到账户服务入款失败应答
- /// </summary>
- SCF_SUB_STEP_RECV_ACC_DEPOSIT_FUND_FAILED_RSP = 15,
- /// <summary>
- /// 发给账户服务冻结头寸请求
- /// </summary>
- SCF_SUB_STEP_SEND_ACC_FREEZE_POS_REQ = 16,
- /// <summary>
- /// 收到账户服务冻结头寸成功应答
- /// </summary>
- SCF_SUB_STEP_RECV_ACC_FREEZE_POS_SUCCESS_RSP = 17,
- /// <summary>
- /// 收到账户服务冻结头寸失败应答
- /// </summary>
- SCF_SUB_STEP_RECV_ACC_FREEZE_POS_FAILED_RSP = 18,
- /// <summary>
- /// 发给账户服务解冻头寸请求
- /// </summary>
- SCF_SUB_STEP_SEND_ACC_UNFREEZE_POS_REQ = 19,
- /// <summary>
- /// 收到账户服务解冻头寸成功应答
- /// </summary>
- SCF_SUB_STEP_RECV_ACC_UNFREEZE_POS_SUCCESS_RSP = 20,
- /// <summary>
- /// 收到账户服务解冻头寸失败应答
- /// </summary>
- SCF_SUB_STEP_RECV_ACC_UNFREEZE_POS_FAILED_RSP = 21,
- /// <summary>
- /// 发给账户服务解冻扣减头寸请求
- /// </summary>
- SCF_SUB_STEP_SEND_ACC_UNFREEZE_SUB_POS_REQ = 22,
- /// <summary>
- /// 收到账户服务解冻扣减头寸成功应答
- /// </summary>
- SCF_SUB_STEP_RECV_ACC_UNFREEZE_SUB_POS_SUCCESS_RSP = 23,
- /// <summary>
- /// 收到账户服务解冻扣减头寸失败应答
- /// </summary>
- SCF_SUB_STEP_RECV_ACC_UNFREEZE_SUB_POS_FAILED_RSP = 24,
- /// <summary>
- /// 发给账户服务增加头寸请求
- /// </summary>
- SCF_SUB_STEP_SEND_ACC_ADD_POS_REQ = 25,
- /// <summary>
- /// 收到账户服务增加头寸成功应答
- /// </summary>
- SCF_SUB_STEP_RECV_ACC_ADD_POS_SUCCESS_RSP = 26,
- /// <summary>
- /// 收到账户服务增加头寸失败应答
- /// </summary>
- SCF_SUB_STEP_RECV_ACC_ADD_POS_FAILED_RSP = 27,
- /// <summary>
- /// 发给仓单服务库位操作请求
- /// </summary>
- SCF_SUB_STEP_SEND_WR_SITE_REQ = 28,
- /// <summary>
- /// 收到仓单服务库位操作成功应答
- /// </summary>
- SCF_SUB_STEP_RECV_WR_SITE_SUCCESS_RSP = 29,
- /// <summary>
- /// 收到仓单服务库位操作失败应答
- /// </summary>
- SCF_SUB_STEP_RECV_WR_SITE_FAILED_RSP = 30,
- /// <summary>
- /// 发给仓单服务库位合并请求
- /// </summary>
- SCF_SUB_STEP_SEND_WR_MARGE_REQ = 31,
- /// <summary>
- /// 收到仓单服务库位合并成功应答
- /// </summary>
- SCF_SUB_STEP_RECV_WR_MARGE_SUCCESS_RSP = 32,
- /// <summary>
- /// 收到仓单服务库位合并失败应答
- /// </summary>
- SCF_SUB_STEP_RECV_WR_MARGE_FAILED_RSP = 33,
- /// <summary>
- /// 发给仓单服务仓单转移请求
- /// </summary>
- SCF_SUB_STEP_SEND_WR_MOVE_REQ = 34,
- /// <summary>
- /// 收到仓单服务仓单转移成功应答
- /// </summary>
- SCF_SUB_STEP_RECV_WR_MOVE_SUCCESS_RSP = 35,
- /// <summary>
- /// 收到仓单服务仓单转移失败应答
- /// </summary>
- SCF_SUB_STEP_RECV_WR_MOVE_FAILED_RSP = 36,
- /// <summary>
- /// 发给账户服务最大扣款请求
- /// </summary>
- SCF_SUB_STEP_SEND_ACC_MAX_PAY_REQ = 37,
- /// <summary>
- /// 收到账户服务最大扣款成功应答
- /// </summary>
- SCF_SUB_STEP_SEND_ACC_MAX_PAY_RSP = 38,
- /// <summary>
- /// 发送业务成功通知
- /// </summary>
- SCF_SUB_STEP_SEND_SUCCESS_NOTIFY = 39,
- /// <summary>
- /// 发送业务失败通知
- /// </summary>
- SCF_SUB_STEP_SEND_FAILED_NOTIFY = 40,
- /// <summary>
- /// 结算开始
- /// </summary>
- SCF_SUB_STEP_NODESTATUS_BEGIN = 41,
- /// <summary>
- /// 结算成功
- /// </summary>
- SCF_SUB_STEP_NODESTATUS_SUCCESS = 42,
- /// <summary>
- /// 结算失败
- /// </summary>
- SCF_SUB_STEP_NODESTATUS_FAILED = 43,
- /// <summary>
- /// 发送风控操作请求
- /// </summary>
- SCF_SUB_STEP_SEND_RISK_REQ = 44,
- /// <summary>
- /// 单向贷方合同结算加钱
- /// </summary>
- SCF_SUB_STEP_SINGLE_LENDER_SETTLE_ADD = 45,
- /// <summary>
- /// 单向借方合同结算扣减
- /// </summary>
- SCF_SUB_STEP_SINGLE_BORROWER_SETTLE_DEDUCT = 46
- }
- /// <summary>
- // 供应链金融合同状态
- /// </summary>
- public enum eSCFContractStatus {
- /// <summary>
- /// 新建
- /// </summary>
- SCF_CONTRACTSTATUS_NEW = 1,
- /// <summary>
- /// 已确认
- /// </summary>
- SCF_CONTRACTSTATUS_CONFIRMED = 2,
- /// <summary>
- /// 确认拒绝
- /// </summary>
- SCF_CONTRACTSTATUS_CONFIRMED_REJECTION = 3,
- /// <summary>
- /// 已支付保证金
- /// </summary>
- SCF_CONTRACTSTATUS_PAID_DEPOSIT = 4,
- /// <summary>
- /// 已激活
- /// </summary>
- SCF_CONTRACTSTATUS_ALREADY_ACTIVATED = 5,
- /// <summary>
- /// 已违约
- /// </summary>
- SCF_CONTRACTSTATUS_DEFAULTING = 6,
- /// <summary>
- /// 到期结束
- /// </summary>
- SCF_CONTRACTSTATUS_MATURITY_END = 7,
- /// <summary>
- /// 延期结束
- /// </summary>
- SCF_CONTRACTSTATUS_DEFERRED_END = 8,
- /// <summary>
- /// 违约结束
- /// </summary>
- SCF_CONTRACTSTATUS_DEFAULT_END = 9,
- /// <summary>
- /// 已注销
- /// </summary>
- SCF_CONTRACTSTATUS_LOGOUT = 10,
- /// <summary>
- /// 已关闭
- /// </summary>
- SCF_CONTRACTSTATUS_CLOSE = 11
- }
- /// <summary>
- // 供应链金融结算步骤
- /// </summary>
- public enum eSCFSettleStep {
- /// <summary>
- /// 结算开始
- /// </summary>
- SCFSETTLESTEP_START = 1,
- /// <summary>
- /// 计算风险率
- /// </summary>
- SCFSETTLESTEP_CURRISKRATE = 2,
- /// <summary>
- /// 结算进行中
- /// </summary>
- SCFSETTLESTEP_INPROCESS = 3,
- /// <summary>
- /// 结算成功
- /// </summary>
- SCFSETTLESTEP_SUCCESS = 4,
- /// <summary>
- /// 结算失败
- /// </summary>
- SCFSETTLESTEP_FAILED = 5
- }
- /// <summary>
- // 供应链金融是否自动放款
- /// </summary>
- public enum eSCFIsAutoLoan {
- /// <summary>
- /// 手动
- /// </summary>
- SCF_ISAUTOLOAN_MANUAL = 0,
- /// <summary>
- /// 自动
- /// </summary>
- SCF_ISAUTOLOAN_AUTO = 1
- }
- /// <summary>
- // 供应链金融结息方式
- /// </summary>
- public enum eSCFInterestSettleMode {
- /// <summary>
- /// 按日结息
- /// </summary>
- SCF_INTERESTSETTLEMODE_DAY = 1,
- /// <summary>
- /// 按周结息
- /// </summary>
- SCF_INTERESTSETTLEMODE_WEEK = 2,
- /// <summary>
- /// 按月结息
- /// </summary>
- SCF_INTERESTSETTLEMODE_MONTH = 3
- }
- /// <summary>
- // 供应链金融风控模式
- /// </summary>
- public enum eSCFRiskMode {
- /// <summary>
- /// 比率
- /// </summary>
- SCF_SCFRISKMODE_RATIO = 1,
- /// <summary>
- /// 固定
- /// </summary>
- SCF_SCFRISKMODE_FIXED = 2
- }
- /// <summary>
- // 供应链金融结算资金处理类型
- /// </summary>
- public enum eSCFReckonAmountType {
- /// <summary>
- /// A类
- /// </summary>
- SCF_RECKONAMOUNTTYPE_A = 1,
- /// <summary>
- /// B类
- /// </summary>
- SCF_RECKONAMOUNTTYPE_B = 2,
- /// <summary>
- /// C类
- /// </summary>
- SCF_RECKONAMOUNTTYPE_C = 3,
- /// <summary>
- /// D类
- /// </summary>
- SCF_RECKONAMOUNTTYPE_D = 4
- }
- /// <summary>
- // 供应链金融计息标志
- /// </summary>
- public enum eSCFInterestFlag {
- /// <summary>
- /// 停止计息
- /// </summary>
- SCF_INTERESTFLAG_STOP = 0,
- /// <summary>
- /// 启动计息
- /// </summary>
- SCF_INTERESTFLAG_START = 1
- }
- /// <summary>
- // 供应链金融合同关闭方
- /// </summary>
- public enum eSCFContractCloseRole {
- /// <summary>
- /// 贷款方
- /// </summary>
- SCF_CONTRACTCLOSEROLE_LENDER = 1,
- /// <summary>
- /// 借款方
- /// </summary>
- SCF_CONTRACTCLOSEROLE_BORROWER = 2
- }
- /// <summary>
- // 供应链金融合同处理状态
- /// </summary>
- public enum eSCFHandleStatus {
- /// <summary>
- /// 待处理
- /// </summary>
- SCF_HANDLESTATUS_TREATED = 1,
- /// <summary>
- /// 已处理
- /// </summary>
- SCF_HANDLESTATUS_ALREADY_PROCESSED = 2,
- /// <summary>
- /// 处理失败
- /// </summary>
- SCF_HANDLESTATUS_FAILURE = 3
- }
- /// <summary>
- // 供应链金融结息状态
- /// </summary>
- public enum eSCFCloseInterestStatus {
- /// <summary>
- /// 未结
- /// </summary>
- SCF_CLOSEINTERESTSTATUS_NOT = 1,
- /// <summary>
- /// 已结
- /// </summary>
- SCF_CLOSEINTERESTSTATUS_ALREADY = 2
- }
- /// <summary>
- // 供应链金融违约状态
- /// </summary>
- public enum eSCFBreachStatus {
- /// <summary>
- /// 未完成
- /// </summary>
- SCF_BREACHSTATUS_NOT = 1,
- /// <summary>
- /// 已完成
- /// </summary>
- SCF_BREACHSTATUS_ALREADY = 2
- }
- /// <summary>
- // 供应链金融流水类型
- /// </summary>
- public enum eSCFSCFContractLogType {
- /// <summary>
- /// 合同录入
- /// </summary>
- SCF_SCFCONTRACTLOGTYPE_CONTRACTINPUT = 1,
- /// <summary>
- /// 合同确认
- /// </summary>
- SCF_SCFCONTRACTLOGTYPE_CONFIRM = 2,
- /// <summary>
- /// 合同激活
- /// </summary>
- SCF_SCFCONTRACTLOGTYPE_ACTIVE = 3,
- /// <summary>
- /// 仓单回购
- /// </summary>
- SCF_SCFCONTRACTLOGTYPE_REPURCHASE = 4,
- /// <summary>
- /// 手动支付欠款
- /// </summary>
- SCF_SCFCONTRACTLOGTYPE_MANUAL_PAYMENTARREARS = 5,
- /// <summary>
- /// 自动结息
- /// </summary>
- SCF_SCFCONTRACTLOGTYPE_AUTO_INTERESTSETTLE = 6,
- /// <summary>
- /// 自动追缴保证金
- /// </summary>
- SCF_SCFCONTRACTLOGTYPE_AUTO_RECOVERRISKRATE = 7,
- /// <summary>
- /// 自动到期
- /// </summary>
- SCF_SCFCONTRACTLOGTYPE_AUTO_EXPIRE = 8,
- /// <summary>
- /// 违约处理
- /// </summary>
- SCF_SCFCONTRACTLOGTYPE_BREACH = 9,
- /// <summary>
- /// 手动关闭
- /// </summary>
- SCF_SCFCONTRACTLOGTYPE_MANUAL_CLOSE = 10,
- /// <summary>
- /// 手动结算
- /// </summary>
- SCF_SCFCONTRACTLOGTYPE_MANUAL_SETTLE = 11
- }
- /// <summary>
- // 供应链金融合同方向类型
- /// </summary>
- public enum eSCFContractDirection {
- /// <summary>
- /// 1:双向合同
- /// </summary>
- SCF_CONTRACT_DIRECTION_BOTH = 1,
- /// <summary>
- /// 2:单向贷方合同
- /// </summary>
- SCF_CONTRACT_DIRECTION_SINGLE_LENDER = 2,
- /// <summary>
- /// 3:单向借方合同
- /// </summary>
- SCF_CONTRACT_DIRECTION_SINGLE_BORROWER = 3
- }
- /// <summary>
- // 仓单持仓转换类型
- /// </summary>
- public enum eWRHolderTranslateType {
- /// <summary>
- /// 仓单转持仓
- /// </summary>
- WRHOLDER_TRANSLATETYPE_WRTOHOLDER = 1,
- /// <summary>
- /// 持仓转仓单
- /// </summary>
- WRHOLDER_TRANSLATETYPE_HOLDERTOWR = 2
- }
- /// <summary>
- // 仓单持仓转换解冻标志
- /// </summary>
- public enum eWRHolderTranslateUnfreezeFlag {
- /// <summary>
- /// 需解冻
- /// </summary>
- WRHOLDER_TRANSLATE_UNFREEZEFLAG_TRUE = 1,
- /// <summary>
- /// 不解冻
- /// </summary>
- WRHOLDER_TRANSLATE_UNFREEZEFLAG_FALSE = 2
- }
- /// <summary>
- // 库位提取源
- /// </summary>
- public enum ePickupOrigin {
- /// <summary>
- /// 库位ID
- /// </summary>
- PU_ORIGIN_LOCID = 1,
- /// <summary>
- /// 仓单ID
- /// </summary>
- PU_ORIGIN_WRID = 2,
- /// <summary>
- /// 仓单要素完整数据
- /// </summary>
- PU_ORIGIN_FACTOR = 3,
- /// <summary>
- /// 仓单要素ID
- /// </summary>
- PU_ORIGIN_FACTORID = 4
- }
- /// <summary>
- // 数据转移数据库
- /// </summary>
- public enum eLocationMoveOrigin {
- /// <summary>
- /// 仓单ID
- /// </summary>
- LM_ORIGIN_WRID = 1,
- /// <summary>
- /// 仓单要素及数量
- /// </summary>
- LM_ORIGIN_FACTOR_NUM = 2
- }
- /// <summary>
- // 提货状态对应表TakeDeliveryRequest
- /// </summary>
- public enum eLadingStatus {
- /// <summary>
- /// 待审核
- /// </summary>
- LADING_PENDING = 1,
- /// <summary>
- /// 审核通过
- /// </summary>
- LADING_PASS = 2,
- /// <summary>
- /// 审核拒绝
- /// </summary>
- LADING_REFUSE = 3,
- /// <summary>
- /// 已撤消
- /// </summary>
- LADING_CANCEL = 4,
- /// <summary>
- /// 失败
- /// </summary>
- LADING_FAILED = 5,
- /// <summary>
- /// 提货完成
- /// </summary>
- LADING_OK = 6,
- /// <summary>
- /// 待收货
- /// </summary>
- LADING_WAITING_RECEIVE = 7
- }
- /// <summary>
- // 通道交易消息ID
- /// </summary>
- public enum eMessageID {
- /// <summary>
- /// 登录请求
- /// </summary>
- MID_LOGINREQ = 1,
- /// <summary>
- /// 登录响应
- /// </summary>
- MID_LOGINRSP = 2,
- /// <summary>
- /// 登出请求
- /// </summary>
- MID_LOGOUTREQ = 3,
- /// <summary>
- /// 登出响应
- /// </summary>
- MID_LOGOUTRSP = 4,
- /// <summary>
- /// 查询资金信息请求
- /// </summary>
- MID_QUERYACCOUNTMONEYREQ = 10001,
- /// <summary>
- /// 查询资金信息应答
- /// </summary>
- MID_QUERYACCOUNTMONEYRSP = 10002,
- /// <summary>
- /// 查询持仓汇总请求
- /// </summary>
- MID_QUERYPOSITIONREQ = 10003,
- /// <summary>
- /// 查询持仓汇总应答
- /// </summary>
- MID_QUERYPOSITIONRSP = 10004,
- /// <summary>
- /// 查询持仓明细请求
- /// </summary>
- MID_QUERYPOSITIONDETAILREQ = 10005,
- /// <summary>
- /// 查询持仓明细应答
- /// </summary>
- MID_QUERYPOSITIONDETAILRSP = 10006,
- /// <summary>
- /// 查询报单请求
- /// </summary>
- MID_QUERYORDERREQ = 10007,
- /// <summary>
- /// 查询报单应答
- /// </summary>
- MID_QUERYORDERRSP = 10008,
- /// <summary>
- /// 查询成交请求
- /// </summary>
- MID_QUERYTRADEREQ = 10009,
- /// <summary>
- /// 查询成交应答
- /// </summary>
- MID_QUERYTRADERSP = 10010,
- /// <summary>
- /// 查询合约请求
- /// </summary>
- MID_QUERYINSTRUMENTREQ = 10011,
- /// <summary>
- /// 查询合约应答
- /// </summary>
- MID_QUERYINSTRUMENTRSP = 10012,
- /// <summary>
- /// 报单录入请求
- /// </summary>
- MID_INPUTORDERREQ = 20001,
- /// <summary>
- /// 报单录入应答
- /// </summary>
- MID_INPUTORDERRSP = 20002,
- /// <summary>
- /// 报单修改请求
- /// </summary>
- MID_ORDERACTIONREQ = 20003,
- /// <summary>
- /// 报单修改应答
- /// </summary>
- MID_ORDERACTIONRSP = 20004,
- /// <summary>
- /// 报单通知
- /// </summary>
- MID_NOTICEORDER = 30001,
- /// <summary>
- /// 成交通知
- /// </summary>
- MID_NOTICETRADE = 30002,
- /// <summary>
- /// 实时行情订阅请求
- /// </summary>
- MID_QUTATIONSUBSCRIBEREQ = 40001,
- /// <summary>
- /// 实时行情订阅应答
- /// </summary>
- MID_QUTATIONSUBSCRIBERSP = 40002,
- /// <summary>
- /// 实时行情推送
- /// </summary>
- MID_NOTICEQUTATION = 40003
- }
- /// <summary>
- // 交易通道编号
- /// </summary>
- public enum eChannelIDType {
- /// <summary>
- /// 场外交易
- /// </summary>
- CID_OUTSIDE = 0,
- /// <summary>
- /// 综合交易平台
- /// </summary>
- CID_CTP = 1,
- /// <summary>
- /// 安粮期货
- /// </summary>
- CID_ATP = 2,
- /// <summary>
- /// 盈透
- /// </summary>
- CID_IB = 3,
- /// <summary>
- /// 易盛
- /// </summary>
- CID_TAP = 4,
- /// <summary>
- /// 直达
- /// </summary>
- CID_DA = 5,
- /// <summary>
- /// 富途
- /// </summary>
- CID_FUTU = 6,
- /// <summary>
- /// 火币
- /// </summary>
- CID_HUOBI = 7,
- /// <summary>
- /// 艾雅斯
- /// </summary>
- CID_AYERS = 8,
- /// <summary>
- /// 恒生
- /// </summary>
- CID_HS = 9,
- /// <summary>
- /// 持仓修正
- /// </summary>
- CID_MANAGE = 97,
- /// <summary>
- /// 通道交易测试渠道
- /// </summary>
- CID_CHANNEL_TEST = 98,
- /// <summary>
- /// 下单接口平台测试渠道
- /// </summary>
- CID_MHP_TEST = 99
- }
- /// <summary>
- // 持仓多空方向
- /// </summary>
- public enum ePositionDirection {
- /// <summary>
- /// 净
- /// </summary>
- PD_NET = 1,
- /// <summary>
- /// 多头
- /// </summary>
- PD_LONG = 2,
- /// <summary>
- /// 空头
- /// </summary>
- PD_SHORT = 3
- }
- /// <summary>
- // 建平仓标志
- /// </summary>
- public enum eOffsetFlag {
- /// <summary>
- /// 建仓
- /// </summary>
- OF_OPEN = 0,
- /// <summary>
- /// 平仓
- /// </summary>
- OF_CLOSE = 1,
- /// <summary>
- /// 强平
- /// </summary>
- OF_FORCECLOSE = 2,
- /// <summary>
- /// 平今
- /// </summary>
- OF_CLOSETODAY = 3,
- /// <summary>
- /// 平昨
- /// </summary>
- OF_CLOSEYESTERDAY = 4
- }
- /// <summary>
- // 委托价格类型
- /// </summary>
- public enum eOrderPriceType {
- /// <summary>
- /// 限价
- /// </summary>
- OPT_LIMITPRICE = 1,
- /// <summary>
- /// 市价
- /// </summary>
- OPT_MARKETPRICE = 2
- }
- /// <summary>
- // 有效期类型
- /// </summary>
- public enum eTimeConditionType {
- /// <summary>
- /// 立即完成,否则撤销
- /// </summary>
- TC_IOC = 1,
- /// <summary>
- /// 本节有效
- /// </summary>
- TC_GFS = 2,
- /// <summary>
- /// 当日有效
- /// </summary>
- TC_GFD = 3,
- /// <summary>
- /// 指定日期前有效
- /// </summary>
- TC_GTD = 4,
- /// <summary>
- /// 撤销前有效
- /// </summary>
- TC_GTC = 5,
- /// <summary>
- /// 集合竞价有效
- /// </summary>
- TC_GFA = 6
- }
- /// <summary>
- // 报单提交状态
- /// </summary>
- public enum eOrderSubmitStatusType {
- /// <summary>
- /// 已经提交
- /// </summary>
- OSS_INSERTSUBMITTED = 0,
- /// <summary>
- /// 撤单已经提交
- /// </summary>
- OSS_CANCELSUBMITTED = 1,
- /// <summary>
- /// 修改已经提交
- /// </summary>
- OSS_MODIFYSUBMITTED = 2,
- /// <summary>
- /// 已经接受
- /// </summary>
- OSS_ACCEPTED = 3,
- /// <summary>
- /// 报单已经被拒绝
- /// </summary>
- OSS_INSERTREJECTED = 4,
- /// <summary>
- /// 撤单已经被拒绝
- /// </summary>
- OSS_CANCELREJECTED = 5,
- /// <summary>
- /// 改单已经被拒绝
- /// </summary>
- OSS_MODIFYREJECTED = 6
- }
- /// <summary>
- // 报单状态类型
- /// </summary>
- public enum eOrderStatusType {
- /// <summary>
- /// 全部成交
- /// </summary>
- OST_ALLTRADED = 0,
- /// <summary>
- /// 部分成交还在队列中
- /// </summary>
- OST_PARTTRADEDQUEUEING = 1,
- /// <summary>
- /// 部分成交不在队列中
- /// </summary>
- OST_PARTTRADEDNOTQUEUEING = 2,
- /// <summary>
- /// 未成交还在队列中
- /// </summary>
- OST_NOTRADEQUEUEING = 3,
- /// <summary>
- /// 未成交不在队列中
- /// </summary>
- OST_NOTRADENOTQUEUEING = 4,
- /// <summary>
- /// 撤单
- /// </summary>
- OST_CANCELED = 5,
- /// <summary>
- /// 未知
- /// </summary>
- OST_UNKNOWN = 6,
- /// <summary>
- /// 尚未触发
- /// </summary>
- OST_NOTTOUCHED = 7,
- /// <summary>
- /// 已触发
- /// </summary>
- OST_TOUCHED = 8,
- /// <summary>
- /// 已撤单报单被拒绝
- /// </summary>
- OST_INSERTREJECTED = 9
- }
- /// <summary>
- // 报单状态类型
- /// </summary>
- public enum eMhpOrderStatusType {
- /// <summary>
- /// 接口平台拒绝
- /// </summary>
- MOST_MHPREJECTED = 1,
- /// <summary>
- /// 接口平台已接收(未报送至对应渠道)
- /// </summary>
- MOST_MHPRECEIVED = 2,
- /// <summary>
- /// 待确认(已报送至对应渠道)
- /// </summary>
- MOST_TOBECONFIRMED = 3,
- /// <summary>
- /// 渠道前置拒绝
- /// </summary>
- MOST_CHANNELFRONTREJECTED = 4,
- /// <summary>
- /// 渠道核心拒绝
- /// </summary>
- MOST_CHANNELCOREREJECTED = 5,
- /// <summary>
- /// 未成交(对应渠道已经返回结果)
- /// </summary>
- MOST_NOTRADEQUEUEING = 6,
- /// <summary>
- /// 已撤
- /// </summary>
- MOST_CANCELED = 7,
- /// <summary>
- /// 部分成交还在队列(部成)
- /// </summary>
- MOST_PARTTRADEDQUEUEING = 8,
- /// <summary>
- /// 部分成交不在队列(部撤)
- /// </summary>
- MOST_PARTTRADEDNOTQUEUEING = 9,
- /// <summary>
- /// 全部成交
- /// </summary>
- MOST_ALLTRADED = 10
- }
- /// <summary>
- // 价格源类型
- /// </summary>
- public enum ePriceSourceType {
- /// <summary>
- /// 前成交价
- /// </summary>
- PSRC_LASTPRICE = 0,
- /// <summary>
- /// 买委托价
- /// </summary>
- PSRC_BUY = 1,
- /// <summary>
- /// 卖委托价
- /// </summary>
- PSRC_SELL = 2
- }
- /// <summary>
- // 投机套保标志
- /// </summary>
- public enum eHedgeFlagType {
- /// <summary>
- /// 无
- /// </summary>
- HF_INVALID = 0,
- /// <summary>
- /// 投机
- /// </summary>
- HF_SPECULATION = 1,
- /// <summary>
- /// 套保
- /// </summary>
- HF_HEDGE = 2,
- /// <summary>
- /// 套利
- /// </summary>
- HF_ARBITRAGE = 3
- }
- /// <summary>
- // 持仓日期类型
- /// </summary>
- public enum ePositionDateType {
- /// <summary>
- /// 今日持仓
- /// </summary>
- PSD_TODAY = 1,
- /// <summary>
- /// 历史持仓
- /// </summary>
- PSD_HISTORY = 2
- }
- /// <summary>
- // 撤单的操作类型
- /// </summary>
- public enum eWROrderCancelOpType {
- /// <summary>
- /// 委托撤单
- /// </summary>
- WRORDERCANCELOPTYPE_ORDER = 1
- }
- /// <summary>
- // 仓单贸易类型
- /// </summary>
- public enum eWRTradeOrderType {
- /// <summary>
- /// 挂牌
- /// </summary>
- WRTRADEORDERTYPE_LISTING = 1,
- /// <summary>
- /// 摘牌
- /// </summary>
- WRTRADEORDERTYPE_DELISTING = 2
- }
- /// <summary>
- // 仓单贸易价格方式
- /// </summary>
- public enum eWRTradePriceType {
- /// <summary>
- /// 固定价
- /// </summary>
- WRTRADEPRICETYPE_FIXED_PRICE = 1,
- /// <summary>
- /// 浮动价
- /// </summary>
- WRTRADEPRICETYPE_FLOAT_PRICE = 2
- }
- /// <summary>
- // 仓单贸易委托状态
- /// </summary>
- public enum eWRTradeOrderStatus {
- /// <summary>
- /// 委托请求
- /// </summary>
- WRTRADEORDERSTATUS_REQUEST = 1,
- /// <summary>
- /// 待冻结
- /// </summary>
- WRTRADEORDERSTATUS_WAITFREEZE = 2,
- /// <summary>
- /// 委托成功
- /// </summary>
- WRTRADEORDERSTATUS_SUCCEED = 3,
- /// <summary>
- /// 委托失败
- /// </summary>
- WRTRADEORDERSTATUS_FAILED = 4,
- /// <summary>
- /// 配对成功
- /// </summary>
- WRTRADEORDERSTATUS_MATCHED = 5,
- /// <summary>
- /// 已撤
- /// </summary>
- WRTRADEORDERSTATUS_CANCELED = 6,
- /// <summary>
- /// 已成
- /// </summary>
- WRTRADEORDERSTATUS_DEALED = 7,
- /// <summary>
- /// 成交失败
- /// </summary>
- WRTRADEORDERSTATUS_DEALFAILED = 8,
- /// <summary>
- /// 委托拒绝
- /// </summary>
- WRTRADEORDERSTATUS_DENIED = 9,
- /// <summary>
- /// 挂牌部分成交
- /// </summary>
- WRTRADEORDERSTATUS_LISTING_PARTTRADE = 10,
- /// <summary>
- /// 仓单生成失败
- /// </summary>
- WRTRADEORDERSTATUS_WR_FAILED = 11,
- /// <summary>
- /// 首付扣款失败
- /// </summary>
- WRTRADEORDERSTATUS_FIRSTPAYMENT_DEDUCT_FAILED = 12,
- /// <summary>
- /// 履约失败
- /// </summary>
- WRTRADEORDERSTATUS_PERFORMANCE_FAILED = 13,
- /// <summary>
- /// 撤单解冻贷款失败
- /// </summary>
- WRTRADEORDERSTATUS_CANCELE_UNFREZZE_FAILED = 14,
- /// <summary>
- /// 部成部撤
- /// </summary>
- WRTRADEORDERSTATUS_PARTIALCANCELED = 15
- }
- /// <summary>
- // 消息账户记录类型
- /// </summary>
- public enum eRecordType {
- /// <summary>
- /// 资金
- /// </summary>
- MSG_ACCOUNT_REC_TYPE_AMOUNT = 1,
- /// <summary>
- /// 头寸
- /// </summary>
- MSG_ACCOUNT_REC_TYPE_POSTION = 2
- }
- /// <summary>
- // 履约步骤控制状态
- /// </summary>
- public enum ePerformance_StepHandleStatus {
- /// <summary>
- /// 开始
- /// </summary>
- PERFORMANCE_STEPHANDLESTATUS_BEGIN = 1,
- /// <summary>
- /// 结束
- /// </summary>
- PERFORMANCE_STEPHANDLESTATUS_FINISHED = 2,
- /// <summary>
- /// 冻结请求
- /// </summary>
- PERFORMANCE_STEPHANDLESTATUS_FREEZE_REQ = 3,
- /// <summary>
- /// 冻结返回成功
- /// </summary>
- PERFORMANCE_STEPHANDLESTATUS_FREEZE_RSP_SUC = 4,
- /// <summary>
- /// 冻结返回失败
- /// </summary>
- PERFORMANCE_STEPHANDLESTATUS_FREEZE_RSP_FAIL = 5,
- /// <summary>
- /// 扣款请求
- /// </summary>
- PERFORMANCE_STEPHANDLESTATUS_DEDUCT_REQ = 6,
- /// <summary>
- /// 扣款返回成功
- /// </summary>
- PERFORMANCE_STEPHANDLESTATUS_DEDUCT_RSP_SUC = 7,
- /// <summary>
- /// 扣款返回失败
- /// </summary>
- PERFORMANCE_STEPHANDLESTATUS_DEDUCT_RSP_FAIL = 8,
- /// <summary>
- /// 仓单转移请求
- /// </summary>
- PERFORMANCE_STEPHANDLESTATUS_RECEIPTTRANSFER_REQ = 9,
- /// <summary>
- /// 仓单转移返回成功
- /// </summary>
- PERFORMANCE_STEPHANDLESTATUS_RECEIPTTRANSFER_RSP_SUC = 10,
- /// <summary>
- /// 仓单转移返回失败
- /// </summary>
- PERFORMANCE_STEPHANDLESTATUS_RECEIPTTRANSFER_RSP_FAIL = 11,
- /// <summary>
- /// 加钱请求
- /// </summary>
- PERFORMANCE_STEPHANDLESTATUS_ADDMONEY_REQ = 12,
- /// <summary>
- /// 加钱返回成功
- /// </summary>
- PERFORMANCE_STEPHANDLESTATUS_ADDMONEY_RSP_SUC = 13,
- /// <summary>
- /// 加钱返回失败
- /// </summary>
- PERFORMANCE_STEPHANDLESTATUS_ADDMONEY_RSP_FAIL = 14,
- /// <summary>
- /// 解冻仓单头寸请求
- /// </summary>
- PERFORMANCE_STEPHANDLESTATUS_UNFREZZE_WRPOSTION_REQ = 15,
- /// <summary>
- /// 解冻仓单头寸返回成功
- /// </summary>
- PERFORMANCE_STEPHANDLESTATUS_UNFREZZE_WRPOSTION_RSP_SUC = 16,
- /// <summary>
- /// 解冻仓单头寸返回失败
- /// </summary>
- PERFORMANCE_STEPHANDLESTATUS_UNFREZZE_WRPOSTION_RSP_FAIL = 17,
- /// <summary>
- /// 解冻库位请求
- /// </summary>
- PERFORMANCE_STEPHANDLESTATUS_UNFREZZE_WAREHOUSE_REQ = 18,
- /// <summary>
- /// 解冻库位返回成功
- /// </summary>
- PERFORMANCE_STEPHANDLESTATUS_UNFREZZE_WAREHOUSE_RSP_SUC = 19,
- /// <summary>
- /// 解冻库位返回失败
- /// </summary>
- PERFORMANCE_STEPHANDLESTATUS_UNFREZZE_WAREHOUSE_RSP_FAIL = 20,
- /// <summary>
- /// 卖方剩余金额解冻请求
- /// </summary>
- PERFORMANCE_STEPHANDLESTATUS_SELLER_UNFREZZE_REQ = 21,
- /// <summary>
- /// 卖方剩余金额解冻成功
- /// </summary>
- PERFORMANCE_STEPHANDLESTATUS_SELLER_UNFREZZE_RSP_SUC = 22,
- /// <summary>
- /// 卖方剩余金额解冻失败
- /// </summary>
- PERFORMANCE_STEPHANDLESTATUS_SELLER_UNFREZZE_RSP_FAIL = 23
- }
- /// <summary>
- // 外盘委托状态
- /// </summary>
- public enum eChannelOutOrderStatus {
- /// <summary>
- /// 接收成功
- /// </summary>
- OUTERSTATUS_RECVMSG = 1,
- /// <summary>
- /// 发送成功
- /// </summary>
- OUTERSTATUS_SENDSUCC = 2,
- /// <summary>
- /// 委托成功
- /// </summary>
- OUTERSTATUS_ORDERSUCC = 3,
- /// <summary>
- /// 委托失败
- /// </summary>
- OUTERSTATUS_ORDERFAIL = 4,
- /// <summary>
- /// 全部成交
- /// </summary>
- OUTERSTATUS_ALLTRADE = 5,
- /// <summary>
- /// 部成部撤
- /// </summary>
- OUTERSTATUS_TRADECANCEL = 6,
- /// <summary>
- /// 全部撤单
- /// </summary>
- OUTERSTATUS_ALLCANCEL = 7
- }
- /// <summary>
- // 违约处理状态
- /// </summary>
- public enum eBreachHandleStatus {
- /// <summary>
- /// 待处理
- /// </summary>
- BREACH_HANDLESTATUS_TREATED = 1,
- /// <summary>
- /// 已处理
- /// </summary>
- BREACH_HANDLESTATUS_PROCESSED = 2,
- /// <summary>
- /// 已完成
- /// </summary>
- BREACH_HANDLESTATUS_FINISHED = 3
- }
- /// <summary>
- // 对冲平仓方式
- /// </summary>
- public enum eHedgeCloseFlagType {
- /// <summary>
- /// 平仓
- /// </summary>
- HEDGECLOSEFLAGTYPE_CLOSE = 0,
- /// <summary>
- /// 平今
- /// </summary>
- HEDGECLOSEFLAGTYPE_CLOSETODAY = 1,
- /// <summary>
- /// 平昨
- /// </summary>
- HEDGECLOSEFLAGTYPE_CLOSEHISTORY = 2
- }
- /// <summary>
- // 头寸初始化
- /// </summary>
- public enum ePsInit {
- /// <summary>
- /// 头寸未初始化
- /// </summary>
- PSINIT_NOINIT = 0,
- /// <summary>
- /// 头寸已初始化
- /// </summary>
- PSINIT_INIT = 1
- }
- /// <summary>
- // 期权类型
- /// </summary>
- public enum eOptionType {
- /// <summary>
- /// 认购
- /// </summary>
- OPTIONTYPE_CALL = 1,
- /// <summary>
- /// 认沽
- /// </summary>
- OPTIONTYPE_PUT = 2
- }
- /// <summary>
- // 行权日类型
- /// </summary>
- public enum eExpireType {
- /// <summary>
- /// 滚动行权
- /// </summary>
- EXPIRETYPE_CYCLE = 1,
- /// <summary>
- /// 固定日期行权
- /// </summary>
- EXPIRETYPE_DATE = 2
- }
- /// <summary>
- // 期权接单状态
- /// </summary>
- public enum eOptionAcceptStatus {
- /// <summary>
- /// 无效
- /// </summary>
- OPTIONACCEPTSTATUS_INVALID = 0,
- /// <summary>
- /// 有效
- /// </summary>
- OPTIONACCEPTSTATUS_AVAILABE = 1
- }
- /// <summary>
- // 期权行情类型
- /// </summary>
- public enum eOptionQuoteType {
- /// <summary>
- /// 行权价报价
- /// </summary>
- OPTIONQUOTETYPE_STRIKEPRICE = 1,
- /// <summary>
- /// 权利金报价
- /// </summary>
- OPTIONQUOTETYPE_PREMIUM = 2,
- /// <summary>
- /// 行权价权利金报价
- /// </summary>
- OPTIONQUOTETYPE_ALL = 3,
- /// <summary>
- /// 空报价
- /// </summary>
- OPTIONQUOTETYPE_NONE = 4
- }
- /// <summary>
- // 扩展策略是否有效
- /// </summary>
- public enum eMS_IsValid {
- /// <summary>
- /// 无效
- /// </summary>
- MS_ISVALID_NO = 0,
- /// <summary>
- /// 有效
- /// </summary>
- MS_ISVALID_YES = 1
- }
- /// <summary>
- // 提货方式
- /// </summary>
- public enum eMS_TakeMode {
- /// <summary>
- /// 无
- /// </summary>
- MS_TAKEMODE_NONE = 1,
- /// <summary>
- /// 自提
- /// </summary>
- MS_TAKEMODE_PICK_UP = 2,
- /// <summary>
- /// 配送
- /// </summary>
- MS_TAKEMODE_DISPATCH = 3
- }
- /// <summary>
- // 扩展策略数据来源
- /// </summary>
- public enum eMS_DataSrc {
- /// <summary>
- /// 无
- /// </summary>
- MS_DATASRC_NONE = 1,
- /// <summary>
- /// 交易成交通知
- /// </summary>
- MS_DATASRC_TRADENTF = 2,
- /// <summary>
- /// 订单仓单互转成交通知
- /// </summary>
- MS_DATASRC_ORDERWRTRANSFERNTF = 3,
- /// <summary>
- /// 结算信号通知
- /// </summary>
- MS_DATASRC_RECKONSIGNALNTF = 4,
- /// <summary>
- /// 开户成功通知
- /// </summary>
- MS_DATASRC_OPENACCOUNT = 5,
- /// <summary>
- /// 首次登录通知
- /// </summary>
- MS_DATASRC_FIRSTLOGIN = 6,
- /// <summary>
- /// 交割成交通知
- /// </summary>
- MS_DATASRC_DELIVERYDEALEDNTF = 7,
- /// <summary>
- /// 交收成交通知(交收服务)
- /// </summary>
- MS_DATASRC_DELIVERYDEALNTF = 8,
- /// <summary>
- /// 商城收款成功通知
- /// </summary>
- MS_DATASRC_MAILRECEIVENTF = 9
- }
- /// <summary>
- // 扩展策略临时停用状态
- /// </summary>
- public enum eMS_IsStop {
- /// <summary>
- /// 未停止
- /// </summary>
- MS_ISSTOP_NO = 0,
- /// <summary>
- /// 已停止
- /// </summary>
- MS_ISSTOP_YES = 1
- }
- /// <summary>
- // 扩展策略类型
- /// </summary>
- public enum eMS_Type {
- /// <summary>
- /// 累计盈亏策略
- /// </summary>
- MS_COUNTPL = 1,
- /// <summary>
- /// 转版策略
- /// </summary>
- MS_TRANSFERPLATE = 2,
- /// <summary>
- /// 定期汇总策略
- /// </summary>
- MS_REGULARCOUNT = 3,
- /// <summary>
- /// 发货策略
- /// </summary>
- MS_SHIPGOODS = 4,
- /// <summary>
- /// 发货结算策略
- /// </summary>
- MS_SHIPGOODSRECKON = 5,
- /// <summary>
- /// 订单行权策略
- /// </summary>
- MS_ORDERRIGHT = 6,
- /// <summary>
- /// 券转积分策略
- /// </summary>
- MS_SCOUPON2SCORE = 7,
- /// <summary>
- /// 提货申请策略
- /// </summary>
- MS_LADINGORDER = 8,
- /// <summary>
- /// 发票申请策略
- /// </summary>
- MS_INVOICEAPP = 9,
- /// <summary>
- /// 累计盈亏策略(新)
- /// </summary>
- MS_COUNTPL_ZY = 10,
- /// <summary>
- /// 定期汇总策略(新)
- /// </summary>
- MS_REGULARCOUNT_ZY = 11,
- /// <summary>
- /// 发货策略(新)
- /// </summary>
- MS_SHIPGOODS_ZY = 12,
- /// <summary>
- /// 订单行权策略(新)
- /// </summary>
- MS_ORDERRIGHT_ZY = 13,
- /// <summary>
- /// 提货申请策略(新)
- /// </summary>
- MS_LADINGORDER_ZY = 14,
- /// <summary>
- /// 剩余券处理
- /// </summary>
- MS_SCOUPONHANDLE = 15,
- /// <summary>
- /// 报表数据策略
- /// </summary>
- MS_REPORT_ZY = 16,
- /// <summary>
- /// 开户送红包策略(尚志)
- /// </summary>
- MS_OPENACCOUNT_GIFT_SZ = 17,
- /// <summary>
- /// 首次登录红包策略(尚志)
- /// </summary>
- MS_FIRSTLOGIN_GIFT_SZ = 18,
- /// <summary>
- /// 交易分润策略(尚志)
- /// </summary>
- MS_TRADEDIVIDE_SZ = 19,
- /// <summary>
- /// 交割分润策略(尚志)
- /// </summary>
- MS_DELIVERYDIVIDE_SZ = 20,
- /// <summary>
- /// 交收配送费策略(尚志)
- /// </summary>
- MS_EXPRESSFEE_SZ = 21,
- /// <summary>
- /// 报表数据策略(尚志)
- /// </summary>
- MS_REPORT_SZ = 22,
- /// <summary>
- /// 成交短信通知策略(临沂国际)
- /// </summary>
- MS_DEALMESSAGENTF_LXGJ = 23,
- /// <summary>
- /// 购物分润策略(尚志)
- /// </summary>
- MS_SHOPPINGDIVIDE_SZ = 24,
- /// <summary>
- /// 投资者亏损转积分(通用)
- /// </summary>
- MS_INVESTOR_PL_TO_SCORE = 25,
- /// <summary>
- /// 投资者盈利转积分(通用/烟台)
- /// </summary>
- MS_INVESTOR_PROFIT_TO_SCORE = 26,
- /// <summary>
- /// 投资者成交量转积分(尚志)
- /// </summary>
- MS_INVESTOR_VOLUME_TO_SCORE_SZ = 27,
- /// <summary>
- /// 净头寸对冲策略(中远)
- /// </summary>
- MS_NETPOSITION_HEDGE_ZY = 28,
- /// <summary>
- /// 投资者建仓限制策略(辽东湾)
- /// </summary>
- MS_INVESTOR_OPENLIMIT_LDW = 29,
- /// <summary>
- /// 投资者交易手续费转积分策略(辽东湾)
- /// </summary>
- MS_INVESTOR_CHARGE_TO_SCORE_LDW = 30,
- /// <summary>
- /// 竞拍商城送积分策略(海南)
- /// </summary>
- MS_PERFOPLANPROCNTF_TO_SCORE = 31,
- /// <summary>
- /// 场外期权交易限制策略(辽东湾)
- /// </summary>
- MS_OUTSIDETRADELIMIT = 32,
- /// <summary>
- /// 数据同步策略(百色矿业)
- /// </summary>
- MS_SYNCHRONIZE_DATA_BSKY = 33
- }
- /// <summary>
- // 非标履约计划模板ID
- /// </summary>
- public enum eSpecialPerformancePlanTemplateID {
- /// <summary>
- /// 仓单转移履约计划
- /// </summary>
- SPPTID_WRTRANSFER = -1,
- /// <summary>
- /// 法币交易C2C履约计划
- /// </summary>
- SPPTID_COINC2C = -2
- }
- /// <summary>
- // 期权交易结算节点ID
- /// </summary>
- public enum eOptionReckonNodeID {
- /// <summary>
- /// 结算价节点ID
- /// </summary>
- OPTIONRECKNODEID_RECK_PRICE = 1,
- /// <summary>
- /// 行权节点ID
- /// </summary>
- OPTIONRECKNODEID_EXPIRE = 2,
- /// <summary>
- /// 持仓单备份节点ID
- /// </summary>
- OPTIONRECKNODEID_HOLDERDETAIL_BACKUP = 3,
- /// <summary>
- /// 单据试算平衡节点ID
- /// </summary>
- OPTIONRECKNODEID_ORDER_BALANCE_CALCULATE = 4,
- /// <summary>
- /// 持仓单处理节点
- /// </summary>
- OPTIONRECKNODEID_HOLDERDETAIL_DEAL = 5,
- /// <summary>
- /// 交易分润节点
- /// </summary>
- OPTIONRECKNODEID_SHARE_PROFIT = 6
- }
- /// <summary>
- // 履约模式
- /// </summary>
- public enum ePerformanceMode {
- /// <summary>
- /// 立即执行
- /// </summary>
- PERFORMANCEMODE_IMMEDIATE = 1,
- /// <summary>
- /// 选择模板
- /// </summary>
- PERFORMANCEMODE_CHOOSE_TEMPLDATE = 2
- }
- /// <summary>
- // 交割模式
- /// </summary>
- public enum eDeliveryMode {
- /// <summary>
- /// 点选式
- /// </summary>
- DELIVERYMODE_PICK = 1,
- /// <summary>
- /// 申报式
- /// </summary>
- DELIVERYMODE_APPLY = 2,
- /// <summary>
- /// 无仓单申报式
- /// </summary>
- DELIVERYMODE_NONWR = 3
- }
- /// <summary>
- // 发货单处理状态
- /// </summary>
- public enum eInvoiceOrderHandleStatus {
- /// <summary>
- /// 未处理
- /// </summary>
- SHIPHANDLESTATUS_NO = 1,
- /// <summary>
- /// 处理中
- /// </summary>
- SHIPHANDLESTATUS_DOING = 2,
- /// <summary>
- /// 处理成功
- /// </summary>
- SHIPHANDLESTATUS_SUCCESS = 3,
- /// <summary>
- /// 处理失败
- /// </summary>
- SHIPHANDLESTATUS_FAILED = 4,
- /// <summary>
- /// 行权审核处理中
- /// </summary>
- SHIPHANDLESTATUS_AUDIT_DOING = 5
- }
- /// <summary>
- // 扩展流水表业务步骤
- /// </summary>
- public enum eMS_BusinessStep {
- /// <summary>
- /// 收到业务请求
- /// </summary>
- MS_BUSINESSSTEP_RECV_REQ = 1,
- /// <summary>
- /// 发给账户服务查询订单仓单头寸请求
- /// </summary>
- MS_BUSINESSSTEP_SEND_ACC_QUERY_HOLD_REQ = 2,
- /// <summary>
- /// 收到账户服务查询订单仓单头寸应答成功
- /// </summary>
- MS_BUSINESSSTEP_RECV_ACC_QUERY_HOLD_SUCCESS_RSP = 3,
- /// <summary>
- /// 收到账户服务查询订单仓单头寸应答失败
- /// </summary>
- MS_BUSINESSSTEP_RECV_ACC_QUERY_HOLD_FAILED_RSP = 4,
- /// <summary>
- /// 发给账户服务冻结仓单头寸请求
- /// </summary>
- MS_BUSINESSSTEP_SEND_ACC_FREEZE_WRHOLD_REQ = 5,
- /// <summary>
- /// 收到账户服务冻结仓单头寸应答成功
- /// </summary>
- MS_BUSINESSSTEP_RECV_ACC_FREEZE_WRHOLD_SUCCESS_RSP = 6,
- /// <summary>
- /// 收到账户服务冻结仓单头寸应答失败
- /// </summary>
- MS_BUSINESSSTEP_RECV_ACC_FREEZE_WRHOLD_FAILED_RSP = 7,
- /// <summary>
- /// 发给账户服务解冻扣减仓单头寸请求
- /// </summary>
- MS_BUSINESSSTEP_SEND_ACC_DEDUCT_WRHOLD_REQ = 8,
- /// <summary>
- /// 收到账户服务解冻扣减仓单头寸应答成功
- /// </summary>
- MS_BUSINESSSTEP_RECV_ACC_DEDUCT_WRHOLD_SUCCESS_RSP = 9,
- /// <summary>
- /// 收到账户服务解冻扣减仓单头寸应答失败
- /// </summary>
- MS_BUSINESSSTEP_RECV_ACC_DEDUCT_WRHOLD_FAILED_RSP = 10,
- /// <summary>
- /// 发给账户服务扣款请求
- /// </summary>
- MS_BUSINESSSTEP_SEND_ACC_DEDUCT_MONEY_REQ = 11,
- /// <summary>
- /// 收到账户服务扣款应答成功
- /// </summary>
- MS_BUSINESSSTEP_RECV_ACC_DEDUCT_MONEY_SUCCESS_RSP = 12,
- /// <summary>
- /// 收到账户服务扣款应答失败
- /// </summary>
- MS_BUSINESSSTEP_RECV_ACC_DEDUCT_MONEY_FAILED_RSP = 13,
- /// <summary>
- /// 发给账户服务入款请求
- /// </summary>
- MS_BUSINESSSTEP_SEND_ACC_ADD_MONEY_REQ = 14,
- /// <summary>
- /// 收到账户服务入款应答成功
- /// </summary>
- MS_BUSINESSSTEP_RECV_ACC_ADD_MONEY_SUCCESS_RSP = 15,
- /// <summary>
- /// 收到账户服务入款应答失败
- /// </summary>
- MS_BUSINESSSTEP_RECV_ACC_ADD_MONEY_FAILED_RSP = 16,
- /// <summary>
- /// 发送业务操作成功应答
- /// </summary>
- MS_BUSINESSSTEP_SEND_SUCCESS_RSP = 17,
- /// <summary>
- /// 发送业务操作失败应答
- /// </summary>
- MS_BUSINESSSTEP_SEND_FAILED_RSP = 18,
- /// <summary>
- /// 发给账户服务冻结资金请求
- /// </summary>
- MS_BUSINESSSTEP_SEND_ACC_FREEZE_MONEY_REQ = 19,
- /// <summary>
- /// 收到账户服务冻结资金成功应答
- /// </summary>
- MS_BUSINESSSTEP_RECV_ACC_FREEZE_MONEY_SUCCESS_RSP = 20,
- /// <summary>
- /// 收到账户服务冻结资金失败应答
- /// </summary>
- MS_BUSINESSSTEP_RECV_ACC_FREEZE_MONEY_FAILED_RSP = 21,
- /// <summary>
- /// 发给账户服务解冻扣减资金请求
- /// </summary>
- MS_BUSINESSSTEP_SEND_ACC_UNFREEZE_DEDUCT_MONEY_REQ = 22,
- /// <summary>
- /// 收到账户服务解冻扣减资金成功应答
- /// </summary>
- MS_BUSINESSSTEP_RECV_ACC_UNFREEZE_DEDUCT_MONEY_SUCCESS_RSP = 23,
- /// <summary>
- /// 收到账户服务解冻扣减资金失败应答
- /// </summary>
- MS_BUSINESSSTEP_RECV_ACC_UNFREEZE_DEDUCT_MONEY_FAILED_RSP = 24,
- /// <summary>
- /// 发给账户服务解冻仓单头寸请求
- /// </summary>
- MS_BUSINESSSTEP_SEND_ACC_UNFREEZE_WRHOLD_REQ = 25,
- /// <summary>
- /// 收到账户服务解冻仓单头寸应答成功
- /// </summary>
- MS_BUSINESSSTEP_RECV_ACC_UNFREEZE_WRHOLD_SUCCESS_RSP = 26,
- /// <summary>
- /// 收到账户服务解冻仓单头寸应答失败
- /// </summary>
- MS_BUSINESSSTEP_RECV_ACC_UNFREEZE_WRHOLD_FAILED_RSP = 27,
- /// <summary>
- /// 发给积分服务券转积分请求
- /// </summary>
- MS_BUSINESSSTEP_SEND_SCORE_TRANSFER_REQ = 28,
- /// <summary>
- /// 收到积分服务券转积分应答成功
- /// </summary>
- MS_BUSINESSSTEP_RECV_SCORE_TRANSFER_SUCCESS_RSP = 29,
- /// <summary>
- /// 收到积分服务券转积分应答失败
- /// </summary>
- MS_BUSINESSSTEP_RECV_SCORE_TRANSFER_FAILED_RSP = 30,
- /// <summary>
- /// 发给账户服务查询积分头寸请求
- /// </summary>
- MS_BUSINESSSTEP_SEND_ACC_QUERY_SCORE_QTY_REQ = 31,
- /// <summary>
- /// 收到账户服务查询积分头寸应答成功
- /// </summary>
- MS_BUSINESSSTEP_RECV_ACC_QUERY_SCORE_QTY_SUCCESS_RSP = 32,
- /// <summary>
- /// 收到账户服务查询积分头寸应答失败
- /// </summary>
- MS_BUSINESSSTEP_RECV_ACC_QUERY_SCORE_QTY_FAILED_RSP = 33,
- /// <summary>
- /// 发给账户服务二次扣款请求
- /// </summary>
- MS_BUSINESSSTEP_SEND_ACC_SECOND_DEDUCT_MONEY_REQ = 34,
- /// <summary>
- /// 收到账户服务二次扣款应答成功
- /// </summary>
- MS_BUSINESSSTEP_RECV_ACC_SECOND_DEDUCT_MONEY_SUCCESS_RSP = 35,
- /// <summary>
- /// 收到账户服务二次扣款应答失败
- /// </summary>
- MS_BUSINESSSTEP_RECV_ACC_SECOND_DEDUCT_MONEY_FAILED_RSP = 36,
- /// <summary>
- /// 发给账户二次服务入款请求
- /// </summary>
- MS_BUSINESSSTEP_SEND_ACC_SECOND_ADD_MONEY_REQ = 37,
- /// <summary>
- /// 收到账户服务二次入款应答成功
- /// </summary>
- MS_BUSINESSSTEP_RECV_ACC_SECOND_ADD_MONEY_SUCCESS_RSP = 38,
- /// <summary>
- /// 收到账户服务二次入款应答失败
- /// </summary>
- MS_BUSINESSSTEP_RECV_ACC_SECOND_ADD_MONEY_FAILED_RSP = 39,
- /// <summary>
- /// 发给积分服务积分减少请求
- /// </summary>
- MS_BUSINESSSTEP_SEND_SCORE_REDUCESCORE_REQ = 40,
- /// <summary>
- /// 收到积分服务券转积分减少成功
- /// </summary>
- MS_BUSINESSSTEP_SEND_SCORE_REDUCESCORE_SUCCESS_RSP = 41,
- /// <summary>
- /// 收到积分服务券转积分减少失败
- /// </summary>
- MS_BUSINESSSTEP_SEND_SCORE_REDUCESCORE_FAILED_RSP = 42,
- /// <summary>
- /// 发给积分服务增加积分请求
- /// </summary>
- MS_BUSINESSSTEP_SEND_SCORE_ADD_REQ = 43,
- /// <summary>
- /// 收到积分服务增加积分成功
- /// </summary>
- MS_BUSINESSSTEP_RECV_SCORE_SUCCESS_RSP = 44,
- /// <summary>
- /// 收到积分服务增加积分失败
- /// </summary>
- MS_BUSINESSSTEP_RECV_SCORE_FAILED_RSP = 45
- }
- /// <summary>
- // 扩展提货模式
- /// </summary>
- public enum eMS_PickupMode {
- /// <summary>
- /// 券提货
- /// </summary>
- MS_PICKUP_MODE_SCORE = 1,
- /// <summary>
- /// 亏损提货
- /// </summary>
- MS_PICKUP_MODE_DEFICIT = 2,
- /// <summary>
- /// 行权提货
- /// </summary>
- MS_PICKUP_MODE_EXPIRE = 3
- }
- /// <summary>
- // 扩展尚志资金类型
- /// </summary>
- public enum eMS_SZ_AmountType {
- /// <summary>
- /// 货款分润(非投资者)
- /// </summary>
- MS_SZ_AMOUNTTYPE_AMOUNT = 1,
- /// <summary>
- /// 交收返现(投资者)
- /// </summary>
- MS_SZ_AMOUNTTYPE_DELIVERY_RETURN = 2,
- /// <summary>
- /// 商城分润
- /// </summary>
- MS_SZ_AMOUNTTYPE_MALLDIVIDE = 3,
- /// <summary>
- /// 交易所分润
- /// </summary>
- MS_SZ_AMOUNTTYPE_EXCHDIVIDE = 4
- }
- /// <summary>
- // 扩展发票类型
- /// </summary>
- public enum eMS_ReceiptType {
- /// <summary>
- /// 个人
- /// </summary>
- MS_RECEIPTTYPE_PERSONAL = 1,
- /// <summary>
- /// 企业
- /// </summary>
- MS_RECEIPTTYPE_COMPANY = 2
- }
- /// <summary>
- // 扩展发货状态
- /// </summary>
- public enum eMS_ShipperStatus {
- /// <summary>
- /// 待审核
- /// </summary>
- MS_SHIPPERSTATUS_PENDING = 1,
- /// <summary>
- /// 未发货
- /// </summary>
- MS_SHIPPERSTATUS_UNSHIPPED = 2,
- /// <summary>
- /// 已发货
- /// </summary>
- MS_SHIPPERSTATUS_ALREADY = 3,
- /// <summary>
- /// 已收货
- /// </summary>
- MS_SHIPPERSTATUS_TAKE = 4,
- /// <summary>
- /// 申请失败
- /// </summary>
- MS_SHIPPERSTATUS_FAIL = 5,
- /// <summary>
- /// 待发货处理中
- /// </summary>
- MS_SHIPPERSTATUS_WAITTING_SHIP = 6,
- /// <summary>
- /// 审核拒绝
- /// </summary>
- MS_SHIPPERSTATUS_REJECT = 7
- }
- /// <summary>
- // 扩展申请类型
- /// </summary>
- public enum eMS_ApplyType {
- /// <summary>
- /// 强制配货
- /// </summary>
- MS_APPLYTYPE_FORCE = 1,
- /// <summary>
- /// 自主申请
- /// </summary>
- MS_APPLYTYPE_ACTIVE = 2
- }
- /// <summary>
- // 扩展分润角色类型
- /// </summary>
- public enum eMS_DivideTargetType {
- /// <summary>
- /// 经销商
- /// </summary>
- MS_DIVIDETARGETTYPE_BROKER = 1,
- /// <summary>
- /// 大区经销商
- /// </summary>
- MS_DIVIDETARGETTYPE_MC = 2,
- /// <summary>
- /// 特许经销商
- /// </summary>
- MS_DIVIDETARGETTYPE_SPEC = 3,
- /// <summary>
- /// 积分服务商
- /// </summary>
- MS_DIVIDETARGETTYPE_SCORE = 4
- }
- /// <summary>
- // 扩展结算步骤
- /// </summary>
- public enum eMS_RockenStep {
- /// <summary>
- /// 定期汇总结算
- /// </summary>
- MS_ROCKENSTEP_REGULARSUM = 1,
- /// <summary>
- /// 发货结算
- /// </summary>
- MS_ROCKENSTEP_SENDGOODS = 2,
- /// <summary>
- /// 剩余券转积分结算
- /// </summary>
- MS_ROCKENSTEP_TICKETTOSCORE = 3
- }
- /// <summary>
- // 扩展券变更类型
- /// </summary>
- public enum eMS_ChangeType {
- /// <summary>
- /// 结算增加
- /// </summary>
- MS_CHANGETYPE_ROCKONADD = 1,
- /// <summary>
- /// 提货减少
- /// </summary>
- MS_CHANGETYPE_DILIVERSUB = 2,
- /// <summary>
- /// 盈亏减少
- /// </summary>
- MS_CHANGETYPE_PLSUB = 3
- }
- /// <summary>
- // 数据库操作类型
- /// </summary>
- public enum eDBOperateType {
- /// <summary>
- /// 查询
- /// </summary>
- DBOPERATETYPE_SELECT = 1,
- /// <summary>
- /// 插入
- /// </summary>
- DBOPERATETYPE_INSERT = 2,
- /// <summary>
- /// 删除
- /// </summary>
- DBOPERATETYPE_DELETE = 3,
- /// <summary>
- /// 更新
- /// </summary>
- DBOPERATETYPE_UPDATE = 4,
- /// <summary>
- /// I
- /// </summary>
- DBOPERATETYPE_EXECUTESQL = 5
- }
- /// <summary>
- // 是否预行权
- /// </summary>
- public enum eIsPreExercise {
- /// <summary>
- /// 否
- /// </summary>
- ISPREEXERCISE_NO = 0,
- /// <summary>
- /// 是
- /// </summary>
- ISPREEXERCISE_YES = 1
- }
- /// <summary>
- // 是否确认行权
- /// </summary>
- public enum eIsConfirmExercise {
- /// <summary>
- /// 否
- /// </summary>
- ISCONFIRMEXERCISE_NO = 0,
- /// <summary>
- /// 是
- /// </summary>
- ISCONFIRMEXERCISE_YES = 1
- }
- /// <summary>
- // 发票状态
- /// </summary>
- public enum eMS_ReceiptStatus {
- /// <summary>
- /// 未申请开票
- /// </summary>
- MS_RECEIPT_STATUS_UNKNOW = 1,
- /// <summary>
- /// 已申请开票
- /// </summary>
- MS_RECEIPT_STATUS_APPLY = 2,
- /// <summary>
- /// 发票已发
- /// </summary>
- MS_RECEIPT_STATUS_CONFIRM = 3
- }
- /// <summary>
- // 是否转积分
- /// </summary>
- public enum eMS_IsTransfer {
- /// <summary>
- /// 不转积分
- /// </summary>
- MS_ISTRANSFER_NO = 0,
- /// <summary>
- /// 转积分
- /// </summary>
- MS_ISTRANSFER_YES = 1
- }
- /// <summary>
- // 转换类型
- /// </summary>
- public enum eMS_TransferType {
- /// <summary>
- /// 结算券转积分
- /// </summary>
- MS_TRANSFERTYPE_SETTLE2SCORE = 1,
- /// <summary>
- /// 剩余券处理
- /// </summary>
- MS_TRANSFERTYPE_COUPON2SCORE = 2
- }
- /// <summary>
- // 积分业务状态
- /// </summary>
- public enum eScoreStatus {
- /// <summary>
- /// 处理中
- /// </summary>
- SCORESTATUS_TRANSACT = 0,
- /// <summary>
- /// 已成功
- /// </summary>
- SCORESTATUS_SUCCESS = 1,
- /// <summary>
- /// 已失败
- /// </summary>
- SCORESTATUS_FAIL = 2
- }
- /// <summary>
- // 竞拍结算节点ID
- /// </summary>
- public enum eAuctionReckonNodeID {
- /// <summary>
- /// 竞拍撤销委托单节点ID
- /// </summary>
- AUCTIONRECKONNODEID_ORDERCANCELNODE = 1,
- /// <summary>
- /// 竞拍日照统计节点ID
- /// </summary>
- AUCTIONRECKONNODEID_DAYAUCTIONCOUNTNODE = 2,
- /// <summary>
- /// 竞拍竞拍分润节点
- /// </summary>
- AUCTIONRECKONNODEID_SHARE_PROFIT = 3
- }
- /// <summary>
- // 竞拍状态
- /// </summary>
- public enum eAcutionStatus {
- /// <summary>
- /// 待生效
- /// </summary>
- ACUTIONSTATUS_PENDING = 0,
- /// <summary>
- /// 竞拍中
- /// </summary>
- ACUTIONSTATUS_BIDING = 1,
- /// <summary>
- /// 未开始
- /// </summary>
- ACUTIONSTATUS_NOTBEGIN = 2,
- /// <summary>
- /// 竞拍结束(成交)
- /// </summary>
- ACUTIONSTATUS_FINISHED_TRADE = 3,
- /// <summary>
- /// 竞拍结束(流拍)
- /// </summary>
- ACUTIONSTATUS_FINISHED_UNSOLD = 4,
- /// <summary>
- /// 竞拍结束(履约)
- /// </summary>
- ACUTIONSTATUS_FINISHED_PERFORMANCEHANDING = 5,
- /// <summary>
- /// 竞拍结束(部分成交)
- /// </summary>
- ACUTIONSTATUS_FINISHED_PART_TRADE = 6,
- /// <summary>
- /// 已注销
- /// </summary>
- ACUTIONSTATUS_CANCEL = 7,
- /// <summary>
- /// 新增拍品
- /// </summary>
- ACUTIONSTATUS_ADDGOODS = 8,
- /// <summary>
- /// 人工流拍
- /// </summary>
- ACUTIONSTATUS_NOBEAT = 9
- }
- /// <summary>
- // 竞拍成交状态
- /// </summary>
- public enum eAcutionTradeStatus {
- /// <summary>
- /// 违约待处理
- /// </summary>
- ACUTIONTRADESTATUS_BREACH_PENDING = 1,
- /// <summary>
- /// 违约处理中
- /// </summary>
- ACUTIONTRADESTATUS_BREACH_HANDING = 2,
- /// <summary>
- /// 完成
- /// </summary>
- ACUTIONTRADESTATUS_FINISHED = 3,
- /// <summary>
- /// 违约完成
- /// </summary>
- ACUTIONTRADESTATUS_BREACH_FINISHED = 4,
- /// <summary>
- /// 履约中
- /// </summary>
- ACUTIONTRADESTATUS_PERFORMANCE_HANDING = 5,
- /// <summary>
- /// 履约完成
- /// </summary>
- ACUTIONTRADESTATUS_PERFORMANCE = 6,
- /// <summary>
- /// 流拍
- /// </summary>
- ACUTIONTRADESTATUS_FAIL = 7,
- /// <summary>
- /// 出价失败
- /// </summary>
- ACUTIONTRADESTATUS_GIVEPRICEFAIL = 8
- }
- /// <summary>
- // 红包赠送类型
- /// </summary>
- public enum eGiveType {
- /// <summary>
- /// 开户送
- /// </summary>
- OPEN_SCORE_GIVE = 1,
- /// <summary>
- /// 首次登陆送
- /// </summary>
- FIRST_LOGIN_GIVE = 2
- }
- /// <summary>
- // SZ关联单类型
- /// </summary>
- public enum eZS_RelatedType {
- /// <summary>
- /// 交易分润
- /// </summary>
- ZS_RELATEDTYPE_TRADEDIVIDE = 1,
- /// <summary>
- /// 交收分润
- /// </summary>
- ZS_RELATEDTYPE_DELIVERYDIVIDE = 2,
- /// <summary>
- /// 购物分润
- /// </summary>
- ZS_RELATEDTYPE_SHOPPINGDIVIDE = 3
- }
- /// <summary>
- // SZ分润角色类型
- /// </summary>
- public enum eZS_DivideTargetType {
- /// <summary>
- /// 供货商
- /// </summary>
- ZS_DIVIDETARGETTYPE_SUP = 1,
- /// <summary>
- /// 交易所
- /// </summary>
- ZS_DIVIDETARGETTYPE_EXCH = 2,
- /// <summary>
- /// 总经销商
- /// </summary>
- ZS_DIVIDETARGETTYPE_DIS = 3,
- /// <summary>
- /// 经销商
- /// </summary>
- ZS_DIVIDETARGETTYPE_BROKER = 4,
- /// <summary>
- /// 投资者
- /// </summary>
- ZS_DIVIDETARGETTYPE_INVESTOR = 5
- }
- /// <summary>
- // SZ处理状态
- /// </summary>
- public enum eZS_HandleStatus {
- /// <summary>
- /// 未处理
- /// </summary>
- ZS_HANDLESTATUS_NO = 1,
- /// <summary>
- /// 处理中
- /// </summary>
- ZS_HANDLESTATUS_HAND = 2,
- /// <summary>
- /// 处理成功
- /// </summary>
- ZS_HANDLESTATUS_SUCCESS = 3,
- /// <summary>
- /// 处理失败
- /// </summary>
- ZS_HANDLESTATUS_FAILED = 4,
- /// <summary>
- /// 投资者成功推荐人失败
- /// </summary>
- ZS_HANDLESTATUS_IS_RF = 5,
- /// <summary>
- /// 投资者失败推荐人成功
- /// </summary>
- ZS_HANDLESTATUS_IF_RS = 6,
- /// <summary>
- /// 投资者成功推荐人处理中
- /// </summary>
- ZS_HANDLESTATUS_IS_RI = 7,
- /// <summary>
- /// 投资者失败推荐人处理中
- /// </summary>
- ZS_HANDLESTATUS_IF_RI = 8,
- /// <summary>
- /// 投资者处理中推荐人成功
- /// </summary>
- ZS_HANDLESTATUS_II_RS = 9,
- /// <summary>
- /// 投资者处理中推荐人失败
- /// </summary>
- ZS_HANDLESTATUS_II_RF = 10
- }
- /// <summary>
- // 角色优先类型
- /// </summary>
- public enum eRolePriorityType {
- /// <summary>
- /// 无
- /// </summary>
- ROLEPRIORITYTYPE_NONE = 1,
- /// <summary>
- /// 报价商优先
- /// </summary>
- ROLEPRIORITYTYPE_QUOTER_FIRST = 2,
- /// <summary>
- /// 非报价商优先
- /// </summary>
- ROLEPRIORITYTYPE_NOQUOTER_FIRST = 3
- }
- /// <summary>
- // 记录成交源标志
- /// </summary>
- public enum eIsRecordSource {
- /// <summary>
- /// 不记录
- /// </summary>
- RECORDSOURCE_NO = 0,
- /// <summary>
- /// 记录(所有权)
- /// </summary>
- RECORDSOURCE_YES = 1
- }
- /// <summary>
- // 已登陆标志
- /// </summary>
- public enum eHasLogined {
- /// <summary>
- /// 未登陆
- /// </summary>
- HASLOGINED_NO = 0,
- /// <summary>
- /// 已登录
- /// </summary>
- HASLOGINED_YES = 1
- }
- /// <summary>
- // 已修改密码标志
- /// </summary>
- public enum eHasUpdatedPwd {
- /// <summary>
- /// 未修改
- /// </summary>
- HASUPDATEDPWD_NO = 0,
- /// <summary>
- /// 已修改
- /// </summary>
- HASUPDATEDPWD_YES = 1
- }
- /// <summary>
- // 发货/券转积分分润明细关联单类型
- /// </summary>
- public enum eZYDivideRelatedType {
- /// <summary>
- /// 发货明细
- /// </summary>
- ZYDIVIDERELATEDTYPE_SHIP = 1,
- /// <summary>
- /// 券转积分明细
- /// </summary>
- ZYDIVIDERELATEDTYPE_T2S = 2
- }
- /// <summary>
- // 预售处理状态
- /// </summary>
- public enum ePreSaleStatus {
- /// <summary>
- /// 初始状态
- /// </summary>
- PRESALESTATUS_INIT = 0,
- /// <summary>
- /// 预售中
- /// </summary>
- PRESALESTATUS_ING = 1,
- /// <summary>
- /// 未开始
- /// </summary>
- PRESALESTATUS_NOT_BEGIN = 2,
- /// <summary>
- /// 预售成功
- /// </summary>
- PRESALESTATUS_SUCCESS = 3,
- /// <summary>
- /// 预售失败
- /// </summary>
- PRESALESTATUS_FAILED = 4,
- /// <summary>
- /// 处理失败
- /// </summary>
- PRESALESTATUS_PROC_FAILED = 5,
- /// <summary>
- /// 已注销
- /// </summary>
- PRESALESTATUS_CANCEL = 6,
- /// <summary>
- /// 已过期
- /// </summary>
- PRESALESTATUS_OVERDUE = 7
- }
- /// <summary>
- // 预售集采交易结算节点ID
- /// </summary>
- public enum ePreSaleReckonNodeID {
- /// <summary>
- /// 委托单处理节点
- /// </summary>
- PRESALERECKNODEID_ORDER_DETAIL = 1,
- /// <summary>
- /// 单据试算平衡节点
- /// </summary>
- PRESALERECKNODEID_ORDER_BALANCE_CALCULATE = 2,
- /// <summary>
- /// 预售过期撤销
- /// </summary>
- PRESALERECKNODEID_EXPIRE_CANCEL = 3,
- /// <summary>
- /// 履约交易申请节点
- /// </summary>
- PRESALERECKNODEID_PERFORMANCETRADE_APPLY = 4,
- /// <summary>
- /// 日照表节点
- /// </summary>
- PRESALERECKNODEID_DAY_LISTING = 5,
- /// <summary>
- /// 手续费分成节点
- /// </summary>
- PRESALERECKNODEID_SHARE_PROFIT = 6
- }
- /// <summary>
- // 预售集采委托状态
- /// </summary>
- public enum ePreSaleOrderStatus {
- /// <summary>
- /// 委托中
- /// </summary>
- PRESALE_ORDERSTATUS_ING = 1,
- /// <summary>
- /// 委托成功
- /// </summary>
- PRESALE_ORDERSTATUS_SUCCESS = 2,
- /// <summary>
- /// 委托失败
- /// </summary>
- PRESALE_ORDERSTATUS_FAILED = 3,
- /// <summary>
- /// 已撤销
- /// </summary>
- PRESALE_ORDERSTATUS_CANCEL = 4,
- /// <summary>
- /// 已成交
- /// </summary>
- PRESALE_ORDERSTATUS_TRADE = 5,
- /// <summary>
- /// 部成部撤
- /// </summary>
- PRESALE_ORDERSTATUS_TRADE_CANCEL = 6
- }
- /// <summary>
- // 券/盈亏流水关联类型
- /// </summary>
- public enum eScoreLogRelatedType {
- /// <summary>
- /// 盈亏
- /// </summary>
- SCORELOGRELATEDTYPE_PL = 1,
- /// <summary>
- /// 兑换券
- /// </summary>
- SCORELOGRELATEDTYPE_SCOUPON = 2
- }
- /// <summary>
- // 报价商品涨跌停限制
- /// </summary>
- public enum eQuoteLimitMove {
- /// <summary>
- /// 无效
- /// </summary>
- QUOTE_LIMITMOVE_INVALID = 0,
- /// <summary>
- /// 有效
- /// </summary>
- QUOTE_LIMITMOVE_VALID = 1
- }
- /// <summary>
- // 挂牌点选行情价格合并
- /// </summary>
- public enum eListingSelect {
- /// <summary>
- /// 不合并
- /// </summary>
- LISTING_SELECT_NOMERGE = 0,
- /// <summary>
- /// 合并
- /// </summary>
- LISTING_SELECT_MERGE = 1
- }
- /// <summary>
- // 预售集采成交单履约状态
- /// </summary>
- public enum ePreSaleTradeDetailStatus {
- /// <summary>
- /// 未履约
- /// </summary>
- PRESALE_TRADEDETAILSTATUS_WAIT = 1,
- /// <summary>
- /// 履约中
- /// </summary>
- PRESALE_TRADEDETAILSTATUS_ING = 2,
- /// <summary>
- /// 履约完成
- /// </summary>
- PRESALE_TRADEDETAILSTATUS_SUCCESS = 3
- }
- /// <summary>
- // 履约计划是否确认溢短
- /// </summary>
- public enum ePerformancePlanHasOverShort {
- /// <summary>
- /// 没有
- /// </summary>
- NO_CONFIRM = 0,
- /// <summary>
- /// 买方确认
- /// </summary>
- BUYER_CONFIRM = 1,
- /// <summary>
- /// 卖方确认
- /// </summary>
- SELLER_CONFIRM = 2
- }
- /// <summary>
- // 履约计划是否有仓单
- /// </summary>
- public enum ePerformancePlanHasWR {
- /// <summary>
- /// 没有仓单
- /// </summary>
- NO_WR = 0,
- /// <summary>
- /// 有仓单
- /// </summary>
- HAS_WR = 1
- }
- /// <summary>
- // 三方认证类型
- /// </summary>
- public enum eAuthType {
- /// <summary>
- /// 微信
- /// </summary>
- AUTHTYPE_WECHAT = 1,
- /// <summary>
- /// 支付宝
- /// </summary>
- AUTHTYPE_ALIPAY = 2
- }
- /// <summary>
- // 报价激活状态
- /// </summary>
- public enum eQuoteActiveStatus {
- /// <summary>
- /// 待冻结卖量
- /// </summary>
- NEED_FREEZE_SELLQTY = 0,
- /// <summary>
- /// 激活
- /// </summary>
- ACTIVED = 1,
- /// <summary>
- /// 待冻结资金
- /// </summary>
- NEED_FREEZE_BUYAMOUT = 2,
- /// <summary>
- /// 待冻结卖量和资金
- /// </summary>
- NEED_FREEZE_SELLQTY_BUYAMOUT = 3,
- /// <summary>
- /// 删除报价解冻卖量
- /// </summary>
- DEL_UNFREEZE_SELLQTY = 4,
- /// <summary>
- /// 删除报价解冻资金
- /// </summary>
- DEL_UNFREEZE_BUYAMOUT = 5,
- /// <summary>
- /// 删除报价卖量和资金
- /// </summary>
- DEL_UNFREEZE_SELLQTY_BUYAMOUT = 6,
- /// <summary>
- /// 结算后解冻资金(不删除报价)
- /// </summary>
- RECK_UNFREEZE_BUYAMOUT = 7,
- /// <summary>
- /// 重新冻结
- /// </summary>
- RECK_RENEW_FREEZE = 8
- }
- /// <summary>
- // 商品退市处理状态
- /// </summary>
- public enum eGoodsDelistHandleStatus {
- /// <summary>
- /// 退市处理中
- /// </summary>
- GOODS_DELIST_HANDLE_ING = 1,
- /// <summary>
- /// 处理成功
- /// </summary>
- GOODS_DELIST_HANDLE_SUCCESS = 2,
- /// <summary>
- /// 处理失败
- /// </summary>
- GOODS_DELIST_HANDLE_FAILED = 3
- }
- /// <summary>
- // 协议转让处理状态
- /// </summary>
- public enum eProtoTransferHandleStatus {
- /// <summary>
- /// 未处理
- /// </summary>
- PROTO_TRANSFER_HANDLESTATUS_NOT_BEGIN = 1,
- /// <summary>
- /// 转出方处理完成
- /// </summary>
- PROTO_TRANSFER_HANDLESTATUS_OUT = 2,
- /// <summary>
- /// 转入方处理完成
- /// </summary>
- PROTO_TRANSFER_HANDLESTATUS_IN = 3,
- /// <summary>
- /// 处理成功
- /// </summary>
- PROTO_TRANSFER_HANDLESTATUS_SUCCESS = 4
- }
- /// <summary>
- // 竞拍类别
- /// </summary>
- public enum eAuctionTradeType {
- /// <summary>
- /// 正常委托成交
- /// </summary>
- AUCTIONTRADE_TYPE_MATCH = 1,
- /// <summary>
- /// 流拍成交
- /// </summary>
- AUCTIONTRADE_TYPE_UNSOLD = 2,
- /// <summary>
- /// 违约成交
- /// </summary>
- AUCTIONTRADE_TYPE_BREACH = 3
- }
- /// <summary>
- // 定期强平方式
- /// </summary>
- public enum ePeriodicCloseMode {
- /// <summary>
- /// 无
- /// </summary>
- PERIODIC_CLOSEMODE_NULL = 1,
- /// <summary>
- /// 每日
- /// </summary>
- PERIODIC_CLOSEMODE_DAY = 2,
- /// <summary>
- /// 每周
- /// </summary>
- PERIODIC_CLOSEMODE_WEEK = 3,
- /// <summary>
- /// 每月
- /// </summary>
- PERIODIC_CLOSEMODE_MONTH = 4
- }
- /// <summary>
- // 令牌校验类型
- /// </summary>
- public enum eTokenCheckType {
- /// <summary>
- /// 令牌校验
- /// </summary>
- TOKENCHECKTYPE_TOKON_CHECK = 1,
- /// <summary>
- /// 登陆校验
- /// </summary>
- TOKENCHECKTYPE_LOGIN_CHECK = 2
- }
- /// <summary>
- // 扩展业务处理状态
- /// </summary>
- public enum eMarketingBizDealStatus {
- /// <summary>
- /// 未定义
- /// </summary>
- MARKETINGBIZDEALSTATUS_UNKOMN = 0,
- /// <summary>
- /// 成功
- /// </summary>
- MARKETINGBIZDEALSTATUS_SUCCESS = 1,
- /// <summary>
- /// 失败
- /// </summary>
- MARKETINGBIZDEALSTATUS_FAILED = 2
- }
- /// <summary>
- // 自动报价状态
- /// </summary>
- public enum eAutoQuoteStatus {
- /// <summary>
- /// 未开始
- /// </summary>
- AUTOQUOTESTATUS_NOTBEGIN = 1,
- /// <summary>
- /// 已报价
- /// </summary>
- AUTOQUOTESTATUS_QUOTED = 2,
- /// <summary>
- /// 报价失败
- /// </summary>
- AUTOQUOTESTATUS_QUOTE_FAILED = 3,
- /// <summary>
- /// 报价完成
- /// </summary>
- AUTOQUOTESTATUS_QUOTE_FINISHED = 4,
- /// <summary>
- /// 撤销中
- /// </summary>
- AUTOQUOTESTATUS_QUOTE_CANCELE = 5,
- /// <summary>
- /// 部成部撤
- /// </summary>
- AUTOQUOTESTATUS_QUOTE_PARTIALCANCELED = 6,
- /// <summary>
- /// 撤销
- /// </summary>
- AUTOQUOTESTATUS_QUOTE_CANCELED = 7,
- /// <summary>
- /// 已到期
- /// </summary>
- AUTOQUOTESTATUS_QUOTE_EXPIRE = 8,
- /// <summary>
- /// 报价中
- /// </summary>
- AUTOQUOTESTATUS_QUOTING = 9
- }
- /// <summary>
- // 报价来源
- /// </summary>
- public enum eQuoteSource {
- /// <summary>
- /// 外部行情
- /// </summary>
- QUOTESOURCE_OUT_QUOTE = 0,
- /// <summary>
- /// 管理端手动报价
- /// </summary>
- QUOTESOURCE_MANAGE_QUOTE = 1,
- /// <summary>
- /// 自动报价服务报价
- /// </summary>
- QUOTESOURCE_AUTO_QUOTE = 2,
- /// <summary>
- /// 外部接口报价
- /// </summary>
- QUOTESOURCE_OUT_INTERFACE_QUOTE = 3
- }
- /// <summary>
- // 商品退市账户类型
- /// </summary>
- public enum eGoodsDelistAccountType {
- /// <summary>
- /// 非做市会员
- /// </summary>
- GOODSDELIST_ACCOUNTTYPE_NON_MARKETMAKER = 1,
- /// <summary>
- /// 做市会员
- /// </summary>
- GOODSDELIST_ACCOUNTTYPE_MARKETMAKER = 2
- }
- /// <summary>
- // 期权下单限制
- /// </summary>
- public enum eOptionBuild {
- /// <summary>
- /// 不限制
- /// </summary>
- OPTION_BUILD_NOT_LIMITED = 0,
- /// <summary>
- /// 限制
- /// </summary>
- OPTION_BUILD_LIMITED = 1
- }
- /// <summary>
- // 赔付上限方式
- /// </summary>
- public enum ePayMode {
- /// <summary>
- /// 不限制
- /// </summary>
- PAYMODE_NOT_LIMITED = 1,
- /// <summary>
- /// 权利金倍数
- /// </summary>
- PAYMODE_PREMIUM_TIMES = 2
- }
- /// <summary>
- // 权利金报价方式-挂牌期权
- /// </summary>
- public enum ePremiumQuoteMode {
- /// <summary>
- /// 自动
- /// </summary>
- PREMIUMQUOTEMODE_AUTO = 1,
- /// <summary>
- /// 手动
- /// </summary>
- PREMIUMQUOTEMODE_MANUAL = 2
- }
- /// <summary>
- // 商品期权类型
- /// </summary>
- public enum eGoodsOptionType {
- /// <summary>
- /// 认购
- /// </summary>
- GOODSOPTIONTYPE_CALL = 1,
- /// <summary>
- /// 认沽
- /// </summary>
- GOODSOPTIONTYPE_PUT = 2,
- /// <summary>
- /// 认购认沽
- /// </summary>
- GOODSOPTIONTYPE_CALL_PUT = 3
- }
- /// <summary>
- // 可现货行权类型
- /// </summary>
- public enum eCanGoodsExerciseType {
- /// <summary>
- /// 认购
- /// </summary>
- CANGOODSEXERCISETYPE_CALL = 1,
- /// <summary>
- /// 认沽
- /// </summary>
- CANGOODSEXERCISETYPE_PUT = 2,
- /// <summary>
- /// 认购认沽
- /// </summary>
- CANGOODSEXERCISETYPE_CALL_PUT = 3
- }
- /// <summary>
- // 权利金自动方式-挂牌期权
- /// </summary>
- public enum ePremiumAutoMode {
- /// <summary>
- /// 比率
- /// </summary>
- PREMIUMAUTOMODE_RATIO = 1,
- /// <summary>
- /// 固定
- /// </summary>
- PREMIUMAUTOMODE_FIXED = 2
- }
- /// <summary>
- // 挂牌期权节点
- /// </summary>
- public enum eListingOptionNode {
- /// <summary>
- /// 委托撤单节点
- /// </summary>
- LISTINGOPTIONNODE_ORDER_CANCEL = 1,
- /// <summary>
- /// 结算价节点ID
- /// </summary>
- LISTINGOPTIONNODE_PRICE = 2,
- /// <summary>
- /// 确认行权明细生成节点
- /// </summary>
- LISTINGOPTIONNODE_CONFIRMEXERCISEDETAIL = 3,
- /// <summary>
- /// 冻结卖方货款节点
- /// </summary>
- LISTINGOPTIONNODE_FREESELLERPAYMENT = 4,
- /// <summary>
- /// 解冻买方货款节点
- /// </summary>
- LISTINGOPTIONNODE_UNFREEBUYERPAYMENT = 5,
- /// <summary>
- /// 确认行权平仓节点
- /// </summary>
- LISTINGOPTIONNODE_CONFIRMEXERCISECLOSE = 6,
- /// <summary>
- /// 资金划转节点
- /// </summary>
- LISTINGOPTIONNODE_CAPITALTRANSFER = 7,
- /// <summary>
- /// 违约处理节点
- /// </summary>
- LISTINGOPTIONNODE_BREACHHANDLE = 8,
- /// <summary>
- /// 履约节点
- /// </summary>
- LISTINGOPTIONNODE_PERFORMANCETRADE_APPLY = 9,
- /// <summary>
- /// 行权节点ID
- /// </summary>
- LISTINGOPTIONNODE_EXPIRE = 10,
- /// <summary>
- /// 持仓单备份节点ID
- /// </summary>
- LISTINGOPTIONNODE_HOLDERDETAIL_BACKUP = 11,
- /// <summary>
- /// 单据试算平衡节点ID
- /// </summary>
- LISTINGOPTIONNODE_ORDER_BALANCE_CALCULATE = 12,
- /// <summary>
- /// 持仓单处理节点
- /// </summary>
- LISTINGOPTIONNODE_HOLDERDETAIL_DEAL = 13,
- /// <summary>
- /// 交易分润节点
- /// </summary>
- LISTINGOPTIONNODE_SHARE_PROFIT = 14
- }
- /// <summary>
- // 期权行权明细表-处理状态
- /// </summary>
- public enum eExerciseDetailStatus {
- /// <summary>
- /// 冻结卖方货款节点
- /// </summary>
- EXERCISEDETAIL_FREESELLERPAYMENT = 1,
- /// <summary>
- /// 解冻买方货款节点
- /// </summary>
- EXERCISEDETAIL_UNFREEBUYERPAYMENT = 2,
- /// <summary>
- /// 确认行权平仓
- /// </summary>
- EXERCISEDETAIL_CONFIRMEXERCISECLOSE = 3,
- /// <summary>
- /// 资金划转
- /// </summary>
- EXERCISEDETAIL_CAPITALTRANSFER = 4,
- /// <summary>
- /// 违约处理
- /// </summary>
- EXERCISEDETAIL_BREACHHANDLE = 5,
- /// <summary>
- /// 确认行权成功
- /// </summary>
- EXERCISEDETAIL_CONFIRMEXERCISESUCCESS = 6,
- /// <summary>
- /// 确认行权失败
- /// </summary>
- EXERCISEDETAIL_CONFIRMEXERCISEFAIL = 7,
- /// <summary>
- /// 违约行权
- /// </summary>
- EXERCISEDETAIL_BREACHEXERCISE = 8
- }
- /// <summary>
- // 期权行权明细表-履约状态
- /// </summary>
- public enum eExercisePerformanceStatus {
- /// <summary>
- /// 未履约
- /// </summary>
- EXERCISEDETAIL_PERFORMANCE_WAIT = 1,
- /// <summary>
- /// 履约中
- /// </summary>
- EXERCISEDETAIL_PERFORMANCE_ING = 2,
- /// <summary>
- /// 履约完成
- /// </summary>
- EXERCISEDETAIL_PERFORMANCE_FINISH = 3
- }
- /// <summary>
- // 期权成交对手方式
- /// </summary>
- public enum eTradeMatchMode {
- /// <summary>
- /// 经纪会员自接
- /// </summary>
- TRADEMATCHMODE_MEMBER = 1,
- /// <summary>
- /// 按对手关系
- /// </summary>
- TRADEMATCHMODE_RELATION = 2
- }
- /// <summary>
- // 期权商品是否限制可售数量
- /// </summary>
- public enum eOptionQtyLimit {
- /// <summary>
- /// 不限制
- /// </summary>
- OPTIONQTYLIMIT_NOT_LIMITED = 0,
- /// <summary>
- /// 限制
- /// </summary>
- OPTIONQTYLIMIT_LIMITED = 1
- }
- /// <summary>
- // 扩展成交类型
- /// </summary>
- public enum eMSTradeType {
- /// <summary>
- /// 买建仓
- /// </summary>
- MSTRADETYPE_BUY_OPEN = 1,
- /// <summary>
- /// 卖建仓
- /// </summary>
- MSTRADETYPE_SELL_OPEN = 2,
- /// <summary>
- /// 卖平仓
- /// </summary>
- MSTRADETYPE_SELL_CLOSE = 3,
- /// <summary>
- /// 买平仓
- /// </summary>
- MSTRADETYPE_BUY_CLOSE = 4
- }
- /// <summary>
- // 是否存在买卖价
- /// </summary>
- public enum eIsExsitBidAskPrice {
- /// <summary>
- /// 不存在买卖价
- /// </summary>
- ISEXSITBIDASKPRICE_NO = 0,
- /// <summary>
- /// 存在买卖价
- /// </summary>
- ISEXSITBIDASKPRICE_YES = 1
- }
- /// <summary>
- // 单据成交处理标志
- /// </summary>
- public enum eOrderTradeFlag {
- /// <summary>
- /// 初始化
- /// </summary>
- ORDERTRADEFLAG_INIT = 0,
- /// <summary>
- /// 成交处理
- /// </summary>
- ORDERTRADEFLAG_TRADEPROC = 1,
- /// <summary>
- /// 已成交
- /// </summary>
- ORDERTRADEFLAG_DEALED = 2
- }
- /// <summary>
- // 是否预平仓
- /// </summary>
- public enum eIsPreCLose {
- /// <summary>
- /// 非预平仓
- /// </summary>
- ISPRECLOSE_NO = 0,
- /// <summary>
- /// 预平仓
- /// </summary>
- ISPRECLOSE_YES = 1
- }
- /// <summary>
- // 今日是否平仓
- /// </summary>
- public enum eIsCloseToday {
- /// <summary>
- /// 今日能平仓
- /// </summary>
- ISCLOSETODAY_YES = 0,
- /// <summary>
- /// 今日不能平仓
- /// </summary>
- ISCLOSETODAY_NO = 1
- }
- /// <summary>
- // 客户端类型是否允许登陆
- /// </summary>
- public enum eClientTypeLogin {
- /// <summary>
- /// 不允许
- /// </summary>
- CLIENTTYPELOGIN_NO = 0,
- /// <summary>
- /// 允许
- /// </summary>
- CLIENTTYPELOGIN_YES = 1
- }
- /// <summary>
- // 挂牌期权盘中结算节点
- /// </summary>
- public enum eListingOptionTradeNode {
- /// <summary>
- /// 委托撤单节点
- /// </summary>
- LISTINGOPTIONTRADENODE_ORDER_CANCEL = 0,
- /// <summary>
- /// 结算价节点ID
- /// </summary>
- LISTINGOPTIONTRADENODE_PRICE = 1,
- /// <summary>
- /// 确认行权明细生成节点
- /// </summary>
- LISTINGOPTIONTRADENODE_CONFIRMEXERCISEDETAIL = 2,
- /// <summary>
- /// 冻结卖方货款节点
- /// </summary>
- LISTINGOPTIONTRADENODE_FREESELLERPAYMENT = 3,
- /// <summary>
- /// 解冻买方货款节点
- /// </summary>
- LISTINGOPTIONTRADENODE_UNFREEBUYERPAYMENT = 4,
- /// <summary>
- /// 确认行权平仓节点
- /// </summary>
- LISTINGOPTIONTRADENODE_CONFIRMEXERCISECLOSE = 5,
- /// <summary>
- /// 资金划转节点
- /// </summary>
- LISTINGOPTIONTRADENODE_CAPITALTRANSFER = 6,
- /// <summary>
- /// 违约处理节点
- /// </summary>
- LISTINGOPTIONTRADENODE_BREACHHANDLE = 7,
- /// <summary>
- /// 履约节点
- /// </summary>
- LISTINGOPTIONTRADENODE_PERFORMANCETRADE_APPLY = 8,
- /// <summary>
- /// 行权节点ID
- /// </summary>
- LISTINGOPTIONTRADENODE_EXPIRE = 9,
- /// <summary>
- /// 节点数量
- /// </summary>
- LISTINGOPTIONTRADENODE_NUM = 10
- }
- /// <summary>
- // 是否允许多时段盘中行权
- /// </summary>
- public enum eCanMultiStageType {
- /// <summary>
- /// 不允许
- /// </summary>
- CANMULTISTAGE_NO = 0,
- /// <summary>
- /// 允许
- /// </summary>
- CANMULTISTAGE_YES = 1
- }
- /// <summary>
- // 确认行权是否允许接收行情
- /// </summary>
- public enum eCanAcceptQuoteType {
- /// <summary>
- /// 不接收
- /// </summary>
- CANACCEPTQUOTE_NO = 0,
- /// <summary>
- /// 接收
- /// </summary>
- CANACCEPTQUOTE_YES = 1
- }
- /// <summary>
- // 是否限制买量
- /// </summary>
- public enum eIsBuyLimited {
- /// <summary>
- /// 不限制
- /// </summary>
- ISBUYLIMITED_NO = 0,
- /// <summary>
- /// 限制
- /// </summary>
- ISBUYLIMITED_YES = 1
- }
- /// <summary>
- // 履约资金类型
- /// </summary>
- public enum ePerformanceAmountType {
- /// <summary>
- /// 贷款
- /// </summary>
- AMOUNTTYPE_LOAN = 1,
- /// <summary>
- /// 违约处理
- /// </summary>
- AMOUNTTYPE_CONTRACTED = 2
- }
- /// <summary>
- // 招标类型
- /// </summary>
- public enum eTenderType {
- /// <summary>
- /// 公开招标
- /// </summary>
- TENDERTYPE_OPENLY = 1,
- /// <summary>
- /// 制定招标
- /// </summary>
- TENDERTYPE_DESIGNATED = 2
- }
- /// <summary>
- // 评分类型
- /// </summary>
- public enum eGradeType {
- /// <summary>
- /// 现场评分
- /// </summary>
- GRADETYPE_SITE = 1,
- /// <summary>
- /// 在线评分
- /// </summary>
- GRADETYPE_ONLINE = 2
- }
- /// <summary>
- // 招标状态
- /// </summary>
- public enum eTenderStatus {
- /// <summary>
- /// 待确认
- /// </summary>
- TENDERSTATUS_WAIT_CONFIRM = 1,
- /// <summary>
- /// 招标中
- /// </summary>
- TENDERSTATUS_TENDERING = 10,
- /// <summary>
- /// 已开标
- /// </summary>
- TENDERSTATUS_OPENED = 20,
- /// <summary>
- /// 已评分
- /// </summary>
- TENDERSTATUS_GRADED = 30,
- /// <summary>
- /// 已确定
- /// </summary>
- TENDERSTATUS_CONFIRMED = 40,
- /// <summary>
- /// 公示中
- /// </summary>
- TENDERSTATUS_PUBLICATION = 50,
- /// <summary>
- /// 招标结束
- /// </summary>
- TENDERSTATUS_FINISH = 60,
- /// <summary>
- /// 确认拒绝
- /// </summary>
- TENDERSTATUS_CONFIRM_REJECT = 61,
- /// <summary>
- /// 流标
- /// </summary>
- TENDERSTATUS_ABORTIVE = 62,
- /// <summary>
- /// 已终止
- /// </summary>
- TENDERSTATUS_STOP = 63
- }
- /// <summary>
- // 投标状态
- /// </summary>
- public enum eBidStatus {
- /// <summary>
- /// 已投标
- /// </summary>
- BIDSTATUS_TENDERED = 1,
- /// <summary>
- /// 已开标
- /// </summary>
- BIDSTATUS_OPENED = 10,
- /// <summary>
- /// 已评分
- /// </summary>
- BIDSTATUS_GRADED = 20,
- /// <summary>
- /// 未中标
- /// </summary>
- BIDSTATUS_LOSE = 30,
- /// <summary>
- /// 已中标
- /// </summary>
- BIDSTATUS_WIN = 31,
- /// <summary>
- /// 已终止
- /// </summary>
- BIDSTATUS_STOP = 32
- }
- /// <summary>
- // 中标状态
- /// </summary>
- public enum eWinStatus {
- /// <summary>
- /// 待审核
- /// </summary>
- WINSTATUS_WAIT_AUDIT = 1,
- /// <summary>
- /// 公示中
- /// </summary>
- WINSTATUS_PUBLICATION = 20,
- /// <summary>
- /// 审核拒绝
- /// </summary>
- WINSTATUS_AUDIT_REJECT = 30,
- /// <summary>
- /// 已作废
- /// </summary>
- WINSTATUS_DISABLED = 31,
- /// <summary>
- /// 已中标
- /// </summary>
- WINSTATUS_WIN = 32,
- /// <summary>
- /// 已终止
- /// </summary>
- WINSTATUS_STOP = 33
- }
- /// <summary>
- // 公示标志
- /// </summary>
- public enum eIsPublicity {
- /// <summary>
- /// 不公示
- /// </summary>
- ISPUBLICITY_NOT = 0,
- /// <summary>
- /// 公示
- /// </summary>
- ISPUBLICITY_YES = 1
- }
- /// <summary>
- // 招投标审核状态
- /// </summary>
- public enum eTender_AuditStatus {
- /// <summary>
- /// 审核通过
- /// </summary>
- TENDER_AUDITSTATUS_PASS = 1,
- /// <summary>
- /// 审核拒绝
- /// </summary>
- TENDER_AUDITSTATUS_REJECT = 2
- }
- /// <summary>
- // 招投标确认状态
- /// </summary>
- public enum eTender_ConfirmStatus {
- /// <summary>
- /// 确认通过
- /// </summary>
- TENDER_CONFIRMSTATUS_PASS = 1,
- /// <summary>
- /// 确认拒绝
- /// </summary>
- TENDER_CONFIRMSTATUS_REJECT = 2
- }
- /// <summary>
- // 报价类型
- /// </summary>
- public enum eQuotePriceType {
- /// <summary>
- /// 不报价
- /// </summary>
- QUOTEPRICETYPE_NOT_QUOTEPRICE = 1,
- /// <summary>
- /// 手工报价
- /// </summary>
- QUOTEPRICETYPE_QUOTEPRICE = 2
- }
- /// <summary>
- // 报量类型
- /// </summary>
- public enum eQuoteQtyType {
- /// <summary>
- /// 随机量
- /// </summary>
- QUOTEQTYTYPE_RAND_QTY = 1,
- /// <summary>
- /// 手工报量
- /// </summary>
- QUOTEQTYTYPE_MANUAL_QTY = 2,
- /// <summary>
- /// 沿用量
- /// </summary>
- QUOTEQTYTYPE_USE_OLDQTY = 3
- }
- /// <summary>
- // 招标采购结算节点
- /// </summary>
- public enum eTenderReckonNode {
- /// <summary>
- /// 处理招标开标节点
- /// </summary>
- TENDERRECK_NODE_DEAL_TENDER_OPEN = 1,
- /// <summary>
- /// 处理招标公示节点
- /// </summary>
- TENDERRECK_NODE_DEAL_TENDER_PUBLICATION = 2,
- /// <summary>
- /// 试算平衡节点
- /// </summary>
- TENDERRECK_NODE_TENDER_CALCULATE = 3,
- /// <summary>
- /// 招投标分润节点
- /// </summary>
- TENDERRECK_NODE_SHAREPROFIT = 4
- }
- /// <summary>
- // 报价操作类型
- /// </summary>
- public enum eQuoteOpType {
- /// <summary>
- /// 报价
- /// </summary>
- QUOTEOPTYPE_QUOTE = 1,
- /// <summary>
- /// 撤销报价
- /// </summary>
- QUOTEOPTYPE_CANCEL_QUOTE = 2
- }
- /// <summary>
- // 报价是否撤销
- /// </summary>
- public enum eQuoteCancel {
- /// <summary>
- /// 未撤销
- /// </summary>
- QUOTECANCEL_NOT_CANCEL = 0,
- /// <summary>
- /// 已撤销
- /// </summary>
- QUOTECANCEL_CANCELED = 1
- }
- /// <summary>
- // 报价冻结状态
- /// </summary>
- public enum eQuoteFreezeStatus {
- /// <summary>
- /// 无冻结
- /// </summary>
- QUOTEFREEZESTATUS_NO_FREEZE = 1,
- /// <summary>
- /// 已冻结
- /// </summary>
- QUOTEFREEZESTATUS_FREEZED = 2,
- /// <summary>
- /// 已解冻
- /// </summary>
- QUOTEFREEZESTATUS_UNFREEZED = 3,
- /// <summary>
- /// 冻结中
- /// </summary>
- QUOTEFREEZESTATUS_FREEZING = 4
- }
- /// <summary>
- // 报价请求冻结类型
- /// </summary>
- public enum eQuoteFreezeReqType {
- /// <summary>
- /// 报价冻结
- /// </summary>
- QUOTEFREEZEREQTYPE_QUOTE = 1,
- /// <summary>
- /// 撤销报价解冻
- /// </summary>
- QUOTEQUOTEFREEZESTATUS_CANCEL = 2,
- /// <summary>
- /// 删除无效报价解冻
- /// </summary>
- QUOTEQUOTEFREEZESTATUS_DEL_INVALID_QUOTE = 3,
- /// <summary>
- /// 结算解冻
- /// </summary>
- QUOTEQUOTEFREEZESTATUS_RECK_UNFREEZE = 4,
- /// <summary>
- /// 开市重新冻结
- /// </summary>
- QUOTEQUOTEFREEZESTATUS_MARKET_OPEN_REFREEZE = 5
- }
- /// <summary>
- // 对冲内盘委托状态
- /// </summary>
- public enum eChannelInnerOrderStatus {
- /// <summary>
- /// 委托请求
- /// </summary>
- INNERSTATUS_ORDERREQ = 1,
- /// <summary>
- /// 冻结成功
- /// </summary>
- INNERSTATUS_FREEZESUCC = 2,
- /// <summary>
- /// 委托失败
- /// </summary>
- INNERSTATUS_ORDERFAIL = 3,
- /// <summary>
- /// 委托部成部失败
- /// </summary>
- INNERSTATUS_PARTIAL_TRADE_FAIL = 4,
- /// <summary>
- /// 委托成功
- /// </summary>
- INNERSTATUS_ORDERSUCC = 5,
- /// <summary>
- /// 全部撤销
- /// </summary>
- INNERSTATUS_ALLCANCEL = 6,
- /// <summary>
- /// 部成部撤
- /// </summary>
- INNERSTATUS_PARTIAL_TRADE_CANCELED = 7,
- /// <summary>
- /// 部成部撤部失败
- /// </summary>
- INNERSTATUS_PARTIAL_TRADE_CANCELED_FAIL = 8,
- /// <summary>
- /// 全部成交
- /// </summary>
- INNERSTATUS_ALLTRADE = 9
- }
- /// <summary>
- // 交易规则级别
- /// </summary>
- public enum eTradeRuleLevel {
- /// <summary>
- /// 全部
- /// </summary>
- TRADERULELEVEL_ALL = 1,
- /// <summary>
- /// 交易所级
- /// </summary>
- TRADERULELEVEL_EXCHANGE = 2,
- /// <summary>
- /// 品种级(商品组级)
- /// </summary>
- TRADERULELEVEL_GODOSGRUOP = 3,
- /// <summary>
- /// 合约级别(商品级)
- /// </summary>
- TRADERULELEVEL_GOODS = 4
- }
- /// <summary>
- // 交易规则模板标识
- /// </summary>
- public enum eTradeRuleTmpID {
- /// <summary>
- /// 交易品种限制
- /// </summary>
- TRADERULETMPID_GOODS_LIMIT = 1001,
- /// <summary>
- /// 单笔最大下单量
- /// </summary>
- TRADERULETMPID_MAX_ORDERQTY = 1002,
- /// <summary>
- /// 最大持仓量
- /// </summary>
- TRADERULETMPID_MAX_HOLDERQTY = 1003,
- /// <summary>
- /// 只允许交易主力合约
- /// </summary>
- TRADERULETMPID_MAIN_CONTRACT = 1004,
- /// <summary>
- /// 风险率禁止交易
- /// </summary>
- TRADERULETMPID_TRADE_RISK_LIMIT = 1005,
- /// <summary>
- /// 涨跌停价禁止开仓
- /// </summary>
- TRADERULETMPID_LIMIT_PRICE_NOOPEN = 1006,
- /// <summary>
- /// 日内允许撤单上限
- /// </summary>
- TRADERULETMPID_TODAY_CANCEL_LIMIT = 1007,
- /// <summary>
- /// 日内涨跌停价允许撤单上限
- /// </summary>
- TRADERULETMPID_TODAY_PRICE_CANCEL_LIMIT = 1008,
- /// <summary>
- /// 日内大单允许撤单上限
- /// </summary>
- TRADERULETMPID_TODAY_BIG_CANCEL_LIMIT = 1009,
- /// <summary>
- /// 日内允许开仓上限
- /// </summary>
- TRADERULETMPID_TODAY_MAX_OPEN = 1010,
- /// <summary>
- /// 日内允许开仓次数限制
- /// </summary>
- TRADERULETMPID_TODAY_MAX_COUNT = 1011,
- /// <summary>
- /// 风险率通知/强平
- /// </summary>
- TRADERULETMPID_RISKRATE_NOTIFY_FORCECLOSE = 2001,
- /// <summary>
- /// 安全度通知/强平
- /// </summary>
- TRADERULETMPID_SAFERATE_NOTIFY_FORCECLOSE = 2002,
- /// <summary>
- /// 品种定时通知/强平
- /// </summary>
- TRADERULETMPID_GOODS_TIMEING_NOTIFY_FORCECLOSE = 2003,
- /// <summary>
- /// 保证金定时强平
- /// </summary>
- TRADERULETMPID_MARGIN_TIMEING_FORCECLOSE = 2004,
- /// <summary>
- /// 风险率定时强平
- /// </summary>
- TRADERULETMPID_RISKRATE_TIMEING_FORCECLOSE = 2005,
- /// <summary>
- /// 涨跌停价强平
- /// </summary>
- TRADERULETMPID_LIMIT_PRICE_FORCECLOSE = 2006,
- /// <summary>
- /// 合约到期通知
- /// </summary>
- TRADERULETMPID_GOODS_EXPRIED_NOTIFY = 2007,
- /// <summary>
- /// 合约到期禁止交易
- /// </summary>
- TRADERULETMPID_GOODS_EXPRIED_NOOPEN = 2008,
- /// <summary>
- /// 合约到期强平
- /// </summary>
- TRADERULETMPID_GOODS_EXPRIED_FORCECLOSE = 2009,
- /// <summary>
- /// 安全度禁止交易
- /// </summary>
- TRADERULETMPID_TRADE_SAFETY_LIMIT = 2010
- }
- /// <summary>
- // 交易规则建平仓限制标志
- /// </summary>
- public enum eTradeRuleOpenCloseFlag {
- /// <summary>
- /// 不禁止
- /// </summary>
- TRADERULE_OPENCLOSE_FLAG_NOLIMIT = 0,
- /// <summary>
- /// 禁止
- /// </summary>
- TRADERULE_OPENCLOSE_FLAG_LIMIT = 1
- }
- /// <summary>
- // 外盘撤单处理状态
- /// </summary>
- public enum eChannelOutCancelStatus {
- /// <summary>
- /// 接收报文
- /// </summary>
- OUTCANCELSTATUS_RECVMSG = 1,
- /// <summary>
- /// 发送报文成功
- /// </summary>
- OUTCANCELSTATUS_SENDSUCC = 2,
- /// <summary>
- /// 撤单成功
- /// </summary>
- OUTCANCELSTATUS_CANCELSUCC = 3,
- /// <summary>
- /// 撤单失败
- /// </summary>
- OUTCANCELSTATUS_CANCELFAIL = 4
- }
- /// <summary>
- // 账户风控禁止交易状态
- /// </summary>
- public enum eAccountRiskTradeStatus {
- /// <summary>
- /// 禁开
- /// </summary>
- ACCOUNTRISKTRADESTATUS_LIMIT_OPEN = 1,
- /// <summary>
- /// 禁开禁平
- /// </summary>
- ACCOUNTRISKTRADESTATUS_LIMIT_OPEN_AND_CLOSE = 2,
- /// <summary>
- /// 禁平
- /// </summary>
- ACCOUNTRISKTRADESTATUS_LIMIT_CLOSE = 3
- }
- /// <summary>
- // 通道下单类型
- /// </summary>
- public enum eChannelBuildType
- {
- /// <summary>
- /// --
- /// </summary>
- Domain_No = -1,
- /// <summary>
- /// 建仓
- /// </summary>
- CHANNELBUILDTYPE_OPEN = 1,
- /// <summary>
- /// 平仓
- /// </summary>
- CHANNELBUILDTYPE_CLOSE = 2,
- /// <summary>
- /// 自动开平
- /// </summary>
- EntrustOrderFrame_Auto_Open_Close = 3
- }
- /// <summary>
- // 操作类型
- /// </summary>
- public enum eChannelOperateType {
- /// <summary>
- /// 正常下单
- /// </summary>
- CHANNELOPERATETYPE_ORDER = 1,
- /// <summary>
- /// 斩仓
- /// </summary>
- CHANNELOPERATETYPE_RISK = 2,
- /// <summary>
- /// 交易下单
- /// </summary>
- CHANNELOPERATETYPE_TRADE = 3,
- /// <summary>
- /// 人工核单
- /// </summary>
- CHANNELOPERATETYPE_OUTSIDE_MANUAL = 4,
- /// <summary>
- /// 止盈止损
- /// </summary>
- CHANNELOPERATETYPE_SPSL = 5,
- /// <summary>
- /// API跟单委托
- /// </summary>
- CHANNELOPERATETYPE_API = 6,
- /// <summary>
- /// 托管下单
- /// </summary>
- CHANNELOPERATETYPE_TRUSTEE = 7
- }
- /// <summary>
- // 委托来源
- /// </summary>
- public enum eChannelOrderSrc {
- /// <summary>
- /// 客户端
- /// </summary>
- CHANNELORDERSRC_CLIENT = 1,
- /// <summary>
- /// 风控服务
- /// </summary>
- CHANNELORDERSRC_RISK = 2,
- /// <summary>
- /// 管理端
- /// </summary>
- CHANNELORDERSRC_MANAGE = 3,
- /// <summary>
- /// 对冲平台
- /// </summary>
- CHANNELORDERSRC_MHP = 4,
- /// <summary>
- /// 交易服务
- /// </summary>
- CHANNELORDERSRC_TRADE = 5,
- /// <summary>
- /// 跟单服务
- /// </summary>
- CHANNELORDERSRC_PROGRAMMATIC = 6
- }
- /// <summary>
- // 强平价格方式
- /// </summary>
- public enum eClosePriceMode {
- /// <summary>
- /// 市价
- /// </summary>
- CLOSEPRICEMODE_MARKET = 1,
- /// <summary>
- /// 最新价
- /// </summary>
- CLOSEPRICEMODE_LAST = 2,
- /// <summary>
- /// 涨跌停价
- /// </summary>
- CLOSEPRICEMODE_LIMIT = 3
- }
- /// <summary>
- // 交易配置操作类型
- /// </summary>
- public enum eTradeConfigOperateType {
- /// <summary>
- /// 增加
- /// </summary>
- TRADECONFIGOPERATETYPE_ADD = 1,
- /// <summary>
- /// 删除
- /// </summary>
- TRADECONFIGOPERATETYPE_DEL = 2,
- /// <summary>
- /// 修改
- /// </summary>
- TRADECONFIGOPERATETYPE_UPDATE = 3
- }
- /// <summary>
- // 交易规则修改类型
- /// </summary>
- public enum eTradeRuleChangeType {
- /// <summary>
- /// 风控规则
- /// </summary>
- TRADERULECHANGETYPE_RULE = 1,
- /// <summary>
- /// 风控规则组
- /// </summary>
- TRADERULECHANGETYPE_RULEGROUP = 2
- }
- /// <summary>
- // 交易模板类型
- /// </summary>
- public enum eTradeTemplateType {
- /// <summary>
- /// 保证金模板
- /// </summary>
- TRADETEMPLATETYPE_MARGIN = 1,
- /// <summary>
- /// 费用模板
- /// </summary>
- TRADETEMPLATETYPE_FEE = 2,
- /// <summary>
- /// 汇率模板
- /// </summary>
- TRADETEMPLATETYPE_RATE = 3
- }
- /// <summary>
- // 撤单状态
- /// </summary>
- public enum eCancelStatus {
- /// <summary>
- /// 接收报文
- /// </summary>
- CANCELSTATUS_RECVMSG = 1,
- /// <summary>
- /// 发送报文成功
- /// </summary>
- CANCELSTATUS_SENDSUCC = 2,
- /// <summary>
- /// 撤单成功
- /// </summary>
- CANCELSTATUS_CANCELSUCC = 3,
- /// <summary>
- /// 撤单失败
- /// </summary>
- CANCELSTATUS_CANCELFAIL = 4
- }
- /// <summary>
- // 通道交易市场待开市日志表状态
- /// </summary>
- public enum eHedgeMarketOpenLogStatus {
- /// <summary>
- /// 待开市
- /// </summary>
- MARKETOPENSTATUS_PENDING = 1,
- /// <summary>
- /// 开市
- /// </summary>
- MARKETOPENSTATUS_OPEN = 2,
- /// <summary>
- /// 手工休市
- /// </summary>
- MARKETOPENSTATUS_PAUSE_MANUAL = 4,
- /// <summary>
- /// 闭市
- /// </summary>
- MARKETOPENSTATUS_CLOSE = 5,
- /// <summary>
- /// 日终处理开始
- /// </summary>
- MARKETOPENSTATUS_DAYEND_PROCESSING = 10,
- /// <summary>
- /// 日终处理成功
- /// </summary>
- MARKETOPENSTATUS_DAYEND_SUCCESS = 11,
- /// <summary>
- /// 日终处理失败
- /// </summary>
- MARKETOPENSTATUS_DAYEND_FAILED = 12
- }
- /// <summary>
- // 内部撤单处理状态
- /// </summary>
- public enum eChannelInnerHandleStatus {
- /// <summary>
- /// 待处理
- /// </summary>
- INNERHANDLESTATUS_WAIT = 1,
- /// <summary>
- /// 处理成功
- /// </summary>
- INNERHANDLESTATUS_SUCCESS = 2,
- /// <summary>
- /// 处理失败
- /// </summary>
- INNERHANDLESTATUS_FAIL = 3
- }
- /// <summary>
- // 通道交易结算节点ID
- /// </summary>
- public enum eChannelReckonNodeID {
- /// <summary>
- /// 结算价节点ID
- /// </summary>
- CHANNELRECKNODEID_RECK_PRICE = 1,
- /// <summary>
- /// 母账号单据校验节点
- /// </summary>
- CHANNELRECKNODEID_PARENTACCOUNT_CHECK = 2,
- /// <summary>
- /// 委托单撤单处理节点
- /// </summary>
- CHANNELRECKNODEID_ORDER_CANCEL = 3,
- /// <summary>
- /// 持仓单处理节点
- /// </summary>
- CHANNELRECKNODEID_HEDGE_INNERHOLDERDETAIL_DEAL = 4,
- /// <summary>
- /// 交易分润节点
- /// </summary>
- CHANNELRECKNODEID_SHARE_PROFIT = 5,
- /// <summary>
- /// 断开下单平台链路
- /// </summary>
- CHANNELRECKNODEID_CLOSE_CHANNEL = 6,
- /// <summary>
- /// 锁仓认购到期节点
- /// </summary>
- CHANNELRECKNODEID_LOCKORDER_EXPIRED = 7,
- /// <summary>
- /// 场外委托单撤单处理节点
- /// </summary>
- CHANNELRECKNODEID_CANCEL_ORDER = 8,
- /// <summary>
- /// 止盈止损到期处理节点
- /// </summary>
- CHANNELRECKNODEID_SPSL_EXPIRED = 9
- }
- /// <summary>
- // 对冲服务业务类型
- /// </summary>
- public enum eMhpBussniessType {
- /// <summary>
- /// 无业务
- /// </summary>
- BT_NULL = 0,
- /// <summary>
- /// 委托单
- /// </summary>
- BT_ORDER = 1,
- /// <summary>
- /// 撤单
- /// </summary>
- BT_CANCELORDER = 2,
- /// <summary>
- /// 成交单
- /// </summary>
- BT_TRADE = 3,
- /// <summary>
- /// 资金
- /// </summary>
- BT_AMOUNT = 4,
- /// <summary>
- /// 头寸
- /// </summary>
- BT_POSTION = 5,
- /// <summary>
- /// 开市查询动作:保证金查询
- /// </summary>
- BT_QRYACCMARGIN = 6,
- /// <summary>
- /// 开市查询动作:交易所币种转换汇率查询
- /// </summary>
- BT_QRYCURRENCYEXCHRATE = 7,
- /// <summary>
- /// 开市查询动作:查询外部手续费
- /// </summary>
- BT_QRYACCFEERENT = 8
- }
- /// <summary>
- // 风控触发操作类型
- /// </summary>
- public enum eTriggerOperate {
- /// <summary>
- /// 禁止开仓
- /// </summary>
- TRIGGER_LIMITOPEN = 1,
- /// <summary>
- /// 禁止平仓
- /// </summary>
- TRIGGER_LIMITCLOSE = 2,
- /// <summary>
- /// 撤销委托
- /// </summary>
- TRIGGER_CANCELORDER = 3,
- /// <summary>
- /// 风控通知
- /// </summary>
- TRIGGER_NOTIFY = 4,
- /// <summary>
- /// 风控强平
- /// </summary>
- TRIGGER_FORCECLOSE = 5,
- /// <summary>
- /// 禁止撤单
- /// </summary>
- TRIGGER_LIMITCANCEL = 6
- }
- /// <summary>
- // 是否关联内部委托单
- /// </summary>
- public enum eHasInnerOrderFlag {
- /// <summary>
- /// 无
- /// </summary>
- HASINNERORDER_NO = 0,
- /// <summary>
- /// 有
- /// </summary>
- HASINNERORDER_YES = 1
- }
- /// <summary>
- // 是否已发送
- /// </summary>
- public enum eIsSend {
- /// <summary>
- /// 发送成功
- /// </summary>
- ISSEND_SENDSUCC = 1,
- /// <summary>
- /// 未发送
- /// </summary>
- ISSEND_NO = 2,
- /// <summary>
- /// 发送失败
- /// </summary>
- ISSEND_SENDFAIL = 3
- }
- /// <summary>
- // 成交单检查状态
- /// </summary>
- public enum eHedgeTradeCheckStatus {
- /// <summary>
- /// 交易缺失
- /// </summary>
- HEDGETRADECHECK_TRADEMISS = 1,
- /// <summary>
- /// 数据不一致
- /// </summary>
- HEDGETRADECHECK_DATAMISS = 2,
- /// <summary>
- /// 平台缺失
- /// </summary>
- HEDGETRADECHECK_MHPPLATMISS = 3
- }
- /// <summary>
- // 对冲外部成交检查表处理状态
- /// </summary>
- public enum eReckonHedgeOutCheckHandleStatus {
- /// <summary>
- /// 未处理
- /// </summary>
- RECKONHEDGEOUTCHECK_UNHANDLE = 1,
- /// <summary>
- /// 处理失败
- /// </summary>
- RECKONHEDGEOUTCHECK_HANDLEFAIL = 2,
- /// <summary>
- /// 处理成功
- /// </summary>
- RECKONHEDGEOUTCHECK_HANDLESUCC = 3,
- /// <summary>
- /// 正确数据不需要调整
- /// </summary>
- RECKONHEDGEOUTCHECK_SUCCDATA = 4
- }
- /// <summary>
- // 预埋单触发类型
- /// </summary>
- public enum ePrePosTriggerType {
- /// <summary>
- /// 最新成交价
- /// </summary>
- PREPOS_TRIGGERTYPE_LAST = 1,
- /// <summary>
- /// 买一价
- /// </summary>
- PREPOS_TRIGGERTYPE_BID = 2,
- /// <summary>
- /// 卖一价
- /// </summary>
- PREPOS_TRIGGERTYPE_ASK = 3
- }
- /// <summary>
- // 节分成点类型
- /// </summary>
- public enum eDivideNodeType {
- /// <summary>
- /// 会员组
- /// </summary>
- DIVIDENODETYPE_MEMBERGROUP = 1,
- /// <summary>
- /// 机构
- /// </summary>
- DIVIDENODETYPE_AREA = 2
- }
- /// <summary>
- // 渠道交易Mhp处理状态
- /// </summary>
- public enum eMhpHandleStatus {
- /// <summary>
- /// 登陆Mhp成功
- /// </summary>
- MHPHANDLESTATUS_LOGININSUCC = 1,
- /// <summary>
- /// 登陆Mhp失败
- /// </summary>
- MHPHANDLESTATUS_LOGININFAIL = 2,
- /// <summary>
- /// 登出Mhp
- /// </summary>
- MHPHANDLESTATUS_LOGINOUT = 3
- }
- /// <summary>
- // 系统分润模式
- /// </summary>
- public enum eSystemShareProfitMode {
- /// <summary>
- /// 固定模式
- /// </summary>
- SYSTEM_SHAREPROFITMODE_FIXED = 1,
- /// <summary>
- /// 树形模式
- /// </summary>
- SYSTEM_SHAREPROFITMODE_TREEFROM = 2
- }
- /// <summary>
- // 交易授信标志
- /// </summary>
- public enum eTradeCreditFlag {
- /// <summary>
- /// 不授信
- /// </summary>
- TRADE_CREDITFLAG_NO = 0,
- /// <summary>
- /// 授信
- /// </summary>
- TRADE_CREDITFLAG_YES = 1
- }
- /// <summary>
- // 成交类型
- /// </summary>
- public enum eChannelTradeType {
- /// <summary>
- /// 正常委托成交
- /// </summary>
- CHANNELTRADETYPE_NORMAL_ORDER = 1,
- /// <summary>
- /// 风控斩仓成交
- /// </summary>
- CHANNELTRADETYPE_CUT_RISK_ORDER = 2,
- /// <summary>
- /// 修正持仓成交
- /// </summary>
- CHANNELTRADETYPE_AMENDHOLDER_ORDER = 3,
- /// <summary>
- /// 管理端斩仓成交
- /// </summary>
- CHANNELTRADETYPE_CUT_MANAGE_ORDER = 4,
- /// <summary>
- /// 锁仓赠送成交
- /// </summary>
- CHANNELTRADETYPE_LOCK_ORDER = 5,
- /// <summary>
- /// 认购赠送成交
- /// </summary>
- CHANNELTRADETYPE_BUY_ORDER = 6,
- /// <summary>
- /// 场外手动成交
- /// </summary>
- CHANNELTRADETYPE_OUTSIDE_MANUAL = 7,
- /// <summary>
- /// API跟单成交
- /// </summary>
- CHANNELTRADETYPE_API = 8
- }
- /// <summary>
- // 交割协议平仓价格类型
- /// </summary>
- public enum eDeliveryPriceType {
- /// <summary>
- /// 交割平仓建仓价
- /// </summary>
- DELIVERY_CLOSE_OPENPRICE = 0,
- /// <summary>
- /// 交割平仓指定价
- /// </summary>
- DELIVERY_CLOSE_SPECIFYRICE = 1
- }
- /// <summary>
- // 分成费用类型
- /// </summary>
- public enum eDivideFeeType {
- /// <summary>
- /// 1:交易手续费(101,102, 201, 202)(会员部分)
- /// </summary>
- DIVIDEFEETYPE_MEMBER_TRADECHARGE = 1,
- /// <summary>
- /// 2:交易手续费(301,302)(交易所部分)
- /// </summary>
- DIVIDEFEETYPE_EXCHANGE_TRADECHARGE = 2,
- /// <summary>
- /// 3:过夜费(110-过夜费(利息))(交易所投资者部分)
- /// </summary>
- DIVIDEFEETYPE_EXCHANGE_INTERESTCHARGE = 3,
- /// <summary>
- /// 3:过夜费(110-过夜费(利息))(交易所会员部分)
- /// </summary>
- DIVIDEFEETYPE_EXCHANGE_MEMBER_INTERESTCHARGE = 4,
- /// <summary>
- /// 交易手续费-会员交易所部分(301,302)
- /// </summary>
- DIVIDEFEETYPE_EXCHANGE_MEMBER_TRADECHARGE = 5,
- /// <summary>
- /// 交割手续费-投资者会员部分 (205,206)
- /// </summary>
- DIVIDEFEETYPE_INVESTOR_MEMBER_DELIVERYCHARGE = 6,
- /// <summary>
- /// 交割手续费-投资者交易所部分(305,306)
- /// </summary>
- DIVIDEFEETYPE_INVESTOR_EXCHANGE_DELIVERYCHARGE = 7,
- /// <summary>
- /// 交割手续费-会员交易所部分(305,306)
- /// </summary>
- DIVIDEFEETYPE_EXCHANGE_MEMBER_DELIVERYCHARGE = 8,
- /// <summary>
- /// 递延费2-投资者会员部分 (211,212)
- /// </summary>
- DIVIDEFEETYPE_INVESTOR_MEMBER_DEFERCHARGE = 9,
- /// <summary>
- /// 递延费2-投资者交易所部分(311,312)
- /// </summary>
- DIVIDEFEETYPE_INVESTOR_EXCHANGE_DEFERCHARGE = 10,
- /// <summary>
- /// 递延费2-会员交易所部分(311,312)
- /// </summary>
- DIVIDEFEETYPE_EXCHANGE_MEMBER_DEFERCHARGE = 11,
- /// <summary>
- /// 开户奖励费
- /// </summary>
- DIVIDEFEETYPE_OPENACCOUNT = 12,
- /// <summary>
- /// 入金奖励费
- /// </summary>
- DIVIDEFEETYPE_DEPOSIT = 13,
- /// <summary>
- /// 普通净创收
- /// </summary>
- DIVIDEFEETYPE_NORMAL = 14,
- /// <summary>
- /// 信用净创收
- /// </summary>
- DIVIDEFEETYPE_CREDIT = 15,
- /// <summary>
- /// 期权净创收
- /// </summary>
- DIVIDEFEETYPE_OPTION = 16
- }
- /// <summary>
- // 交割价格规则
- /// </summary>
- public enum eDeliveryPriceRule {
- /// <summary>
- /// 行情价
- /// </summary>
- DELIVERYPRICERULE_QUOTEPRICE = 1,
- /// <summary>
- /// 建仓价
- /// </summary>
- DELIVERYPRICERULE_OPENPRICE = 2
- }
- /// <summary>
- // 配送状态对应表TakeDeliveryDistributeInfo
- /// </summary>
- public enum eDistributeStatus {
- /// <summary>
- /// 待审核
- /// </summary>
- DISTRIBUTESTATUS_PENDING = 0,
- /// <summary>
- /// 待输入
- /// </summary>
- DISTRIBUTESTATUS_INPUTING = 1,
- /// <summary>
- /// 待确认
- /// </summary>
- DISTRIBUTESTATUS_ACKING = 2,
- /// <summary>
- /// 确认拒绝
- /// </summary>
- DISTRIBUTESTATUS_REFUSE = 3,
- /// <summary>
- /// 已确认
- /// </summary>
- DISTRIBUTESTATUS_ACKED = 4,
- /// <summary>
- /// 已发布
- /// </summary>
- DISTRIBUTESTATUS_PUBLISHED = 5,
- /// <summary>
- /// 已支付
- /// </summary>
- DISTRIBUTESTATUS_PAYED = 6,
- /// <summary>
- /// 已撤销
- /// </summary>
- DISTRIBUTESTATUS_CANCLE = 7,
- /// <summary>
- /// 发布失败
- /// </summary>
- DISTRIBUTESTATUS_PUBLISHED_FAIL = 8
- }
- /// <summary>
- // 费用交易类型
- /// </summary>
- public enum eFeeTradeType {
- /// <summary>
- /// 投资者自营
- /// </summary>
- FEETRADETYPE_INVESTOR = 1,
- /// <summary>
- /// 做市
- /// </summary>
- FEETRADETYPE_MARKETMAKE = 2
- }
- /// <summary>
- // 内部交易费用
- /// </summary>
- public enum eTradeFeeEx {
- /// <summary>
- /// 会员建仓(买)手续费
- /// </summary>
- TRADEFEEEX_MEMBEROPENCHARGE = 201,
- /// <summary>
- /// 会员平仓(卖)手续费
- /// </summary>
- TRADEFEEEX_MEMBERCLOSECHARGE = 202,
- /// <summary>
- /// 会员买交割手续费
- /// </summary>
- TRADEFEEEX_MEMBERBUYDELIVERYCHARGE = 205,
- /// <summary>
- /// 会员卖交割手续费
- /// </summary>
- TRADEFEEEX_MEMBERSELLDELIVERYCHARGE = 206,
- /// <summary>
- /// 会员买递延费2
- /// </summary>
- TRADEFEEEX_MEMBERBUYDEFERCHARGE = 211,
- /// <summary>
- /// 会员卖递延费2
- /// </summary>
- TRADEFEEEX_MEMBERSELLDEFERCHARGE = 212,
- /// <summary>
- /// 交易所建仓(买)手续费
- /// </summary>
- TRADEFEEEX_EXCHOPENCHARGE = 301,
- /// <summary>
- /// 交易所平仓(卖)手续费
- /// </summary>
- TRADEFEEEX_EXCHCLOSECHARGE = 302,
- /// <summary>
- /// 交易所买交割手续费
- /// </summary>
- TRADEFEEEX_EXCHBUYDELIVERYCHARGE = 305,
- /// <summary>
- /// 交易所卖交割手续费
- /// </summary>
- TRADEFEEEX_EXCHSELLDELIVERYCHARGE = 306,
- /// <summary>
- /// 交易所买递延费2
- /// </summary>
- TRADEFEEEX_EXCHBUYDEFERCHARGE = 311,
- /// <summary>
- /// 交易所卖递延费2
- /// </summary>
- TRADEFEEEX_EXCHSELLDEFERCHARGE = 312
- }
- /// <summary>
- // 数据库价格金额整数保存标志
- /// </summary>
- public enum eDbIntegerSave {
- /// <summary>
- /// 否-数据库存小数
- /// </summary>
- DB_INTEGER_SAVE_NO = 0,
- /// <summary>
- /// 是-数据库存整数
- /// </summary>
- DB_INTEGER_SAVE_YES = 1
- }
- /// <summary>
- // 是否议价标志
- /// </summary>
- public enum eWRTradeCanBarGain {
- /// <summary>
- /// 挂牌不可议价;摘牌非议价
- /// </summary>
- CANBARGAIN_NO = 0,
- /// <summary>
- /// 挂牌可议价;摘牌是议价
- /// </summary>
- CANBARGAIN_YES = 1
- }
- /// <summary>
- // 仓单贸易议价申请状态
- /// </summary>
- public enum eWRTradeBargainApplyStatus {
- /// <summary>
- /// 待确认
- /// </summary>
- BARGAINAPPLYSTATUS_PENDING = 1,
- /// <summary>
- /// 已确认
- /// </summary>
- BARGAINAPPLYSTATUS_CONFIRMED = 2,
- /// <summary>
- /// 已拒绝
- /// </summary>
- BARGAINAPPLYSTATUS_REJECTED = 3,
- /// <summary>
- /// 已撤销
- /// </summary>
- BARGAINAPPLYSTATUS_CANCEL = 4,
- /// <summary>
- /// 系统撤销
- /// </summary>
- BARGAINAPPLYSTATUS_SYSCANCEL = 5,
- /// <summary>
- /// 处理失败
- /// </summary>
- BARGAINAPPLYSTATUS_FAILED = 6
- }
- /// <summary>
- // 账户服务操作子指令类型
- /// </summary>
- public enum eAccountCmdOp {
- /// <summary>
- /// 资金冻结
- /// </summary>
- ACCOUNTCMDOP_TA_FREEZE = 2000,
- /// <summary>
- /// 资金最大冻结
- /// </summary>
- ACCOUNTCMDOP_TA_MAX_FREEZE = 2001,
- /// <summary>
- /// 资金解冻
- /// </summary>
- ACCOUNTCMDOP_TA_UNFREEZE = 2002,
- /// <summary>
- /// 资金增加
- /// </summary>
- ACCOUNTCMDOP_TA_INCREASE = 2003,
- /// <summary>
- /// 资金减少
- /// </summary>
- ACCOUNTCMDOP_TA_DECREASE = 2004,
- /// <summary>
- /// 资金最大减少
- /// </summary>
- ACCOUNTCMDOP_TA_MAX_DECREASE = 2005,
- /// <summary>
- /// 头寸冻结
- /// </summary>
- ACCOUNTCMDOP_TRADE_POS_FREEZE = 2100,
- /// <summary>
- /// 头寸最大冻结
- /// </summary>
- ACCOUNTCMDOP_POS_MAX_FREEZE = 2101,
- /// <summary>
- /// 头寸解冻
- /// </summary>
- ACCOUNTCMDOP_POS_UNFREEZE = 2102,
- /// <summary>
- /// 头寸增加
- /// </summary>
- ACCOUNTCMDOP_POS_INCREASE = 2103,
- /// <summary>
- /// 头寸减少
- /// </summary>
- ACCOUNTCMDOP_POS_DECREASE = 2104,
- /// <summary>
- /// 头寸最大减少
- /// </summary>
- ACCOUNTCMDOP_POS_MAX_DECREASE = 2105,
- /// <summary>
- /// 头寸持仓金额增加
- /// </summary>
- ACCOUNTCMDOP_POS_AMOUNT_INCREASE = 2106,
- /// <summary>
- /// 头寸持仓金额减少
- /// </summary>
- ACCOUNTCMDOP_POS_AMOUNT_DECREASE = 2107,
- /// <summary>
- /// T+N头寸冻结
- /// </summary>
- ACCOUNTCMDOP_POS_TN_FREEZE = 2108,
- /// <summary>
- /// T+N头寸最大冻结
- /// </summary>
- ACCOUNTCMDOP_POS_TN_MAX_FREEZE = 2109,
- /// <summary>
- /// T+N头寸解冻
- /// </summary>
- ACCOUNTCMDOP_POS_TN_UNFREEZE = 2110,
- /// <summary>
- /// T+N头寸增加(T4)
- /// </summary>
- ACCOUNTCMDOP_POS_TN_INCREASE = 2111,
- /// <summary>
- /// T+N头寸减少(T4)
- /// </summary>
- ACCOUNTCMDOP_POS_TN_DECREASE = 2112,
- /// <summary>
- /// T+N头寸成交
- /// </summary>
- ACCOUNTCMDOP_POS_TN_DEAL = 2113,
- /// <summary>
- /// 仓单头寸冻结
- /// </summary>
- ACCOUNTCMDOP_WRPOS_FREEZE = 2200,
- /// <summary>
- /// 仓单头寸最大冻结
- /// </summary>
- ACCOUNTCMDOP_WRPOS_MAX_FREEZE = 2201,
- /// <summary>
- /// 仓单头寸解冻
- /// </summary>
- ACCOUNTCMDOP_WRPOS_UNFREEZE = 2202,
- /// <summary>
- /// 仓单头寸增加
- /// </summary>
- ACCOUNTCMDOP_WRPOS_INCREASE = 2203,
- /// <summary>
- /// 仓单头寸减少
- /// </summary>
- ACCOUNTCMDOP_WRPOS_DECREASE = 2204,
- /// <summary>
- /// 仓单头寸最大减少
- /// </summary>
- ACCOUNTCMDOP_WRPOS_MAX_DECREASE = 2205,
- /// <summary>
- /// 订单仓单头寸总数量增加--仓单转订单时同时发出
- /// </summary>
- ACCOUNTCMDOP_WRPOS_TRWRPOS_INCREASE = 2206,
- /// <summary>
- /// 订单仓单头寸总数量减少--订单转仓单时同时发出
- /// </summary>
- ACCOUNTCMDOP_WRPOS_TRWRPOS_DECREASE = 2207,
- /// <summary>
- /// 订单仓单头寸冻结
- /// </summary>
- ACCOUNTCMDOP_TRWRPOS_FREEZE = 2300,
- /// <summary>
- /// 订单仓单头寸最大冻结
- /// </summary>
- ACCOUNTCMDOP_TRWRPOS_MAX_FREEZE = 2301,
- /// <summary>
- /// 订单仓单头寸解冻
- /// </summary>
- ACCOUNTCMDOP_TRWRPOS_UNFREEZE = 2302,
- /// <summary>
- /// 订单仓单头寸增加
- /// </summary>
- ACCOUNTCMDOP_TRWRPOS_INCREASE = 2303,
- /// <summary>
- /// 订单仓单头寸减少
- /// </summary>
- ACCOUNTCMDOP_TRWRPOS_DECREASE = 2304,
- /// <summary>
- /// 订单仓单头寸最大减少
- /// </summary>
- ACCOUNTCMDOP_TRWRPOS_MAX_DECREASE = 2305,
- /// <summary>
- /// 积分冻结
- /// </summary>
- ACCOUNTCMDOP_SCORE_FREEZE = 2400,
- /// <summary>
- /// 积分最大冻结
- /// </summary>
- ACCOUNTCMDOP_SCORE_MAX_FREEZE = 2401,
- /// <summary>
- /// 积分解冻
- /// </summary>
- ACCOUNTCMDOP_SCORE_UNFREEZE = 2402,
- /// <summary>
- /// 积分增加
- /// </summary>
- ACCOUNTCMDOP_SCORE_INCREASE = 2403,
- /// <summary>
- /// 积分减少
- /// </summary>
- ACCOUNTCMDOP_SCORE_DECREASE = 2404,
- /// <summary>
- /// 积分最大减少
- /// </summary>
- ACCOUNTCMDOP_SCORE_MAX_DECREASE = 2405,
- /// <summary>
- /// 积分代扣(积分服务商)
- /// </summary>
- ACCOUNTCMDOP_SCORE_WITHHOLD = 2406,
- /// <summary>
- /// 期权建仓
- /// </summary>
- ACCOUNTCMDOP_OPTION_OPEN = 2500,
- /// <summary>
- /// 期权行权
- /// </summary>
- ACCOUNTCMDOP_OPTION_EXERCISE = 2501,
- /// <summary>
- /// 期权对冲
- /// </summary>
- ACCOUNTCMDOP_OPTION_HEDGE = 2502,
- /// <summary>
- /// 机构手续费科目 -- 2201科目
- /// </summary>
- ACCOUNTCMDOP_SUBJECT_AREAFEE = 9000,
- /// <summary>
- /// 履约扣款科目 -- 2202科目
- /// </summary>
- ACCOUNTCMDOP_SUBJECT_PERDEDUCT = 9001,
- /// <summary>
- /// 商城扣款科目 -- 2203科目
- /// </summary>
- ACCOUNTCMDOP_SUBJECT_MALLDEDUCT = 9002,
- /// <summary>
- /// 其它金额科目增加 -- 2299科目
- /// </summary>
- ACCOUNTCMDOP_SUBJECT_OTHERAMOUNT = 9003,
- /// <summary>
- /// 交易所手续费科目增加 -- 3301科目
- /// </summary>
- ACCOUNTCMDOP_SUBJECT_EXCHANGFEE = 9004,
- /// <summary>
- /// 汇率换算科目增加 -- 3302科目
- /// </summary>
- ACCOUNTCMDOP_SUBJECT_RATE = 9005,
- /// <summary>
- /// 交易所违约收入科目增加 -- 3303科目
- /// </summary>
- ACCOUNTCMDOP_SUBJECT_EXBREACHINCOME = 9006,
- /// <summary>
- /// 商城代扣(积分)科目增加 -- 4201科目
- /// </summary>
- ACCOUNTCMDOP_SUBJECT_MALLWITHHOLD = 9007,
- /// <summary>
- /// 交易授信科目增加 -- 4202科目
- /// </summary>
- ACCOUNTCMDOP_SUBJECT_TRADECREDIT = 9008
- }
- /// <summary>
- // 市场运行变更类型
- /// </summary>
- public enum eMarketRunChangeType {
- /// <summary>
- /// 市场运行状态变更
- /// </summary>
- MARKETRUN_CHANGETYPE_STATUS = 1,
- /// <summary>
- /// 市场运行阶段变更
- /// </summary>
- MARKETRUN_CHANGETYPE_STEP = 2,
- /// <summary>
- /// 市场运行未变更
- /// </summary>
- MARKETRUN_CHANGETYPE_NONE = 3
- }
- /// <summary>
- // 操作资金类型
- /// </summary>
- public enum eOpAmountType {
- /// <summary>
- /// 占用保证金
- /// </summary>
- OPAMOUNTTYPE_OCCUPY = 1,
- /// <summary>
- /// 其他冻结保证金
- /// </summary>
- OPAMOUNTTYPE_OTHER_FREEZE = 2,
- /// <summary>
- /// 手续费
- /// </summary>
- OPAMOUNTTYPE_FEE = 3,
- /// <summary>
- /// 授信金额
- /// </summary>
- OPAMOUNTTYPE_CREDIT = 4,
- /// <summary>
- /// 其它授信金额
- /// </summary>
- OPAMOUNTTYPE_OTHER_CREDIT = 5,
- /// <summary>
- /// 出金冻结
- /// </summary>
- OPAMOUNTTYPE_WITHDRAW_FREEZE = 6,
- /// <summary>
- /// 平仓盈亏
- /// </summary>
- OPAMOUNTTYPE_PROFIT_LOSS = 7,
- /// <summary>
- /// 划转金额
- /// </summary>
- OPAMOUNTTYPE_TRANSFER_AMOUNT = 8,
- /// <summary>
- /// 其他收入支出
- /// </summary>
- OPAMOUNTTYPE_OTHERINCOME_OR_OTHERPAY = 9,
- /// <summary>
- /// 出入金
- /// </summary>
- OPAMOUNTTYPE_DEPOSIT_OR_WITHDRAW = 10,
- /// <summary>
- /// 三方出入金
- /// </summary>
- OPAMOUNTTYPE_THIRD_DEPOSIT_OR_WITHDRAW = 11,
- /// <summary>
- /// 冻结保证金
- /// </summary>
- OPAMOUNTTYPE_FREEZE = 12,
- /// <summary>
- /// 递延费
- /// </summary>
- OPAMOUNTTYPE_DEFERRED_FEE = 13,
- /// <summary>
- /// 持仓过夜费
- /// </summary>
- OPAMOUNTTYPE_INTEREST_FEE = 14,
- /// <summary>
- /// 调期费
- /// </summary>
- OPAMOUNTTYPE_SWAP_FEE = 15,
- /// <summary>
- /// 利息
- /// </summary>
- OPAMOUNTTYPE_INTERESTCHARGE_FEE = 16,
- /// <summary>
- /// 结算盈亏
- /// </summary>
- OPAMOUNTTYPE_SETTLE_PROFIT_LOSS = 17,
- /// <summary>
- /// 交易所费用科目
- /// </summary>
- OPAMOUNTTYPE_EXCHANGE_SUBJECT = 20
- }
- /// <summary>
- // 操作头寸类型
- /// </summary>
- public enum eOpPositionType {
- /// <summary>
- /// 头寸
- /// </summary>
- OPPOSITIONTYPE_POS = 1,
- /// <summary>
- /// 持仓金额
- /// </summary>
- OPPOSITIONTYPE_HOLDAMOUNT = 2,
- /// <summary>
- /// 其他头寸
- /// </summary>
- OPPOSITIONTYPE_OTHER_POS = 3,
- /// <summary>
- /// 净头寸
- /// </summary>
- OPPOSITIONTYPE_NET_POS = 4,
- /// <summary>
- /// 委托
- /// </summary>
- OPPOSITIONTYPE_ORDER_POS = 5
- }
- /// <summary>
- // 管理端个性化通知类型
- /// </summary>
- public enum eAccountConfigChangeNtfType {
- /// <summary>
- /// 风控变更
- /// </summary>
- ACCOUNTCONFIGCHANGENTFTYPE_RISK = 1,
- /// <summary>
- /// 投资者分组变更
- /// </summary>
- ACCOUNTCONFIGCHANGENTFTYPE_USERGROUP = 2,
- /// <summary>
- /// 投资者分组个性化变更
- /// </summary>
- ACCOUNTCONFIGCHANGENTFTYPE_USERGROUP_IND = 3,
- /// <summary>
- /// 账户个性化变更
- /// </summary>
- ACCOUNTCONFIGCHANGENTFTYPE_ACCOUNT_IND = 4
- }
- /// <summary>
- // 检查类型
- /// </summary>
- public enum eChecked {
- /// <summary>
- /// 未核对
- /// </summary>
- CHECKED_NO = 0,
- /// <summary>
- /// 已核对
- /// </summary>
- CHECKED_YES = 1
- }
- /// <summary>
- // 发送状态
- /// </summary>
- public enum eSendStatus {
- /// <summary>
- /// 待发送
- /// </summary>
- SENDSATUS_WAIT = 1,
- /// <summary>
- /// 发送成功
- /// </summary>
- SENDSATUS_SEND = 2
- }
- /// <summary>
- // 商品报价类型
- /// </summary>
- public enum eGoodsQuoteType {
- /// <summary>
- /// 直接报价
- /// </summary>
- GOODSQUOTETYPE_DIRECT = 1,
- /// <summary>
- /// 间接报价
- /// </summary>
- GOODSQUOTETYPE_INDIRECT = 2
- }
- /// <summary>
- // 竞拍场次保证金表参与状态
- /// </summary>
- public enum eJoinStatusType {
- /// <summary>
- /// 不可参与
- /// </summary>
- JOINSTATUSTYPE_YES = 0,
- /// <summary>
- /// 可参与
- /// </summary>
- JOINSTATUSTYPE_NO = 1
- }
- /// <summary>
- // 竞拍场次状态
- /// </summary>
- public enum eAcutionGroupStatus {
- /// <summary>
- /// 未开始
- /// </summary>
- ACUTIONGROUPSTATUS_NOTBEGIN = 1,
- /// <summary>
- /// 已开始
- /// </summary>
- ACUTIONGROUPSTATUS_BIDING = 2,
- /// <summary>
- /// 已结束
- /// </summary>
- ACUTIONGROUPSTATUS_OVER = 3
- }
- /// <summary>
- // 系统结算操作类型
- /// </summary>
- public enum eSystemRekconOperateType {
- /// <summary>
- /// 市场结算结果更新
- /// </summary>
- SYSTEMRECKON_OPERATETYPE_MARKET_RRECKON_RESULT_UPDATED = 1,
- /// <summary>
- /// 银行清算开始
- /// </summary>
- SYSTEMRECKON_OPERATETYPE_BANK_SETTLE_BEGIN = 2
- }
- /// <summary>
- // 市场结算结果更新类型
- /// </summary>
- public enum eMarketReckonResultType {
- /// <summary>
- /// 市场结算成功
- /// </summary>
- MATKET_RECKON_RESULT_TYPE_SUCCESS = 1,
- /// <summary>
- /// 控制服务删除市场结算记录
- /// </summary>
- MATKET_RECKON_RESULT_TYPE_DELETE_RECORD = 2,
- /// <summary>
- /// 管理端手动发起结算
- /// </summary>
- MATKET_RECKON_RESULT_TYPE_MANUAL = 3
- }
- /// <summary>
- // 市场结算标志
- /// </summary>
- public enum eMarketReckonFlag {
- /// <summary>
- /// 未开始
- /// </summary>
- MATKET_RECKON_FLAG_INIT = 1,
- /// <summary>
- /// 结算成功
- /// </summary>
- MATKET_RECKON_FLAG_SUCCESS = 2,
- /// <summary>
- /// 结算失败
- /// </summary>
- MATKET_RECKON_FLAG_FAILED = 3
- }
- /// <summary>
- // 现货类权限类型
- /// </summary>
- public enum eSpotRightType {
- /// <summary>
- /// 可挂可摘
- /// </summary>
- SPOT_RIGHT_TYPE_ALL = 1,
- /// <summary>
- /// 可挂
- /// </summary>
- SPOT_RIGHT_TYPE_SELL = 2,
- /// <summary>
- /// 可摘
- /// </summary>
- SPOT_RIGHT_TYPE_BUY = 3
- }
- /// <summary>
- // 履约计划是否确认溢短
- /// </summary>
- public enum ePerformancePlanExpressFeeConfirmed {
- /// <summary>
- /// 没有
- /// </summary>
- NO_EXPRESSFEECONFIRM = 0,
- /// <summary>
- /// 买方确认
- /// </summary>
- BUYER_EXPRESSFEECONFIRM = 1,
- /// <summary>
- /// 卖方确认
- /// </summary>
- SELLER_EXPRESSFEECONFIRM = 2
- }
- /// <summary>
- // 分润方式
- /// </summary>
- public enum eDivideMode {
- /// <summary>
- /// 统一分
- /// </summary>
- DIVIDEMODE_UNIFIED = 1,
- /// <summary>
- /// 逐级分
- /// </summary>
- DIVIDEMODE_CASCADE = 2
- }
- /// <summary>
- // 渠道账号状态
- /// </summary>
- public enum eChannelAccountStatus {
- /// <summary>
- /// 可买入可卖出
- /// </summary>
- CHANNELACCOUNT_OPEN_CLOSE = 1,
- /// <summary>
- /// 可卖出不可买入
- /// </summary>
- CHANNELACCOUNT_CLOSE = 2
- }
- /// <summary>
- // 付款状态
- /// </summary>
- public enum ePayStatus {
- /// <summary>
- /// 待审核
- /// </summary>
- PAYSTATUS_PENDING = 1,
- /// <summary>
- /// 待付款
- /// </summary>
- PAYSTATUS_STAY_PAYMENT = 2,
- /// <summary>
- /// 已付款
- /// </summary>
- PAYSTATUS_PAID = 3,
- /// <summary>
- /// 待复审
- /// </summary>
- PAYSTATUS_PENDING_REAUDIT = 4
- }
- /// <summary>
- // 交易所账户变更明细状态
- /// </summary>
- public enum eExchAccChangeDetailStatus {
- /// <summary>
- /// 初始化
- /// </summary>
- EXCHACC_CHANGESTATUS_INIT = 1,
- /// <summary>
- /// 已生成
- /// </summary>
- EXCHACC_CHANGESTATUS_GENERATED = 2,
- /// <summary>
- /// 已发送
- /// </summary>
- EXCHACC_CHANGESTATUS_SENDED = 3,
- /// <summary>
- /// 未响应
- /// </summary>
- EXCHACC_CHANGESTATUS_NOANSWER = 4,
- /// <summary>
- /// 已成功
- /// </summary>
- EXCHACC_CHANGESTATUS_SUCCESS = 5
- }
- /// <summary>
- // 交割商品类型
- /// </summary>
- public enum eDeliveryGoodsType {
- /// <summary>
- /// 整装
- /// </summary>
- DELIVERYGOODS_ASSEMBLY = 1,
- /// <summary>
- /// 散装
- /// </summary>
- DELIVERYGOODS_BULK = 2
- }
- /// <summary>
- // 提货计划状态
- /// </summary>
- public enum eTakePlanStatus {
- /// <summary>
- /// 待审核
- /// </summary>
- TAKE_PLAN_STATUS_INACTIVE = 1,
- /// <summary>
- /// 审核中
- /// </summary>
- TAKE_PLAN_STATUS_AUDITING = 2,
- /// <summary>
- /// 审核拒绝
- /// </summary>
- TAKE_PLAN_STATUS_REJECTED = 3,
- /// <summary>
- /// 提货完成
- /// </summary>
- TAKE_PLAN_STATUS_FINISH = 4,
- /// <summary>
- /// 部分提货
- /// </summary>
- TAKE_PLAN_STATUS_PART_TAKE = 5,
- /// <summary>
- /// 审核通过
- /// </summary>
- TAKE_PLAN_STATUS_PASS = 6,
- /// <summary>
- /// 已撤销
- /// </summary>
- TAKE_PLAN_STATUS_CANCELLED = 7,
- /// <summary>
- /// 审核失败
- /// </summary>
- TAKE_PLAN_STATUS_FAILED = 8
- }
- /// <summary>
- // 仓单贸易合同状态
- /// </summary>
- public enum eWRTradeContractStatus {
- /// <summary>
- /// 未提货
- /// </summary>
- WR_TRADE_CONTRACT_NOT_TAKE = 1,
- /// <summary>
- /// 已提货
- /// </summary>
- WR_TRADE_CONTRACT_TAKE = 2,
- /// <summary>
- /// 已结束
- /// </summary>
- WR_TRADE_CONTRACT_END = 3,
- /// <summary>
- /// 履约中
- /// </summary>
- WR_TRADE_CONTRACT_PERFORMANCE_HANDING = 4,
- /// <summary>
- /// 履约完成
- /// </summary>
- WR_TRADE_CONTRACT_PERFORMANCE_END = 5
- }
- /// <summary>
- // 成交方式
- /// </summary>
- public enum eDealMode {
- /// <summary>
- /// 净头寸
- /// </summary>
- DEALMODE_NETPOS = 1,
- /// <summary>
- /// 开平
- /// </summary>
- DEALMODE_OPENCLOSE = 2,
- /// <summary>
- /// 平今
- /// </summary>
- DEALMODE_CLOSETODAY = 3
- }
- /// <summary>
- // 场外期权交易结算节点ID
- /// </summary>
- public enum eOTCOptionReckonNodeID {
- /// <summary>
- /// 结算价节点
- /// </summary>
- OTCOPTIONRECKNODEID_RECK_PRICE = 1,
- /// <summary>
- /// 持仓单同步节点
- /// </summary>
- OTCOPTIONRECKNODEID_SYNCHOLDER = 2,
- /// <summary>
- /// 委托同步节点
- /// </summary>
- OTCOPTIONRECKNODEID_SYNCORDER = 3,
- /// <summary>
- /// 行权同步节点
- /// </summary>
- OTCOPTIONRECKNODEID_SYNCEXERCISE = 4,
- /// <summary>
- /// 撤单节点
- /// </summary>
- OTCOPTIONRECKNODEID_CANCEL = 5,
- /// <summary>
- /// 单据试算平衡节点ID
- /// </summary>
- OTCOPTIONRECKNODEID_ORDER_BALANCE_CALCULATE = 6,
- /// <summary>
- /// 交易分润节点
- /// </summary>
- OTCOPTIONRECKNODEID_SHARE_PROFIT = 7
- }
- /// <summary>
- // 合同状态
- /// </summary>
- public enum eContractStatus {
- /// <summary>
- /// 未生效
- /// </summary>
- WR_CONTRACT_STATUS_NOT = 0,
- /// <summary>
- /// 已生效
- /// </summary>
- WR_CONTRACT_STATUS_FORCE = 1,
- /// <summary>
- /// 生效中
- /// </summary>
- WR_CONTRACT_STATUS_ING = 2,
- /// <summary>
- /// 生效失败
- /// </summary>
- WR_CONTRACT_STATUS_FAILED = 3
- }
- /// <summary>
- // 合同类型
- /// </summary>
- public enum eContractType {
- /// <summary>
- /// 采购合同
- /// </summary>
- WR_CONTRACT_TYPE_BUY = 1,
- /// <summary>
- /// 销售合同
- /// </summary>
- WR_CONTRACT_TYPE_SELL = 2
- }
- /// <summary>
- // 敞口风险级别
- /// </summary>
- public enum eExposureRiskLevel {
- /// <summary>
- /// 正常
- /// </summary>
- EXPOSURE_RISK_LEVEL_NORMAL = 0,
- /// <summary>
- /// 不正常
- /// </summary>
- EXPOSURE_RISK_LEVEL_ABNORMAL = 1
- }
- /// <summary>
- // 统计结算节点
- /// </summary>
- public enum eErmsReckonNode {
- /// <summary>
- /// 仓单市值计算节点
- /// </summary>
- ERMSRECKONNODE_WRPOSITION = 1,
- /// <summary>
- /// 账户统计节点
- /// </summary>
- ERMSRECKONNODE_TAACCOUNT = 2,
- /// <summary>
- /// 生成报表节点
- /// </summary>
- ERMSRECKONNODE_GEN_REPORT = 3
- }
- /// <summary>
- // 场外期权行权类型
- /// </summary>
- public enum eOTCOptionExerciseType {
- /// <summary>
- /// 欧式期权
- /// </summary>
- OTCOPTION_EXERCISETYPE_EU = 1,
- /// <summary>
- /// 美式期权型
- /// </summary>
- OTCOPTION_EXERCISETYPE_AU = 2
- }
- /// <summary>
- // 清算结果
- /// </summary>
- public enum eSettleResult {
- /// <summary>
- /// 清算开始
- /// </summary>
- SETTLERESULT_BEGIN = 1,
- /// <summary>
- /// 清算部分成功
- /// </summary>
- SETTLERESULT_PARTIALSUCCESS = 2,
- /// <summary>
- /// 清算全部成功
- /// </summary>
- SETTLERESULT_SUCCESS = 3
- }
- /// <summary>
- // 通道母账号状态
- /// </summary>
- public enum eHedgeAccountType {
- /// <summary>
- /// 下单母账号
- /// </summary>
- HEDGEACCOUNTTYPE_NORMAL = 1,
- /// <summary>
- /// 跟单母账号
- /// </summary>
- HEDGEACCOUNTTYPE_PROGRAMMATIC = 2
- }
- /// <summary>
- // 交货模式
- /// </summary>
- public enum ePerformanceWay {
- /// <summary>
- /// 履约计划
- /// </summary>
- PERFORMANCEWAY_PALN_PERFORMANCE = 1,
- /// <summary>
- /// 分步履约
- /// </summary>
- PERFORMANCEWAY_STEP_PERFORMANCE = 2,
- /// <summary>
- /// 分步提货
- /// </summary>
- PERFORMANCEWAY_STEP_TAKE = 3
- }
- /// <summary>
- // 合同执行方式
- /// </summary>
- public enum eContractExecuteMode {
- /// <summary>
- /// 顺序执行
- /// </summary>
- EXECUTEMODE_ORDER = 1,
- /// <summary>
- /// 交叉执行
- /// </summary>
- EXECUTEMODE_CROSS = 2
- }
- /// <summary>
- // 执行方
- /// </summary>
- public enum eContractExecuteSide {
- /// <summary>
- /// 买方
- /// </summary>
- EXECUTESIDE_BUY = 1,
- /// <summary>
- /// 卖方
- /// </summary>
- EXECUTESIDE_SELL = 2
- }
- /// <summary>
- // 清算账户请求消息发送状态
- /// </summary>
- public enum eSettltAccountReqSendStatus {
- /// <summary>
- /// 待发送
- /// </summary>
- SETTLE_ACCOUNT_REQ_SEND_STATUS_WAIT_SEND = 1,
- /// <summary>
- /// 发送成功
- /// </summary>
- SETTLE_ACCOUNT_REQ_SEND_STATUS_SEND_SUCCESS = 2,
- /// <summary>
- /// 返回失败
- /// </summary>
- SETTLE_ACCOUNT_REQ_SEND_STATUS_RESPONSE_FAILED = 3,
- /// <summary>
- /// 返回成功
- /// </summary>
- SETTLE_ACCOUNT_REQ_SEND_STATUS_RESPONSE_SUCCESS = 4
- }
- /// <summary>
- // 摘牌限制类型
- /// </summary>
- public enum eDelistLimitType {
- /// <summary>
- /// 摘牌数量
- /// </summary>
- DELIST_LIMIT_TYPE_QTY = 1,
- /// <summary>
- /// 摘牌金额
- /// </summary>
- DELIST_LIMIT_TYPE_AMOUNT = 2
- }
- /// <summary>
- // 支付方式
- /// </summary>
- public enum ePayModel {
- /// <summary>
- /// 银行卡
- /// </summary>
- PAY_MODEL_BANKCARD = 1,
- /// <summary>
- /// 微信
- /// </summary>
- PAY_MODEL_WECHAT = 2,
- /// <summary>
- /// 支付宝
- /// </summary>
- PAY_MODEL_ALIPAY = 3,
- /// <summary>
- /// PayPal
- /// </summary>
- PAY_MODEL_PAYPAL = 4
- }
- /// <summary>
- // 通用履约状态
- /// </summary>
- public enum eCommonPerformanceStatus {
- /// <summary>
- /// 无履约
- /// </summary>
- PERFORMANCE_STATUS_NONE = 0,
- /// <summary>
- /// 未履约
- /// </summary>
- PERFORMANCE_STATUS_FAILURE = 1,
- /// <summary>
- /// 履约中
- /// </summary>
- PERFORMANCE_STATUS_IN_PERFORMANCE = 2,
- /// <summary>
- /// 履约完成
- /// </summary>
- PERFORMANCE_STATUS_FINISH = 3,
- /// <summary>
- /// 超时关闭
- /// </summary>
- PERFORMANCE_STATUS_TIMEOUT_CLOSE = 4
- }
- /// <summary>
- // 银行账户调整类型
- /// </summary>
- public enum eBankAccAdjutType {
- /// <summary>
- /// 母账户加钱
- /// </summary>
- BANK_ACCADJUTTYPE_MV_MAIN_DEP = 1,
- /// <summary>
- /// 母账户减钱
- /// </summary>
- BANK_ACCADJUTTYPE_MV_MAIN_WDR = 2,
- /// <summary>
- /// 子账户加钱
- /// </summary>
- BANK_ACCADJUTTYPE_MV_CHILD_DEP = 3,
- /// <summary>
- /// 子账户减钱
- /// </summary>
- BANK_ACCADJUTTYPE_MV_CHILD_WDR = 4,
- /// <summary>
- /// 资金调整——出金
- /// </summary>
- BANK_ACCADJUTTYPE_ADJ_WDR = 5,
- /// <summary>
- /// 资金调整——入金
- /// </summary>
- BANK_ACCADJUTTYPE_ADJ_DEP = 6,
- /// <summary>
- /// 资金调整——结算盈亏
- /// </summary>
- BANK_ACCADJUTTYPE_ADJ_PL_RECKON = 7,
- /// <summary>
- /// 资金调整——交易盈亏
- /// </summary>
- BANK_ACCADJUTTYPE_ADJ_PL_TRADE = 8,
- /// <summary>
- /// 资金调整——第三方入金
- /// </summary>
- BANK_ACCADJUTTYPE_ADJ_3TH_DEP = 9,
- /// <summary>
- /// 资金调整——第三方出金
- /// </summary>
- BANK_ACCADJUTTYPE_ADJ_3TH_WDR = 10,
- /// <summary>
- /// 资金调整——期权盈亏
- /// </summary>
- BANK_ACCADJUTTYPE_ADJ_PROFIT_LOSS = 11
- }
- /// <summary>
- // 默认账号类型
- /// </summary>
- public enum eDefaultAccountType {
- /// <summary>
- /// 默认结算账号
- /// </summary>
- DEFAULT_ACCOUNT_TYPE_RECKON = 1,
- /// <summary>
- /// 默认接单账号
- /// </summary>
- DEFAULT_ACCOUNT_TYPE_MARKET = 2
- }
- /// <summary>
- // 活动类型
- /// </summary>
- public enum eImpActiveType {
- /// <summary>
- /// 锁仓业务
- /// </summary>
- IMP_ACTIVE_TYPE_LOCK = 1,
- /// <summary>
- /// 认购业务
- /// </summary>
- IMP_ACTIVE_TYPE_BUY = 2
- }
- /// <summary>
- // 锁仓期限类型
- /// </summary>
- public enum eImpLockedPeriodType {
- /// <summary>
- /// 12个月
- /// </summary>
- IMP_LOCKEDPERIOD_ONE = 1,
- /// <summary>
- /// 24个月
- /// </summary>
- IMP_LOCKEDPERIOD_TWO = 2,
- /// <summary>
- /// 36个月
- /// </summary>
- IMP_LOCKEDPERIOD_THREE = 3,
- /// <summary>
- /// 48个月
- /// </summary>
- IMP_LOCKEDPERIOD_FOUR = 4,
- /// <summary>
- /// 60个月
- /// </summary>
- IMP_LOCKEDPERIOD_FIVE = 5
- }
- /// <summary>
- // 固定类型
- /// </summary>
- public enum eImpFixedType {
- /// <summary>
- /// 固定费用收取
- /// </summary>
- IMP_FIXEDTYPE_FEE = 1,
- /// <summary>
- /// 固定量赠送
- /// </summary>
- IMP_FIXEDTYPE_GIFT = 2
- }
- /// <summary>
- // 子账号类型
- /// </summary>
- public enum eImpAccountType {
- /// <summary>
- /// 参与子账号
- /// </summary>
- IMP_ACCOUNTTYPE_APPLY = 1,
- /// <summary>
- /// 划转子账号
- /// </summary>
- IMP_ACCOUNTTYPE_TRANSFER = 2
- }
- /// <summary>
- // 申请状态
- /// </summary>
- public enum eImpOrderStatus {
- /// <summary>
- /// 申请中
- /// </summary>
- IMP_STATUS_REQUEST = 1,
- /// <summary>
- /// 申请失败
- /// </summary>
- IMP_STATUS_FAILED = 2,
- /// <summary>
- /// 待审核
- /// </summary>
- IMP_STATUS_AUDITING = 3,
- /// <summary>
- /// 申请成功
- /// </summary>
- IMP_STATUS_SUCCESS = 4,
- /// <summary>
- /// 审核拒绝
- /// </summary>
- IMP_STATUS_REJECTED = 5,
- /// <summary>
- /// 已撤销
- /// </summary>
- IMP_STATUS_CANCELED = 6,
- /// <summary>
- /// 已解锁
- /// </summary>
- IMP_STATUS_UNLOCKED = 7,
- /// <summary>
- /// 已到期
- /// </summary>
- IMP_STATUS_EXPIRED = 8
- }
- /// <summary>
- // 划转状态
- /// </summary>
- public enum eImpTransferStatus {
- /// <summary>
- /// 未划转
- /// </summary>
- IMP_TRANSFER_NORMAL = 0,
- /// <summary>
- /// 划转成功
- /// </summary>
- IMP_TRANSFER_SUCCESS = 1,
- /// <summary>
- /// 划转失败
- /// </summary>
- IMP_TRANSFER_FAILED = 2
- }
- /// <summary>
- // 品种状态
- /// </summary>
- public enum eDGStatus {
- /// <summary>
- /// 报价上架
- /// </summary>
- WR_QUOTE_UPPER = 1,
- /// <summary>
- /// 报价下架
- /// </summary>
- WR_QUOTE_LOWER = 2,
- /// <summary>
- /// 报价成交
- /// </summary>
- WR_QUOTE_TRADE = 3,
- /// <summary>
- /// 挂牌销售
- /// </summary>
- WR_LISTING_SALE = 4,
- /// <summary>
- /// 挂牌成交
- /// </summary>
- WR_LISTING_TRADE = 5,
- /// <summary>
- /// 竞拍销售
- /// </summary>
- WR_AUCTION_SALE = 6,
- /// <summary>
- /// 竞拍成交
- /// </summary>
- WR_AUCTION_TRADE = 7,
- /// <summary>
- /// 竞拍流拍
- /// </summary>
- WR_AUCTION_PASS = 8,
- /// <summary>
- /// 已提货
- /// </summary>
- WR_DELIVERED = 9
- }
- /// <summary>
- // 锁仓审核状态
- /// </summary>
- public enum eImpAuditStatus {
- /// <summary>
- /// 审核通过
- /// </summary>
- IMP_AUDITSTATUS_PASS = 1,
- /// <summary>
- /// 审核拒绝
- /// </summary>
- IMP_AUDITSTATUS_REJECT = 2
- }
- /// <summary>
- // 报价状态
- /// </summary>
- public enum eQuoteStatus {
- /// <summary>
- /// 待上市
- /// </summary>
- WR_AUTO_QUOTE_PRE_LISTED = 1,
- /// <summary>
- /// 上市
- /// </summary>
- WR_AUTO_QUOTE_LISTED = 2,
- /// <summary>
- /// 下架
- /// </summary>
- WR_AUTO_QUOTE_LOWER = 3,
- /// <summary>
- /// 修改
- /// </summary>
- WR_AUTO_QUOTE_MODIFY = 4,
- /// <summary>
- /// 成交
- /// </summary>
- WR_AUTO_QUOTE_TRADE = 5,
- /// <summary>
- /// 超期
- /// </summary>
- WR_AUTO_QUOTE_TIMEOUT = 6,
- /// <summary>
- /// 修改退市
- /// </summary>
- WR_AUTO_QUOTE_DELISTED = 7
- }
- /// <summary>
- // 锁仓认购操作类型
- /// </summary>
- public enum eChannelLockOperateType {
- /// <summary>
- /// 增加
- /// </summary>
- CHANNELLOCKOPERATETYPE_ADD = 1,
- /// <summary>
- /// 删除
- /// </summary>
- CHANNELLOCKOPERATETYPE_DEL = 2,
- /// <summary>
- /// 修改
- /// </summary>
- CHANNELLOCKOPERATETYPE_UPDATE = 3
- }
- /// <summary>
- // 扩展角色类型
- /// </summary>
- public enum eMS_RoleType {
- /// <summary>
- /// 特许经销商(中远)
- /// </summary>
- MS_ROLETYPE_SPEC = 1,
- /// <summary>
- /// 金融服务商(中江)
- /// </summary>
- MS_ROLETYPE_FINANCEAREA = 2,
- /// <summary>
- /// 核心企业(百色)
- /// </summary>
- MS_ROLETYPE_CORE = 3,
- /// <summary>
- /// 基金公司
- /// </summary>
- MS_ROLETYPE_FC = 4,
- /// <summary>
- /// 回购商
- /// </summary>
- MS_ROLETYPE_BUYBACK = 5
- }
- /// <summary>
- // 挂牌状态
- /// </summary>
- public enum eDGEX_ListingStatus {
- /// <summary>
- /// 上市
- /// </summary>
- DGEXTENSION_LISTINGSTUTAS_SALE = 1,
- /// <summary>
- /// 成交
- /// </summary>
- DGEXTENSION_LISTINGSTUTAS_TRADE = 2,
- /// <summary>
- /// 超期
- /// </summary>
- DGEXTENSION_LISTINGSTUTAS_TIMEOUT = 3
- }
- /// <summary>
- // 现货商城申请类型
- /// </summary>
- public enum eWHZG2_ApplyType {
- /// <summary>
- /// 商品上架
- /// </summary>
- APPLYTYPE_GOODSSALE = 1,
- /// <summary>
- /// 价格修改
- /// </summary>
- APPLYTYPE_MODIFYPRICE = 2,
- /// <summary>
- /// 数量增加
- /// </summary>
- APPLYTYPE_QTY_ADD = 3,
- /// <summary>
- /// 重新上架
- /// </summary>
- APPLYTYPE_REGOODSSALE = 4
- }
- /// <summary>
- // 金点拍抽奖中奖标志
- /// </summary>
- public enum eJDP_LotteryIsWinner {
- /// <summary>
- /// 未中奖
- /// </summary>
- JDP_LOTTERY_ISWINNER_NO = 0,
- /// <summary>
- /// 中奖
- /// </summary>
- JDP_LOTTERY_ISWINNER_YES = 1
- }
- /// <summary>
- // 金点拍奖金类型
- /// </summary>
- public enum eJDP_PrizeAmountType {
- /// <summary>
- /// 累计拍得者大奖金额
- /// </summary>
- JDP_PRIZE_AMOUNT_TYPE_PDZ_CUMULITIVE = 1,
- /// <summary>
- /// 本期拍得者大奖金额
- /// </summary>
- JDP_PRIZE_AMOUNT_TYPE_PDZ_CURRENT = 2,
- /// <summary>
- /// 直推VIP每日TOPN奖金额
- /// </summary>
- JDP_PRIZE_AMOUNT_TYPE_VIPTOPN = 3
- }
- /// <summary>
- // 金点拍是否参与拍得者大奖标志
- /// </summary>
- public enum eJDP_PdzCanJoin {
- /// <summary>
- /// 否
- /// </summary>
- JDP_PDZ_CANJOIN_NO = 0,
- /// <summary>
- /// 是
- /// </summary>
- JDP_PDZ_CANJOIN_YES = 1
- }
- /// <summary>
- // 金点拍商品配置类型
- /// </summary>
- public enum eJDP_ConfigType {
- /// <summary>
- /// JD购买能量比
- /// </summary>
- JDP_GOODSCONFIG_CONFIGTYPE_JDTOMP = 1,
- /// <summary>
- /// PD购买体力比
- /// </summary>
- JDP_GOODSCONFIG_CONFIGTYPE_PDTOHP = 2,
- /// <summary>
- /// 出价奖励与能量比
- /// </summary>
- JDP_GOODSCONFIG_CONFIGTYPE_QUOTETOMP = 3,
- /// <summary>
- /// 业务奖励与体力比
- /// </summary>
- JDP_GOODSCONFIG_CONFIGTYPE_BUSINESSTOHP = 4,
- /// <summary>
- /// 成交奖励配置
- /// </summary>
- JDP_GOODSCONFIG_CONFIGTYPE_TRADE_TO_JD = 5,
- /// <summary>
- /// PD额度比
- /// </summary>
- JDP_GOODSCONFIG_CONFIGTYPE_TRADE_TO_PDQUOTA = 6
- }
- /// <summary>
- // 金点拍转换类型
- /// </summary>
- public enum eJDP_ConvertType {
- /// <summary>
- /// 金点赞(外部)转JD
- /// </summary>
- JDP_CONVERTTYPE_EXTENALJD_TRANSFERIN = 1,
- /// <summary>
- /// JD转PD
- /// </summary>
- JDP_CONVERTTYPE_JD_TRANSFER_PD = 2,
- /// <summary>
- /// PD互转
- /// </summary>
- JDP_CONVERTTYPE_PD_TRANSFER_PD = 3,
- /// <summary>
- /// 交易转PD
- /// </summary>
- JDP_CONVERTTYPE_TRADE_TRANSFER_PD = 4,
- /// <summary>
- /// PD转交易
- /// </summary>
- JDP_CONVERTTYPE_PD_TRANSFER_TRADE = 5,
- /// <summary>
- /// 批量导入PD
- /// </summary>
- JDP_CONVERTTYPE_MULTI_TRANSFERIN_PD = 6,
- /// <summary>
- /// JD购买PD
- /// </summary>
- JDP_CONVERTTYPE_JD_BUY_PD = 7,
- /// <summary>
- /// JD购买能量
- /// </summary>
- JDP_CONVERTTYPE_JD_TRANSFER_MP = 8,
- /// <summary>
- /// PD购买体力值
- /// </summary>
- JDP_CONVERTTYPE_PD_TRANSFER_HP = 9
- }
- /// <summary>
- // 金点拍抽奖奖品类型
- /// </summary>
- public enum eJDP_LotteryPrizeType {
- /// <summary>
- /// 实物
- /// </summary>
- JDP_LOTTERY_PRIZE_TYPE_IN_KIND = 1,
- /// <summary>
- /// JD
- /// </summary>
- JDP_LOTTERY_PRIZE_TYPE_JD = 2,
- /// <summary>
- /// PD
- /// </summary>
- JDP_LOTTERY_PRIZE_TYPE_PD = 3
- }
- /// <summary>
- // 金点拍用户级别
- /// </summary>
- public enum eJDP_UserRank {
- /// <summary>
- /// 普通会员
- /// </summary>
- JDP_USER_RANK_NURMAL = 1,
- /// <summary>
- /// VIP会员
- /// </summary>
- JDP_USER_RANK_VIP = 2
- }
- /// <summary>
- // 金点拍日志处理状态
- /// </summary>
- public enum eJDP_LogHandleStatus {
- /// <summary>
- /// 初始化
- /// </summary>
- JDP_LOG_HANDLE_STATUS_INIT = 0,
- /// <summary>
- /// 成功
- /// </summary>
- JDP_LOG_HANDLE_STATUS_SUCCESS = 1,
- /// <summary>
- /// 失败
- /// </summary>
- JDP_LOG_HANDLE_STATUS_FAILD = 2,
- /// <summary>
- /// 处理中
- /// </summary>
- JDP_LOG_HANDLE_STATUS_PROCESSING = 3,
- /// <summary>
- /// 冻结处理中
- /// </summary>
- JDP_LOG_HANDLE_STATUS_FREEZE_PROCESSING = 4,
- /// <summary>
- /// 成交处理中
- /// </summary>
- JDP_LOG_HANDLE_STATUS_TRADE_PROCESSING = 5
- }
- /// <summary>
- // 行情排序规则
- /// </summary>
- public enum eQUOTE_SORTRULE {
- /// <summary>
- /// 涨跌幅排序
- /// </summary>
- QUOTE_SORTRULE_PCTCHANGE = 1,
- /// <summary>
- /// 总交易额排序
- /// </summary>
- QUOTE_SORTRULE_MONEY = 2,
- /// <summary>
- /// 总成交量排序
- /// </summary>
- QUOTE_SORTRULE_TOTALVOLUME = 3
- }
- /// <summary>
- // 金点拍交易头寸变更类型
- /// </summary>
- public enum eJDP_TradePositionChangeType {
- /// <summary>
- /// JD/PD冻结
- /// </summary>
- JDP_TRADE_POSITION_CHANGE_TYPE_JDPD_FREEZE = 1,
- /// <summary>
- /// JD/PD解冻
- /// </summary>
- JDP_TRADE_POSITION_CHANGE_TYPE_JDPD_UNFREEZE = 2,
- /// <summary>
- /// JD/PD扣除
- /// </summary>
- JDP_TRADE_POSITION_CHANGE_TYPE_JDPD_DECREASE = 3,
- /// <summary>
- /// JD/PD增加
- /// </summary>
- JDP_TRADE_POSITION_CHANGE_TYPE_JDPD_INCREASE = 4,
- /// <summary>
- /// JD/PD手续费冻结
- /// </summary>
- JDP_TRADE_POSITION_CHANGE_TYPE_JDPD_FEE_FREEZE = 5,
- /// <summary>
- /// JD/PD手续费解冻
- /// </summary>
- JDP_TRADE_POSITION_CHANGE_TYPE_JDPD_FEE_UNFREEZE = 6,
- /// <summary>
- /// JD/PD手续费扣除
- /// </summary>
- JDP_TRADE_POSITION_CHANGE_TYPE_JDPD_FEE_DECREASE = 7,
- /// <summary>
- /// 交易所手续费收入
- /// </summary>
- JDP_TRADE_POSITION_CHANGE_TYPE_EXCHANGE_FEE = 8
- }
- /// <summary>
- // 交易冻结头寸变更类型
- /// </summary>
- public enum eFreezePos_FreezePositionLogChangeType {
- /// <summary>
- /// 供货商增加冻结头寸
- /// </summary>
- FREEZEPOS_FREEZE_POSITION_LOG_CHANGE_TYPE_VENTOR_ADD = 1,
- /// <summary>
- /// 供货商解冻头寸审核通过
- /// </summary>
- FREEZEPOS_FREEZE_POSITION_LOG_CHANGE_TYPE_VENTOR_AUDIT_PASS = 2,
- /// <summary>
- /// 商品配售
- /// </summary>
- FREEZEPOS_FREEZE_POSITION_LOG_CHANGE_TYPE_RATION = 3,
- /// <summary>
- /// 商品转让
- /// </summary>
- FREEZEPOS_FREEZE_POSITION_LOG_CHANGE_TYPE_TRANSFER = 4,
- /// <summary>
- /// 商品回购
- /// </summary>
- FREEZEPOS_FREEZE_POSITION_LOG_CHANGE_TYPE_BUYBACK = 5
- }
- /// <summary>
- // 交易冻结头寸标志
- /// </summary>
- public enum eFreezePos_IsFreeze {
- /// <summary>
- /// 冻结
- /// </summary>
- FREEZEPOS_ISFREEZE_YES = 1,
- /// <summary>
- /// 不冻结
- /// </summary>
- FREEZEPOS_ISFREEZE_NO = 2
- }
- /// <summary>
- // 交易冻结头寸转让类型
- /// </summary>
- public enum eFreezePos_TransferType {
- /// <summary>
- /// 配售
- /// </summary>
- FREEZEPOS_TRANSFER_TYPE_RATION = 1,
- /// <summary>
- /// 转让
- /// </summary>
- FREEZEPOS_TRANSFER_TYPE_TRANSFER = 2,
- /// <summary>
- /// 回购
- /// </summary>
- FREEZEPOS_TRANSFER_TYPE_BUYBACK = 3
- }
- /// <summary>
- // 交易冻结头寸头寸类型
- /// </summary>
- public enum eFreezePos_PositionType {
- /// <summary>
- /// 交易头寸
- /// </summary>
- FREEZEPOS_POSITION_TYPE_TRADE = 1,
- /// <summary>
- /// 冻结头寸
- /// </summary>
- FREEZEPOS_POSITION_TYPE_FREEZE = 2
- }
- /// <summary>
- // 交易冻结头寸冻结类型
- /// </summary>
- public enum eFreezePos_FreezeType {
- /// <summary>
- /// 配售冻结
- /// </summary>
- FREEZEPOS_FREEZE_TYPE_RATION = 1,
- /// <summary>
- /// 转入冻结
- /// </summary>
- FREEZEPOS_FREEZE_TYPE_IN = 2
- }
- /// <summary>
- // 交易冻结头寸冻结配置类型
- /// </summary>
- public enum eFreezePos_FreezeConfigType {
- /// <summary>
- /// 配售冻结(周期)
- /// </summary>
- FREEZEPOS_FREEZE_CONFIG_TYPE_RATION = 1,
- /// <summary>
- /// 转入冻结(成交量)
- /// </summary>
- FREEZEPOS_FREEZE_CONFIG_TYPE_IN_TRADE_QTY = 2,
- /// <summary>
- /// 转入冻结(成交额)
- /// </summary>
- FREEZEPOS_FREEZE_CONFIG_TYPE_IN_TRADE_AMOUNT = 3
- }
- /// <summary>
- // 止盈止损操作类型
- /// </summary>
- public enum eSPSL_OperateType {
- /// <summary>
- /// 止盈
- /// </summary>
- SPSL_OPERATETYPE_SP = 1,
- /// <summary>
- /// 止损
- /// </summary>
- SPSL_OPERATETYPE_SL = 2,
- /// <summary>
- /// 撤单
- /// </summary>
- SPSL_OPERATETYPE_CANCEL = 3,
- /// <summary>
- /// 止盈止损
- /// </summary>
- SPSL_OPERATETYPE_ALL = 4
- }
- /// <summary>
- // 止盈止损价格类型
- /// </summary>
- public enum eSPSL_PriceType {
- /// <summary>
- /// 最新价
- /// </summary>
- SPSL_PRICETYPE_LAST = 1,
- /// <summary>
- /// 对手价
- /// </summary>
- SPSL_PRICETYPE_OPP = 2,
- /// <summary>
- /// 市价
- /// </summary>
- SPSL_PRICETYPE_MARKET = 3
- }
- /// <summary>
- // 止盈止损触发类型
- /// </summary>
- public enum eSPSL_TriggerType {
- /// <summary>
- /// 触发价
- /// </summary>
- SPSL_TRIGGERTYPE_FIXED = 1,
- /// <summary>
- /// 追踪价差
- /// </summary>
- SPSL_TRIGGERTYPE_DYNAMIC = 2
- }
- /// <summary>
- // 止盈止损状态
- /// </summary>
- public enum eSPSL_Status {
- /// <summary>
- /// 待触发
- /// </summary>
- SPSL_STATUS_PENDING = 1,
- /// <summary>
- /// 已触发
- /// </summary>
- SPSL_STATUS_SUCC = 2,
- /// <summary>
- /// 已撤销
- /// </summary>
- SPSL_STATUS_CANCELED = 3,
- /// <summary>
- /// 已失效
- /// </summary>
- SPSL_STATUS_INVALID = 4
- }
- /// <summary>
- // 商品提货单状态
- /// </summary>
- public enum eGoodsTakeOrderStatus {
- /// <summary>
- /// 未发货
- /// </summary>
- GOODS_TAKEORDER_STATUS_UNSHIPPED = 1,
- /// <summary>
- /// 已发货
- /// </summary>
- GOODS_TAKEORDER_STATUS_ALREADY = 2,
- /// <summary>
- /// 已收货
- /// </summary>
- GOODS_TAKEORDER_STATUS_TAKE = 3
- }
- /// <summary>
- // 风险率计算方式
- /// </summary>
- public enum eRiskRateMode {
- /// <summary>
- /// 占用/净值
- /// </summary>
- OCCUPYWORTH = 0,
- /// <summary>
- /// 净值/占用
- /// </summary>
- WORTHOCCUPY = 1
- }
- /// <summary>
- // 用户分组变更类型
- /// </summary>
- public enum eUserGroupChangeType {
- /// <summary>
- /// 增加
- /// </summary>
- USERGROUP_CHANGETYPE_ADD = 1,
- /// <summary>
- /// 修改
- /// </summary>
- USERGROUP_CHANGETYPE_MODIFY = 2,
- /// <summary>
- /// 删除
- /// </summary>
- USERGROUP_CHANGETYPE_DEL = 3
- }
- /// <summary>
- // 用户分组变更范围
- /// </summary>
- public enum eUserGroupNtfType {
- /// <summary>
- /// 分组信息变更
- /// </summary>
- USERGROUP_NTFTYPE_INFO = 1,
- /// <summary>
- /// 分组明细变更
- /// </summary>
- USERGROUP_NTFTYPE_DETAIL = 2
- }
- /// <summary>
- // 订单路由方向
- /// </summary>
- public enum eRoutingDirection {
- /// <summary>
- /// 正向
- /// </summary>
- ROUTING_DIRECTION_FORWARD = 0,
- /// <summary>
- /// 反向
- /// </summary>
- ROUTING_DIRECTION_REVERSE = 1
- }
|