| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251 |
- using Muchinfo.MTPClient.Data.Helper;
- #region MTP1.0
- /// <summary>
- // 系统开市方式
- /// </summary>
- public enum eSysMarketOpenMethod {
- /// <summary>
- /// 自动
- /// </summary>
- OPENMETHOD_AUTO = 0,
- /// <summary>
- /// 手动
- /// </summary>
- OPENMETHOD_MANUAL = 1
- }
- /// <summary>
- // 资金模式
- /// </summary>
- public enum eMoneyMode {
- /// <summary>
- /// 保证金
- /// </summary>
- MONEYMODE_MARGIN = 1,
- /// <summary>
- /// 全款划扣
- /// </summary>
- MONEYMODE_PAY = 2
- }
- /// <summary>
- // 商品组层级类型
- /// </summary>
- public enum eGoodsGroupLevelType {
- /// <summary>
- /// 所有商品
- /// </summary>
- GOODSGROUPLEVEL_ALLGOODS = 1,
- /// <summary>
- /// 交易所
- /// </summary>
- GOODSGROUPLEVEL_EXCHGOODSGROUP = 2,
- /// <summary>
- /// 市场商品组
- /// </summary>
- GOODSGROUPLEVEL_GOODSGROUP = 3
- }
- /// <summary>
- // 运行操作
- /// </summary>
- public enum eRunOperate {
- /// <summary>
- /// 无操作
- /// </summary>
- RUNOPERATE_NONE = 0,
- /// <summary>
- /// 暂停
- /// </summary>
- RUNOPERATE_PAUSE = 1,
- /// <summary>
- /// 恢复
- /// </summary>
- RUNOPERATE_RESTORE = 2
- }
- /// <summary>
- // 费用计算方式
- /// </summary>
- public enum eFeeCalcMethod {
- /// <summary>
- /// 成交金额比例
- /// </summary>
- PERCENTOFTURNOVER = 0,
- /// <summary>
- /// 每手固定单位
- /// </summary>
- PERLOTSIZE = 1
- }
- /// <summary>
- // 市场结算模式
- /// </summary>
- public enum eMarketSettleMode {
- /// <summary>
- /// 有负债
- /// </summary>
- SETTLEALLOWDEBT = 0,
- /// <summary>
- /// 无负债
- /// </summary>
- SETTLECLEAR = 1
- }
- /// <summary>
- // 结算价算法
- /// </summary>
- public enum eReckonPriceCalcMethod {
- /// <summary>
- /// 倒数多少笔成交价加权平均
- /// </summary>
- RECKONPRICECALCMETHOD_LASTAVG = 0,
- /// <summary>
- /// 倒数多少秒成交价平均
- /// </summary>
- RECKONPRICECALCMETHOD_LASTTIMEAVG = 1,
- /// <summary>
- /// 全部成交价加权平均
- /// </summary>
- RECKONPRICECALCMETHOD_ALLAVG = 2,
- /// <summary>
- /// 倒数多少秒成交价加权平均
- /// </summary>
- RECKONPRICECALCMETHOD_LASTMILLISAVG = 3
- }
- /// <summary>
- // 发售成交类型
- /// </summary>
- public enum eDealType {
- /// <summary>
- /// 指定买方成交
- /// </summary>
- APPOINT_BUYERDEAL = 0,
- /// <summary>
- /// 公开发售成交
- /// </summary>
- PUBLICISSUEDEAL = 1,
- /// <summary>
- /// 承销会员指定成交
- /// </summary>
- APPOINT_CONSIGNMENTDEAL = 2,
- /// <summary>
- /// 申购配售成交
- /// </summary>
- SUBSCRIPT_PLACEMENT_DEAL = 3,
- /// <summary>
- /// 持仓配售成交
- /// </summary>
- HOLD_PLACEMENT_DEAL = 4,
- /// <summary>
- /// 交易金额配售成交
- /// </summary>
- TRADEAMOUNT_PLACEMENT_DEAL = 5,
- /// <summary>
- /// 定向配售成交
- /// </summary>
- DIRECT_PLACEMENT_DEAL = 6
- }
- /// <summary>
- // 发售配售类型
- /// </summary>
- public enum ePlacementType {
- /// <summary>
- /// 持仓配售
- /// </summary>
- PLACEMENTTYPE_HOLD = 1,
- /// <summary>
- /// 申购量配售
- /// </summary>
- PLACEMENTTYPE_SUB = 2,
- /// <summary>
- /// 申购资金-持仓配售
- /// </summary>
- PLACEMENTTYPE_SUB_HOLD = 3,
- /// <summary>
- /// 交易金额配售
- /// </summary>
- PLACEMENTTYPE_TRADEAMOUNT = 4,
- /// <summary>
- /// 定向配售
- /// </summary>
- PLACEMENTTYPE_DIRECT = 5,
- /// <summary>
- /// 华凝版持仓配售
- /// </summary>
- PLACEMENTTYPE_HOLD_HUANING = 10
- }
- /// <summary>
- // 发售模式
- /// </summary>
- public enum eIssueMode {
- /// <summary>
- /// 现货发售
- /// </summary>
- ISSUE_MODE_SPOT = 1,
- /// <summary>
- /// 仓单发售
- /// </summary>
- ISSUE_MODE_WAREHOUSERECEIPT = 2,
- /// <summary>
- /// 仓单自动转竞价
- /// </summary>
- ISSUE_MODE_WAREHOUSERECEIPT2BIDMATCH = 3
- }
- /// <summary>
- // 发售撤单限制类型
- /// </summary>
- public enum eIssueCancelLimitsType {
- /// <summary>
- /// 无限制
- /// </summary>
- ISSUE_CANCEL_LIMITS_NONE = 1,
- /// <summary>
- /// 仅能撤当天的申购单
- /// </summary>
- ISSUE_CANCEL_LIMITS_TODAY = 2,
- /// <summary>
- /// 不能撤单
- /// </summary>
- ISSUE_CANCEL_LIMITS_NEVER = 3
- }
- /// <summary>
- // 发售系统配置参数
- /// </summary>
- public enum eIssueSysConfigParam {
- /// <summary>
- /// 发售最大有效申购单数
- /// </summary>
- ISSUE_SYSCONFIG_MAX_VALID_SUBORDERS = 9001,
- /// <summary>
- /// 发售撤单限制类型
- /// </summary>
- ISSUE_SYSCONFIG_CANCEL_LIMITS_TYPE = 9002
- }
- /// <summary>
- // 商品平仓期限
- /// </summary>
- public enum eGoodsCloseType {
- /// <summary>
- /// 永续经营
- /// </summary>
- GOODSCLOSETYPE_NONE = 0,
- /// <summary>
- /// 定期商品
- /// </summary>
- GOODSCLOSETYPE_BYCYCLE = 1
- }
- /// <summary>
- // 证件类型
- /// </summary>
- public enum eCardType {
- /// <summary>
- /// 身份证
- /// </summary>
- IDCARD = 0,
- /// <summary>
- /// 港澳通行证
- /// </summary>
- HMPASSPORT = 1,
- /// <summary>
- /// 组织机构代码证
- /// </summary>
- ORGANIZATION = 2,
- /// <summary>
- /// 驾驶证
- /// </summary>
- DRIVERLICENCE = 3,
- /// <summary>
- /// 营业执照
- /// </summary>
- BUSINESSLICENSE = 4,
- /// <summary>
- /// 军官证
- /// </summary>
- OFFICERCERTIFICATE = 5,
- /// <summary>
- /// 解放军文职干部证
- /// </summary>
- ARMYCIVILIANCADRES = 6,
- /// <summary>
- /// 警官证
- /// </summary>
- POLICEID = 7,
- /// <summary>
- /// 解放军士兵证
- /// </summary>
- ARMYSOLDIERSCERTIFICATE = 8,
- /// <summary>
- /// 户口簿
- /// </summary>
- RESIDENCEBOOKLET = 9,
- /// <summary>
- /// 临时身份证
- /// </summary>
- TEMPORARYIDCARD = 10,
- /// <summary>
- /// (外国)护照
- /// </summary>
- FOREIGNPASSPORT = 11,
- /// <summary>
- /// (中国)护照
- /// </summary>
- CHINESEPASSPORT = 12,
- /// <summary>
- /// 武警文职干部证
- /// </summary>
- ARMEDPOLICECIVILIANCADRES = 13,
- /// <summary>
- /// 武警士兵证
- /// </summary>
- ARMEDPOLICECERTIFICATE = 14,
- /// <summary>
- /// 海外客户编号
- /// </summary>
- OVERSEASCUSTOMERNUMBER = 15,
- /// <summary>
- /// 学员证
- /// </summary>
- STUDENTCARD = 16,
- /// <summary>
- /// 退休证
- /// </summary>
- RETIREMENTCERTIFICATE = 17,
- /// <summary>
- /// 对公营业执照号码
- /// </summary>
- BUSINESSLICENSETOPUBLIC = 18,
- /// <summary>
- /// 台湾通行证
- /// </summary>
- TAIWANGPASSPORT = 19,
- /// <summary>
- /// 统一社会信用代码
- /// </summary>
- UNIFIEDSOCIALCREDITCODE = 21,
- /// <summary>
- /// 个人其他类证件
- /// </summary>
- OTHER_PERSON = 20,
- /// <summary>
- /// 非个人其他类证件
- /// </summary>
- OTHER_ORG = 22
- }
- /// <summary>
- // 开户方式
- /// </summary>
- public enum eAccountOpenMode {
- /// <summary>
- /// 管理端开户
- /// </summary>
- ACCOUNTOPENMODE_FROMMANAGECLIENT = 0,
- /// <summary>
- /// PC交易端注册
- /// </summary>
- ACCOUNTOPENMODE_FROMPCTRADECLIENT = 2,
- /// <summary>
- /// 安卓手机端注册
- /// </summary>
- ACCOUNTOPENMODE_FROMANDRIODAPP = 3,
- /// <summary>
- /// 网页交易端注册
- /// </summary>
- ACCOUNTOPENMODE_FROMWEBAPP = 4,
- /// <summary>
- /// 微信开户
- /// </summary>
- ACCOUNTOPENMODE_FROMWECHAT = 5,
- /// <summary>
- /// 苹果手机端注册
- /// </summary>
- ACCOUNTOPENMODE_FROMIOSAPP = 6,
- /// <summary>
- /// 网上开户注册(会员官网)
- /// </summary>
- ACCOUNTOPENMODE_FROMWEBSITE = 7
- }
- /// <summary>
- // 客户性别
- /// </summary>
- public enum eCustomerSex {
- /// <summary>
- /// 男
- /// </summary>
- CUSTOMERSEX_MALE = 0,
- /// <summary>
- /// 女
- /// </summary>
- CUSTOMERSEX_FEMALE = 1
- }
- /// <summary>
- // 机构层级类型
- /// </summary>
- public enum eAreaLevelType {
- /// <summary>
- /// 三方服务机构(独立机构,不在集团树上)
- /// </summary>
- AREALEVEL_THIRDPARTY = 0,
- /// <summary>
- /// 集团
- /// </summary>
- AREALEVEL_EXCHANGEGROUP = 1,
- /// <summary>
- /// 交易所
- /// </summary>
- AREALEVEL_EXCHANGE = 2,
- /// <summary>
- /// 运营中心
- /// </summary>
- AREALEVEL_OPERATION = 3,
- /// <summary>
- /// 会员
- /// </summary>
- AREALEVEL_MEMBER = 4,
- /// <summary>
- /// 会员机构
- /// </summary>
- AREALEVEL_MEMBERAREA = 5,
- /// <summary>
- /// 会员2层机构
- /// </summary>
- AREALEVEL_MEMBERLEVEL2AREA = 6,
- /// <summary>
- /// 会员3层机构
- /// </summary>
- AREALEVEL_MEMBERLEVEL3AREA = 7,
- /// <summary>
- /// 会员4层机构
- /// </summary>
- AREALEVEL_MEMBERLEVEL4AREA = 8
- }
- /// <summary>
- // 机构状态
- /// </summary>
- public enum eAreaStatus {
- /// <summary>
- /// 待激活
- /// </summary>
- AREASTATUS_INACTIVE = 0,
- /// <summary>
- /// 正常
- /// </summary>
- AREASTATUS_NORMAL = 1,
- /// <summary>
- /// 已注销
- /// </summary>
- AREASTATUS_CLOSED = 2
- }
- /// <summary>
- // 机构角色
- /// </summary>
- public enum eAreaRole {
- /// <summary>
- /// 经纪商
- /// </summary>
- AREAROLE_BROKERMEMBER = 1,
- /// <summary>
- /// 交易会员
- /// </summary>
- AREAROLE_MAKEMEMBER = 2,
- /// <summary>
- /// 结算会员
- /// </summary>
- AREAROLE_TOPMAKEMEMBER = 4,
- /// <summary>
- /// 仓库会员
- /// </summary>
- AREAROLE_STOREMEMBER = 8,
- /// <summary>
- /// 供货商
- /// </summary>
- AREAROLE_INDUSTRYMEMBER = 16,
- /// <summary>
- /// 金融会员
- /// </summary>
- AREAROLE_CAPITALMEMBER = 32
- }
- /// <summary>
- // 账户类型
- /// </summary>
- public enum eAccountType {
- /// <summary>
- /// 投资者账户
- /// </summary>
- ACCOUNTTYPE_INVESTOR = 0,
- /// <summary>
- /// 交易员账户
- /// </summary>
- ACCOUNTTYPE_TRADER = 1,
- /// <summary>
- /// 经纪商账户
- /// </summary>
- ACCOUNTTYPE_BROKER = 2,
- /// <summary>
- /// 机构账户
- /// </summary>
- ACCOUNTTYPE_AREA = 3,
- /// <summary>
- /// 三方机构账户
- /// </summary>
- ACCOUNTTYPE_THIRDPARTY = 4,
- /// <summary>
- /// 会员账户
- /// </summary>
- ACCOUNTTYPE_MEMBER = 5,
- /// <summary>
- /// 运营中心账户
- /// </summary>
- ACCOUNTTYPE_OPERATION = 6,
- /// <summary>
- /// 交易所账户
- /// </summary>
- ACCOUNTTYPE_EXCHANGE = 7,
- /// <summary>
- /// 集团账户
- /// </summary>
- ACCOUNTTYPE_EXCHANGEGROUP = 8,
- /// <summary>
- /// 管理员
- /// </summary>
- ACCOUNTTYPE_MANAGER = 9
- }
- /// <summary>
- // 对手关系类型
- /// </summary>
- public enum eMMRelationType {
- /// <summary>
- /// 投资者对手关系
- /// </summary>
- MMRELATION_INVESTOR = 0,
- /// <summary>
- /// 自营对手关系
- /// </summary>
- MMRELATION_MEMBERTRADER = 1
- }
- /// <summary>
- // 费用分配关系类型
- /// </summary>
- public enum eFeeDivideMatchType {
- /// <summary>
- /// 投资者费用分配
- /// </summary>
- FEEDIVIDEMATCHTYPE_INVESTOR = 0,
- /// <summary>
- /// 交易员费用分配
- /// </summary>
- FEEDIVIDEMATCHTYPE_MEMBERTRADER = 1
- }
- /// <summary>
- // 费用分配算法
- /// </summary>
- public enum eFeeDivideCalcMethod {
- /// <summary>
- /// 费用百分比
- /// </summary>
- FEEDIVIDECALCMETHOD_FEEPERCENT = 2,
- /// <summary>
- /// 余下全部
- /// </summary>
- FEEDIVIDECALCMETHOD_REMAINDER = 8
- }
- /// <summary>
- // 费用类别
- /// </summary>
- public enum eTradeFeeKind {
- /// <summary>
- /// 交易手续费
- /// </summary>
- TRADEFEEKIND_TRADEORDERFEE = 1,
- /// <summary>
- /// 交割手续费
- /// </summary>
- TRADEFEEKIND_DELIVERYFEE = 2,
- /// <summary>
- /// 递延费
- /// </summary>
- TRADEFEEKIND_INTEREST = 4,
- /// <summary>
- /// 冻结款
- /// </summary>
- TRADEFEEKIND_FREEZE = 8,
- /// <summary>
- /// 占用款
- /// </summary>
- TRADEFEEKIND_USED = 16,
- /// <summary>
- /// 点差
- /// </summary>
- TRADEFEEKIND_POINT = 32,
- /// <summary>
- /// 挂牌费
- /// </summary>
- TRADEFEEKIND_STOREINFEE = 64,
- /// <summary>
- /// 申购手续费
- /// </summary>
- TRADEFEEKIND_SUBSCRIPTFEE = 128,
- /// <summary>
- /// 发行手续费
- /// </summary>
- TRADEFEEKIND_PUBLISHFEE = 256,
- /// <summary>
- /// 平仓盈利转换积分
- /// </summary>
- TRADEFEEKIND_DEALEARNTURNINTEGRAL = 512
- }
- /// <summary>
- // 币种
- /// </summary>
- public enum eCurrency {
- /// <summary>
- /// 人民币
- /// </summary>
- RMB = 0,
- /// <summary>
- /// 美元
- /// </summary>
- USD = 1,
- /// <summary>
- /// 欧元
- /// </summary>
- EUR = 2,
- /// <summary>
- /// 日元
- /// </summary>
- JPA = 3,
- /// <summary>
- /// 港币
- /// </summary>
- HKD = 4,
- /// <summary>
- /// 美分
- /// </summary>
- CNT = 5
- }
- /// <summary>
- // 委托单建平类型
- /// </summary>
- public enum eOrderBuildType {
- /// <summary>
- /// 买入
- /// </summary>
- ORDERBUILDTYPE_OPEN = 0,
- /// <summary>
- /// 卖出
- /// </summary>
- ORDERBUILDTYPE_CLOSE = 1,
- /// <summary>
- /// 撤销
- /// </summary>
- ORDERBUILDTYPE_CANCEL = 2
- }
- /// <summary>
- // 商品期限类型
- /// </summary>
- public enum eGoodsLimitedType {
- /// <summary>
- /// 年
- /// </summary>
- GOODSLIMITEDTYPE_YEAR = 0,
- /// <summary>
- /// 月
- /// </summary>
- GOODSLIMITEDTYPE_MONTH = 1,
- /// <summary>
- /// 日
- /// </summary>
- GOODSLIMITEDTYPE_DAY = 2
- }
- /// <summary>
- // 交易日志类型
- /// </summary>
- public enum eTradeLogType {
- /// <summary>
- /// 客户端下单
- /// </summary>
- TRADELOGTYPE_CLIENTREQ = 0,
- /// <summary>
- /// 服务器发出的回应客户端信息
- /// </summary>
- TRADELOGTYPE_CLIENTRSP = 1,
- /// <summary>
- /// 服务器发出的资金请求
- /// </summary>
- TRADELOGTYPE_MONEYREQ = 2,
- /// <summary>
- /// 资金返回
- /// </summary>
- TRADELOGTYPE_MONEYRSP = 3,
- /// <summary>
- /// 交割服务返回
- /// </summary>
- TRADELOGTYPE_DELIVERYRSP = 5
- }
- /// <summary>
- // 委托模式
- /// </summary>
- public enum eOrderMode {
- /// <summary>
- /// FAK
- /// </summary>
- ORDERMODE_FAK = 0,
- /// <summary>
- /// FOK
- /// </summary>
- ORDERMODE_FOK = 1,
- /// <summary>
- /// 不成交则挂单
- /// </summary>
- ORDERMODE_STD = 2,
- /// <summary>
- /// 委托模式最大值
- /// </summary>
- ORDERMODE_MAX = 3
- }
- /// <summary>
- // 交易平仓模式
- /// </summary>
- public enum eTradeCloseMode {
- /// <summary>
- /// 平今日
- /// </summary>
- TRADECLOSEMODE_CLOSETODAY = 0,
- /// <summary>
- /// 平历史
- /// </summary>
- TRADECLOSEMODE_CLOSEHISTORY = 1,
- /// <summary>
- /// 不区分今仓和历史仓
- /// </summary>
- TRADECLOSEMODE_CLOSEALL = 2,
- /// <summary>
- /// 平仓模式最大值
- /// </summary>
- TRADECLOSEMODE_MAX = 3
- }
- /// <summary>
- // 计算枚举
- /// </summary>
- public enum eCalMode {
- /// <summary>
- /// 总额百分比
- /// </summary>
- CALMODE_FIXEDRATIO = 0,
- /// <summary>
- /// 合约单位固定值
- /// </summary>
- CALMODE_FIXEDNUMBER = 1,
- /// <summary>
- /// 总的固定值
- /// </summary>
- CALMODE_TOTALFIXEDNUMBER = 2
- }
- /// <summary>
- // 交易个性化规则
- /// </summary>
- public enum eTradeRulePersonal {
- /// <summary>
- /// 买点差增量
- /// </summary>
- TRADERULEPERSONAL_MBUYPTINC = 2001,
- /// <summary>
- /// 卖点差增量
- /// </summary>
- TRADERULEPERSONAL_MSELLPTINC = 2002,
- /// <summary>
- /// 买点差增量
- /// </summary>
- TRADERULEPERSONAL_XBUYPTINC = 4001,
- /// <summary>
- /// 卖点差增量
- /// </summary>
- TRADERULEPERSONAL_XSELLPTINC = 4002
- }
- /// <summary>
- // 资金变更流水操作类型
- /// </summary>
- public enum eTAAccountLogOpType {
- /// <summary>
- /// 连续现货交易手续费
- /// </summary>
- TAACCOUNTLOG_MM_BUILD_ORDER_FEE = 1120,
- /// <summary>
- /// 连续现货交易全款金额
- /// </summary>
- TAACCOUNTLOG_MM_BUILD_ORDER_PAY = 1121,
- /// <summary>
- /// 连续现货交易仓单服务费
- /// </summary>
- TAACCOUNTLOG_MM_BUILD_ORDER_WAREHOUSE_FEE = 1125,
- /// <summary>
- /// 连续现货交易手续费
- /// </summary>
- TAACCOUNTLOG_MM_CLOSE_ORDER_FEE = 1130,
- /// <summary>
- /// 连续现货交易全款金额
- /// </summary>
- TAACCOUNTLOG_MM_CLOSE_ORDER_PAY = 1131,
- /// <summary>
- /// 连续现货交易仓单服务费
- /// </summary>
- TAACCOUNTLOG_MM_CLOSE_ORDER_WAREHOUSE_FEE = 1135,
- /// <summary>
- /// 连续现货交易盈亏
- /// </summary>
- TAACCOUNTLOG_MM_CLOSE_ORDER_PL = 1139,
- /// <summary>
- /// 连续现货结算盈亏
- /// </summary>
- TAACCOUNTLOG_MM_RECKON_PL = 1140,
- /// <summary>
- /// 连续现货结算递延费
- /// </summary>
- TAACCOUNTLOG_MM_RECKON_DELAY_FEE = 1141,
- /// <summary>
- /// 连续现货交易手续费分成
- /// </summary>
- TAACCOUNTLOG_MM_DIVIDE_TRADEFEE = 1160,
- /// <summary>
- /// 连续现货递延费分成
- /// </summary>
- TAACCOUNTLOG_MM_DIVIDE_INTEREST = 1162,
- /// <summary>
- /// 挂牌交易手续费
- /// </summary>
- TAACCOUNTLOG_BM_BUILD_ORDER_FEE = 1220,
- /// <summary>
- /// 挂牌交易全款金额
- /// </summary>
- TAACCOUNTLOG_BM_BUILD_ORDER_PAY = 1221,
- /// <summary>
- /// 挂牌交易仓单服务费
- /// </summary>
- TAACCOUNTLOG_BM_BUILD_ORDER_WAREHOUSE_FEE = 1225,
- /// <summary>
- /// 挂牌交易手续费
- /// </summary>
- TAACCOUNTLOG_BM_CLOSE_ORDER_FEE = 1230,
- /// <summary>
- /// 挂牌交易全款金额
- /// </summary>
- TAACCOUNTLOG_BM_CLOSE_ORDER_PAY = 1231,
- /// <summary>
- /// 挂牌交易仓单服务费
- /// </summary>
- TAACCOUNTLOG_BM_CLOSE_ORDER_WAREHOUSE_FEE = 1235,
- /// <summary>
- /// 挂牌交易盈亏
- /// </summary>
- TAACCOUNTLOG_BM_CLOSE_ORDER_PL = 1239,
- /// <summary>
- /// 挂牌结算盈亏
- /// </summary>
- TAACCOUNTLOG_BM_RECKON_PL = 1240,
- /// <summary>
- /// 挂牌结算递延费
- /// </summary>
- TAACCOUNTLOG_BM_RECKON_DELAY_FEE = 1241,
- /// <summary>
- /// 挂牌交易手续费分成
- /// </summary>
- TAACCOUNTLOG_BM_DIVIDE_TRADEFEE = 1260,
- /// <summary>
- /// 挂牌递延费分成
- /// </summary>
- TAACCOUNTLOG_BM_DIVIDE_INTEREST = 1262,
- /// <summary>
- /// 申购手续费
- /// </summary>
- TAACCOUNTLOG_IM_BUILD_ORDER_FEE = 1320,
- /// <summary>
- /// 发售买入全款金额
- /// </summary>
- TAACCOUNTLOG_IM_BUILD_ORDER_PAY = 1321,
- /// <summary>
- /// 发行手续费
- /// </summary>
- TAACCOUNTLOG_IM_CLOSE_ORDER_FEE = 1330,
- /// <summary>
- /// 发售卖出全款金额
- /// </summary>
- TAACCOUNTLOG_IM_CLOSE_ORDER_PAY = 1331,
- /// <summary>
- /// 发售交易手续费分成
- /// </summary>
- TAACCOUNTLOG_IM_DIVIDE_TRADEFEE = 1360,
- /// <summary>
- /// 发售递延费分成
- /// </summary>
- TAACCOUNTLOG_IM_DIVIDE_INTEREST = 1362,
- /// <summary>
- /// 发售申购手续费分成
- /// </summary>
- TAACCOUNTLOG_IM_DIVIDE_SUBSCRIBE_FEE = 1363,
- /// <summary>
- /// 发售发行手续费分成
- /// </summary>
- TAACCOUNTLOG_IM_DIVIDE_PUBLISH_FEE = 1364,
- /// <summary>
- /// 混合模式交易手续费
- /// </summary>
- TAACCOUNTLOG_XM_BUILD_ORDER_FEE = 1420,
- /// <summary>
- /// 混合模式交易全款金额
- /// </summary>
- TAACCOUNTLOG_XM_BUILD_ORDER_PAY = 1421,
- /// <summary>
- /// 混合模式交易仓单服务费
- /// </summary>
- TAACCOUNTLOG_XM_BUILD_ORDER_WAREHOUSE_FEE = 1425,
- /// <summary>
- /// 混合模式交易手续费
- /// </summary>
- TAACCOUNTLOG_XM_CLOSE_ORDER_FEE = 1430,
- /// <summary>
- /// 混合模式交易全款金额
- /// </summary>
- TAACCOUNTLOG_XM_CLOSE_ORDER_PAY = 1431,
- /// <summary>
- /// 混合模式交易仓单服务费
- /// </summary>
- TAACCOUNTLOG_XM_CLOSE_ORDER_WAREHOUSE_FEE = 1435,
- /// <summary>
- /// 混合模式交易盈亏
- /// </summary>
- TAACCOUNTLOG_XM_CLOSE_ORDER_PL = 1439,
- /// <summary>
- /// 混合结算盈亏
- /// </summary>
- TAACCOUNTLOG_XM_RECKON_PL = 1440,
- /// <summary>
- /// 混合结算递延费
- /// </summary>
- TAACCOUNTLOG_XM_RECKON_DELAY_FEE = 1441,
- /// <summary>
- /// 混合模式交易手续费分成
- /// </summary>
- TAACCOUNTLOG_XM_DIVIDE_TRADEFEE = 1460,
- /// <summary>
- /// 混合模式递延费分成
- /// </summary>
- TAACCOUNTLOG_XM_DIVIDE_INTEREST = 1462,
- /// <summary>
- /// 入金
- /// </summary>
- TAACCOUNTLOG_BK_IN_MONEY = 2100,
- /// <summary>
- /// 出金
- /// </summary>
- TAACCOUNTLOG_BK_OUT_MONEY = 2200,
- /// <summary>
- /// 调整-出入金调整
- /// </summary>
- TAACCOUNTLOG_BK_INOUT_ADJUST = 2300,
- /// <summary>
- /// 调整-资金调整
- /// </summary>
- TAACCOUNTLOG_INR_ADJUST_TAAMOUNT = 3100,
- /// <summary>
- /// 调整-连续现货买入手续费
- /// </summary>
- TAACCOUNTLOG_MANUAL_MM_BUILDINGFEE = 3101,
- /// <summary>
- /// 调整-连续现货买入仓单服务费
- /// </summary>
- TAACCOUNTLOG_MANUAL_MM_BUILDINGWARRANT_EXPENSE = 3102,
- /// <summary>
- /// 调整-连续现货卖出手续费
- /// </summary>
- TAACCOUNTLOG_MANUAL_MM_COVERFEE = 3103,
- /// <summary>
- /// 调整-连续现货卖出仓单服务费
- /// </summary>
- TAACCOUNTLOG_MANUAL_MM_COVERWARRANT_EXPENSE = 3104,
- /// <summary>
- /// 调整-连续现货卖出盈亏
- /// </summary>
- TAACCOUNTLOG_MANUAL_MM_COVER_PROFIT = 3105,
- /// <summary>
- /// 调整-连续现货结算盈亏
- /// </summary>
- TAACCOUNTLOG_MANUAL_MM_BALANCE_PROFIT = 3106,
- /// <summary>
- /// 调整-连续现货结算递延费
- /// </summary>
- TAACCOUNTLOG_MANUAL_MM_BALANCE_DEFERRED_CHARGES = 3107,
- /// <summary>
- /// 调整-连续现货交收手续费
- /// </summary>
- TAACCOUNTLOG_MANUAL_MM_SETTLEMENT_FEE = 3108,
- /// <summary>
- /// 调整-挂牌买入手续费
- /// </summary>
- TAACCOUNTLOG_MANUAL_BM_BUILDINGFEE = 3109,
- /// <summary>
- /// 调整-挂牌买入仓单服务费
- /// </summary>
- TAACCOUNTLOG_MANUAL_BM_BUILDINGWARRANT_EXPENSE = 3110,
- /// <summary>
- /// 调整-挂牌卖出手续费
- /// </summary>
- TAACCOUNTLOG_MANUAL_BM_COVERFEE = 3111,
- /// <summary>
- /// 调整-挂牌卖出仓单服务费
- /// </summary>
- TAACCOUNTLOG_MANUAL_BM_COVERWARRANT_EXPENSE = 3112,
- /// <summary>
- /// 调整-挂牌卖出盈亏
- /// </summary>
- TAACCOUNTLOG_MANUAL_BM_COVER_PROFIT = 3113,
- /// <summary>
- /// 调整-挂牌结算盈亏
- /// </summary>
- TAACCOUNTLOG_MANUAL_BM_BALANCE_PROFIT = 3114,
- /// <summary>
- /// 调整-挂牌结算递延费
- /// </summary>
- TAACCOUNTLOG_MANUAL_BM_BALANCE_DEFERRED_CHARGES = 3115,
- /// <summary>
- /// 调整-挂牌交收手续费
- /// </summary>
- TAACCOUNTLOG_MANUAL_BM_SETTLEMENT_FEE = 3116,
- /// <summary>
- /// 调整-发售买入手续费
- /// </summary>
- TAACCOUNTLOG_MANUAL_IM_BUILDINGFEE = 3117,
- /// <summary>
- /// 调整-发售卖出手续费
- /// </summary>
- TAACCOUNTLOG_MANUAL_IM_COVERFEE = 3118,
- /// <summary>
- /// 调整-混合模式买入手续费
- /// </summary>
- TAACCOUNTLOG_MANUAL_XM_BUILDINGFEE = 3119,
- /// <summary>
- /// 调整-混合模式买入仓单服务费
- /// </summary>
- TAACCOUNTLOG_MANUAL_XM_BUILDINGWARRANT_EXPENSE = 3120,
- /// <summary>
- /// 调整-混合模式卖出手续费
- /// </summary>
- TAACCOUNTLOG_MANUAL_XM_COVERFEE = 3121,
- /// <summary>
- /// 调整-混合模式卖出仓单服务费
- /// </summary>
- TAACCOUNTLOG_MANUAL_XM_COVERWARRANT_EXPENSE = 3122,
- /// <summary>
- /// 调整-混合模式卖出盈亏
- /// </summary>
- TAACCOUNTLOG_MANUAL_XM_COVER_PROFIT = 3123,
- /// <summary>
- /// 调整-混合结算盈亏
- /// </summary>
- TAACCOUNTLOG_MANUAL_XM_BALANCE_PROFIT = 3124,
- /// <summary>
- /// 调整-混合结算递延费
- /// </summary>
- TAACCOUNTLOG_MANUAL_XM_BALANCE_DEFERRED_CHARGES = 3125,
- /// <summary>
- /// 调整-混合交收手续费
- /// </summary>
- TAACCOUNTLOG_MANUAL_XM_SETTLEMENT_FEE = 3126,
- /// <summary>
- /// 调整-入金
- /// </summary>
- TAACCOUNTLOG_MANUAL_DEPOSIT = 3127,
- /// <summary>
- /// 调整-出金
- /// </summary>
- TAACCOUNTLOG_MANUAL_OUT_DEPOSIT = 3128,
- /// <summary>
- /// 斩仓回退
- /// </summary>
- TAACCOUNTLOG_CUT_BACK = 3200,
- /// <summary>
- /// 交割手续费
- /// </summary>
- TAACCOUNTLOG_DELIVERY_FEE = 4000,
- /// <summary>
- /// 交割费用分成
- /// </summary>
- TAACCOUNTLOG_DELIVERY_DIVIDE_FEE = 4001,
- /// <summary>
- /// 交割升贴水
- /// </summary>
- TAACCOUNTLOG_DELIVERY_PRICEMOVE = 4002,
- /// <summary>
- /// 交割确认扣款
- /// </summary>
- TAACCOUNTLOG_DELIVERY_CONFIRM = 4003,
- /// <summary>
- /// 交割收款
- /// </summary>
- TAACCOUNTLOG_DELIVERY_RECEIVE = 4004,
- /// <summary>
- /// 交割卖出全款金额
- /// </summary>
- TAACCOUNTLOG_DELIVERY_CLOSE_PAY = 4005,
- /// <summary>
- /// 交割税款
- /// </summary>
- TAACCOUNTLOG_DELIVERY_TAX = 4006,
- /// <summary>
- /// 交割货款
- /// </summary>
- TAACCOUNTLOG_DELIVERY_PAYMENT = 4007,
- /// <summary>
- /// 交割盈亏
- /// </summary>
- TAACCOUNTLOG_DELIVERY_PL = 4008,
- /// <summary>
- /// 挂牌点价手续费
- /// </summary>
- TAACCOUNTLOG_LISTING_FEE = 4100,
- /// <summary>
- /// 挂牌点价手续费分成
- /// </summary>
- TAACCOUNTLOG_LISTING_DIVIDE_FEE = 4101,
- /// <summary>
- /// 摘牌手续费
- /// </summary>
- TAACCOUNTLOG_DELISTING_FEE = 4102,
- /// <summary>
- /// 摘牌手续费分成
- /// </summary>
- TAACCOUNTLOG_DELISTING_DIVIDE_FEE = 4103,
- /// <summary>
- /// 挂牌点价全款金额
- /// </summary>
- TAACCOUNTLOG_LISTING_PAY = 4104,
- /// <summary>
- /// 托管手续费
- /// </summary>
- TAACCOUNTLOG_MANAGED_FEE = 4200,
- /// <summary>
- /// 托管手续费分成
- /// </summary>
- TAACCOUNTLOG_MANAGED_DIVIDE_FEE = 4201,
- /// <summary>
- /// 交易盈利划转
- /// </summary>
- TAACCOUNTLOG_PROFIT_TRANSFER = 4300,
- /// <summary>
- /// 交易盈利划转分成
- /// </summary>
- TAACCOUNTLOG_PROFIT_TRANSFER_DIVIDE = 4301
- }
- /// <summary>
- // 资金金额明细类型
- /// </summary>
- public enum eTAAmountDetailType {
- /// <summary>
- /// 连续现货手续费
- /// </summary>
- TAAMOUNTDETAIL_MM_FEE = 1120,
- /// <summary>
- /// 连续现货仓单服务费
- /// </summary>
- TAAMOUNTDETAIL_MM_WAREHOUSE_FEE = 1135,
- /// <summary>
- /// 连续现货递延费
- /// </summary>
- TAAMOUNTDETAIL_MM_DEFER_FEE = 1140,
- /// <summary>
- /// 连续现货冻结保证金
- /// </summary>
- TAAMOUNTDETAIL_MM_FREEZEMARGIN = 1150,
- /// <summary>
- /// 连续现货占用保证金
- /// </summary>
- TAAMOUNTDETAIL_MM_USEDMARGIN = 1151,
- /// <summary>
- /// 连续现货费用冻结
- /// </summary>
- TAAMOUNTDETAIL_MM_FEEFREEZE = 1160,
- /// <summary>
- /// 挂牌手续费
- /// </summary>
- TAAMOUNTDETAIL_BM_FEE = 1220,
- /// <summary>
- /// 挂牌仓单服务费
- /// </summary>
- TAAMOUNTDETAIL_BM_WAREHOUSE_FEE = 1235,
- /// <summary>
- /// 挂牌递延费
- /// </summary>
- TAAMOUNTDETAIL_BM_DEFER_FEE = 1240,
- /// <summary>
- /// 挂牌冻结保证金
- /// </summary>
- TAAMOUNTDETAIL_BM_FREEZEMARGIN = 1250,
- /// <summary>
- /// 挂牌占用保证金
- /// </summary>
- TAAMOUNTDETAIL_BM_USEDMARGIN = 1251,
- /// <summary>
- /// 挂牌费用冻结
- /// </summary>
- TAAMOUNTDETAIL_BM_FEEFREEZE = 1260,
- /// <summary>
- /// 交收冻结
- /// </summary>
- TAAMOUNTDETAIL_DELIVERY_FREEZE = 1310,
- /// <summary>
- /// 交割手续费
- /// </summary>
- TAAMOUNTDETAIL_DELIVERY_FEE = 1330,
- /// <summary>
- /// 交收税款
- /// </summary>
- TAAMOUNTDETAIL_DELIVERY_TAX = 1340,
- /// <summary>
- /// 交割盈亏
- /// </summary>
- TAAMOUNTDETAIL_DELIVERY_PL = 1350,
- /// <summary>
- /// 交割欠款
- /// </summary>
- TAAMOUNTDETAIL_DELIVERY_DEBT = 1360,
- /// <summary>
- /// 发售冻结
- /// </summary>
- TAAMOUNTDETAIL_IM_FREEZE = 1400,
- /// <summary>
- /// 发售手续费
- /// </summary>
- TAAMOUNTDETAIL_IM_FEE = 1410,
- /// <summary>
- /// 发售申购手续费
- /// </summary>
- TAAMOUNTDETAIL_IM_SUBSCRIBE_FEE = 1420,
- /// <summary>
- /// 发售发行手续费
- /// </summary>
- TAAMOUNTDETAIL_IM_PUBLISH_FEE = 1430,
- /// <summary>
- /// 混合模式手续费
- /// </summary>
- TAAMOUNTDETAIL_XM_FEE = 1520,
- /// <summary>
- /// 混合模式仓单服务费
- /// </summary>
- TAAMOUNTDETAIL_XM_WAREHOUSE_FEE = 1535,
- /// <summary>
- /// 混合模式递延费
- /// </summary>
- TAAMOUNTDETAIL_XM_DEFER_FEE = 1540,
- /// <summary>
- /// 混合冻结保证金
- /// </summary>
- TAAMOUNTDETAIL_XM_FREEZEMARGIN = 1550,
- /// <summary>
- /// 混合占用保证金
- /// </summary>
- TAAMOUNTDETAIL_XM_USEDMARGIN = 1551,
- /// <summary>
- /// 混合费用冻结
- /// </summary>
- TAAMOUNTDETAIL_XM_FEEFREEZE = 1560,
- /// <summary>
- /// 挂牌点价手续费
- /// </summary>
- TAAMOUNTDETAIL_LISTING_FEE = 1600,
- /// <summary>
- /// 摘牌手续费
- /// </summary>
- TAAMOUNTDETAIL_DELISTING_FEE = 1601,
- /// <summary>
- /// 摘牌冻结
- /// </summary>
- TAAMOUNTDETAIL_DELISTING_FREEZE = 1602,
- /// <summary>
- /// 挂牌冻结
- /// </summary>
- TAAMOUNTDETAIL_LISTING_FREEZE = 1603,
- /// <summary>
- /// 托管冻结
- /// </summary>
- TAAMOUNTDETAIL_MANAGED_FREEZE = 1700,
- /// <summary>
- /// 托管手续费
- /// </summary>
- TAAMOUNTDETAIL_MANAGED_FEE = 1701,
- /// <summary>
- /// 外部冻结
- /// </summary>
- TAAMOUNTDETAIL_OTR_FREEZE = 3210
- }
- /// <summary>
- // 发售价格确定方式
- /// </summary>
- public enum eIssuePriceDefineWay {
- /// <summary>
- /// 指定价
- /// </summary>
- ISSUEPRICEDEFINEWAY_SPEC = 0,
- /// <summary>
- /// 区间价
- /// </summary>
- ISSUEPRICEDEFINEWAY_SCOPE = 1
- }
- /// <summary>
- // 发售价格确定模式
- /// </summary>
- public enum eIssuePriceDefineMode {
- /// <summary>
- /// 竞价模式
- /// </summary>
- ISSUEPRICEDEFINEMODE_BID = 0,
- /// <summary>
- /// 累计投标模式
- /// </summary>
- ISSUEPRICEDEFINEMODE_SERIESBID = 1
- }
- /// <summary>
- // 头寸类型
- /// </summary>
- public enum ePositionType {
- /// <summary>
- /// 投资者持仓汇总
- /// </summary>
- POSITIONTYPE_INVESTOR = 0,
- /// <summary>
- /// 会员持仓汇总
- /// </summary>
- POSITIONTYPE_MEMBER = 1
- }
- /// <summary>
- // 通用结果
- /// </summary>
- public enum eCommonResult {
- /// <summary>
- /// 通过
- /// </summary>
- COMMONRESULT_OK = 0,
- /// <summary>
- /// 拒绝
- /// </summary>
- COMMONRESULT_REJECT = 1,
- /// <summary>
- /// 待审核
- /// </summary>
- COMMONRESULT_WAIT = 2
- }
- /// <summary>
- // 交易规则类型
- /// </summary>
- public enum eTradeRuleType {
- /// <summary>
- /// 下单类型
- /// </summary>
- TRADERULETYPE_BUILDTYPE = 1,
- /// <summary>
- /// 价格类型
- /// </summary>
- TRADERULETYPE_PRICEMODE = 2,
- /// <summary>
- /// 止损止盈价格
- /// </summary>
- TRADERULETYPE_SLSPPRICE = 3,
- /// <summary>
- /// 反手买入
- /// </summary>
- TRADERULETYPE_REOPENFLAG = 4,
- /// <summary>
- /// 买卖方向
- /// </summary>
- TRADERULETYPE_BUYORSELL = 5
- }
- /// <summary>
- // 做市商订单类型
- /// </summary>
- public enum eMarketOrderType {
- /// <summary>
- /// 连续现货市价买入
- /// </summary>
- MARKETORDERTYPE_MARKETOPEN = 0,
- /// <summary>
- /// 连续现货限价买入
- /// </summary>
- MARKETORDERTYPE_LIMITOPEN = 1,
- /// <summary>
- /// 连续现货市价卖出
- /// </summary>
- MARKETORDERTYPE_MARKETCLOSE = 2,
- /// <summary>
- /// 连续现货限价卖出
- /// </summary>
- MARKETORDERTYPE_LIMITCLOSE = 3
- }
- /// <summary>
- // 斩仓规则
- /// </summary>
- public enum eCutMarginRule {
- /// <summary>
- /// 逐笔斩仓
- /// </summary>
- ORDERCUT = 0,
- /// <summary>
- /// 逐手斩仓
- /// </summary>
- HANDCUT = 1,
- /// <summary>
- /// 市场全斩
- /// </summary>
- MARKETALLCUT = 2
- }
- /// <summary>
- // 斩仓商品规则
- /// </summary>
- public enum eCutMarginGoodsRule {
- /// <summary>
- /// 先建先平
- /// </summary>
- CUTMARGINGOODS_FBFC = 0,
- /// <summary>
- /// 后建先平
- /// </summary>
- CUTMARGINGOODS_BBFC = 1,
- /// <summary>
- /// 盈利优先
- /// </summary>
- CUTMARGINGOODS_PF = 2,
- /// <summary>
- /// 亏损优先
- /// </summary>
- CUTMARGINGOODS_LF = 3
- }
- /// <summary>
- // 价格状态
- /// </summary>
- public enum ePriceStatus {
- /// <summary>
- /// 实时价
- /// </summary>
- PRICESTATUS_REAL = 0,
- /// <summary>
- /// 历史价
- /// </summary>
- PRICESTATUS_HISTORY = 1,
- /// <summary>
- /// 清盘价
- /// </summary>
- PRICESTATUS_CLEAR = 2,
- /// <summary>
- /// 结算价
- /// </summary>
- PRICESTATUS_RECKON = 3,
- /// <summary>
- /// 最后一口价
- /// </summary>
- PRICESTATUS_LASTPRICE = 4
- }
- /// <summary>
- // 结算状态
- /// </summary>
- public enum eSettleStatus {
- /// <summary>
- /// 未开始
- /// </summary>
- SETTLESTATUS_NOSTART = 0,
- /// <summary>
- /// 开始
- /// </summary>
- SETTLESTATUS_START = 1,
- /// <summary>
- /// 完成
- /// </summary>
- SETTLESTATUS_FINISHED = 2
- }
- /// <summary>
- // 处理结果
- /// </summary>
- public enum eProcessResult {
- /// <summary>
- /// 成功
- /// </summary>
- PROCESSRESULT_OK = 0,
- /// <summary>
- /// 失败
- /// </summary>
- PROCESSRESULT_FAILED = 1
- }
- /// <summary>
- // 结算节点类型
- /// </summary>
- public enum eSettleNodeType {
- /// <summary>
- /// 基类节点
- /// </summary>
- SETTLENODETYPE_BASE = 0,
- /// <summary>
- /// 结算价节点
- /// </summary>
- SETTLENODETYPE_RECKONPRICE = 1,
- /// <summary>
- /// 结算单据加载节点
- /// </summary>
- SETTLENODETYPE_RECKONDATALOADER = 2,
- /// <summary>
- /// 导表节点
- /// </summary>
- SETTLENODETYPE_DATAEXPORT = 3,
- /// <summary>
- /// 预结算节点
- /// </summary>
- SETTLENODETYPE_PRERECKON = 4,
- /// <summary>
- /// 有负债或无负债节点
- /// </summary>
- SETTLENODETYPE_NONDEBTRECKON = 5,
- /// <summary>
- /// 到期单据处理节点
- /// </summary>
- SETTLENODETYPE_TIMEOUTORDER = 6,
- /// <summary>
- /// 费用分成节点
- /// </summary>
- SETTLENODETYPE_FEEDIVIDE = 7,
- /// <summary>
- /// 交易日节点
- /// </summary>
- SETTLENODETYPE_TRADEDATE = 8,
- /// <summary>
- /// 协议转让节点
- /// </summary>
- SETTLENODETYPE_TREATYCLOSE = 9,
- /// <summary>
- /// 到期持仓处理节点
- /// </summary>
- SETTLENODETYPE_TIMEOUTFORCECLOSE = 10,
- /// <summary>
- /// 数据备份节点
- /// </summary>
- SETTLENODETYPE_BAK = 11,
- /// <summary>
- /// 预买单撤单节点
- /// </summary>
- SETTLENODETYPE_PREPOSTCANCLE = 12,
- /// <summary>
- /// 到期交割节点
- /// </summary>
- SETTLENODETYPE_TIMEOUTDILIVERY = 13,
- /// <summary>
- /// 发售转二级节点
- /// </summary>
- SETTLENODETYPE_GOSECONDEMARKET = 14
- }
- /// <summary>
- // 风险率计算方式
- /// </summary>
- public enum eRiskRateMode {
- /// <summary>
- /// 占用/净值
- /// </summary>
- OCCUPYWORTH = 0,
- /// <summary>
- /// 净值/占用
- /// </summary>
- WORTHOCCUPY = 1
- }
- /// <summary>
- // 流水号生成KEY
- /// </summary>
- public enum eSerialKey {
- /// <summary>
- /// 基类节点
- /// </summary>
- SERIALKEY_RECKONPROGRESSLOG = 101,
- /// <summary>
- /// 结算价请求序列号
- /// </summary>
- SERIALKEY_RECKONREQUESTID = 102,
- /// <summary>
- /// 无负债结算节点请求序列号
- /// </summary>
- SERIALKEY_NONDEBTRECKONREQUESTID = 103,
- /// <summary>
- /// 费用分成请求序列号
- /// </summary>
- SERIALKEY_FEEDIVIDEREQUESTID = 104,
- /// <summary>
- /// 费用分成流水号
- /// </summary>
- SERIALKEY_FEEDIVIDETICHKET = 105
- }
- /// <summary>
- // 银行业务是否检查干净账户
- /// </summary>
- public enum eBankCheckCleanFlag {
- /// <summary>
- /// 检查
- /// </summary>
- BANK_CHECKCLEANFLAG_YES = 0,
- /// <summary>
- /// 不检查
- /// </summary>
- BANK_CHECKCLEANFLAG_NO = 1
- }
- /// <summary>
- // 记录是否已结算
- /// </summary>
- public enum eRecordReckonStatus {
- /// <summary>
- /// 等待下一次结算
- /// </summary>
- RECORDRECKONSTATUS_WAITNEXT = 0,
- /// <summary>
- /// 已发送到资金服务
- /// </summary>
- RECORDRECKONSTATUS_SENT = 1,
- /// <summary>
- /// 资金服务返回错误
- /// </summary>
- RECORDRECKONSTATUS_ERR = 2,
- /// <summary>
- /// 结算完成
- /// </summary>
- RECORDRECKONSTATUS_FINISHED = 3
- }
- /// <summary>
- // 汇总范围
- /// </summary>
- public enum eSummarizesScope {
- /// <summary>
- /// 当前层级
- /// </summary>
- SUMMARIZESSCOPE_CURRENTLEVEL = 0,
- /// <summary>
- /// 包含旗下层级
- /// </summary>
- SUMMARIZESSCOPE_OWNEDLEVEL = 1
- }
- /// <summary>
- // 汇总类型
- /// </summary>
- public enum eSummarizesType {
- /// <summary>
- /// 投资者账户
- /// </summary>
- SUMMARIZESTYPE_INVESTOR = 0,
- /// <summary>
- /// 经纪商账户
- /// </summary>
- SUMMARIZESTYPE_BROKER = 2,
- /// <summary>
- /// 机构账户
- /// </summary>
- SUMMARIZESTYPE_AREA = 3,
- /// <summary>
- /// 会员账户
- /// </summary>
- SUMMARIZESTYPE_MEMBER = 5,
- /// <summary>
- /// 运营中心账户
- /// </summary>
- SUMMARIZESTYPE_OPERATION = 6,
- /// <summary>
- /// 交易所账户
- /// </summary>
- SUMMARIZESTYPE_EXCHANGE = 7,
- /// <summary>
- /// 集团账户
- /// </summary>
- SUMMARIZESTYPE_EXCHANGEGROUP = 8
- }
- /// <summary>
- // 汇总周期
- /// </summary>
- public enum eSummarizesCycle {
- /// <summary>
- /// 分钟
- /// </summary>
- MINUTE = 1,
- /// <summary>
- /// 小时
- /// </summary>
- HOUR = 2,
- /// <summary>
- /// 日
- /// </summary>
- DAY = 3,
- /// <summary>
- /// 周
- /// </summary>
- WEEK = 4,
- /// <summary>
- /// 月
- /// </summary>
- MONTH = 5,
- /// <summary>
- /// 季
- /// </summary>
- QUARTER = 6,
- /// <summary>
- /// 年
- /// </summary>
- YEAR = 7
- }
- /// <summary>
- // 汇总分类(性质)
- /// </summary>
- public enum eSummarizesKind {
- /// <summary>
- /// 被动接单
- /// </summary>
- SUMMARIZES_PASSIVEORDER = 0,
- /// <summary>
- /// 主动自营
- /// </summary>
- SUMMARIZES_FROMTRADER = 1,
- /// <summary>
- /// 被动转单
- /// </summary>
- SUMMARIZES_PASSIVETRANSFER = 2,
- /// <summary>
- /// 转移单据
- /// </summary>
- SUMMARIZES_TRANSFER = 3
- }
- /// <summary>
- // 报表类型
- /// </summary>
- public enum eReportType {
- /// <summary>
- /// 投资者报表
- /// </summary>
- REPORTTYPE_INVESTOR = 0,
- /// <summary>
- /// 经纪商报表
- /// </summary>
- REPORTTYPE_BROKER = 1,
- /// <summary>
- /// 机构报表
- /// </summary>
- REPORTTYPE_AREA = 2,
- /// <summary>
- /// 交易所报表
- /// </summary>
- REPORTTYPE_EXCHANGE = 4,
- /// <summary>
- /// 银行报表
- /// </summary>
- REPORTTYPE_BANKCLEAR = 5,
- /// <summary>
- /// 商品成交报表
- /// </summary>
- REPORTTYPE_GOODSRECKONINFO = 6,
- /// <summary>
- /// 费用分成报表
- /// </summary>
- REPORTTYPE_FEEDIVIDE = 7
- }
- /// <summary>
- // 字段对齐
- /// </summary>
- public enum eFieldAlignment {
- /// <summary>
- /// 上
- /// </summary>
- FIELDALIGNMENT_TOP = 1,
- /// <summary>
- /// 左
- /// </summary>
- FIELDALIGNMENT_LEFT = 2,
- /// <summary>
- /// 中
- /// </summary>
- FIELDALIGNMENT_CENTER = 4,
- /// <summary>
- /// 右
- /// </summary>
- FIELDALIGNMENT_RIGHT = 8,
- /// <summary>
- /// 下
- /// </summary>
- FIELDALIGNMENT_BUTTOM = 16
- }
- /// <summary>
- // 单据标记
- /// </summary>
- public enum eOrderFlag {
- /// <summary>
- /// 正常委托
- /// </summary>
- ORDERFLAG_NORMAL = 0,
- /// <summary>
- /// 预埋单委托
- /// </summary>
- ORDERFLAG_PERPOST = 1,
- /// <summary>
- /// 预埋单触发委托
- /// </summary>
- ORDERFLAG_PERPOST_TIGGER = 2
- }
- /// <summary>
- // 预埋单触发类型
- /// </summary>
- public enum eTriggerType {
- /// <summary>
- /// 大于
- /// </summary>
- TRIGGERTYPE_GREATER = 1,
- /// <summary>
- /// 大于等于
- /// </summary>
- TRIGGERTYPE_GREATER_OR_EQUAL = 2,
- /// <summary>
- /// 小于
- /// </summary>
- TRIGGERTYPE_LESS = 3,
- /// <summary>
- /// 小于等于
- /// </summary>
- TRIGGERTYPE_LESS_OR_EQUAL = 4
- }
- /// <summary>
- // 预埋单单据状态
- /// </summary>
- public enum ePrepostStatus {
- /// <summary>
- /// 单据在市
- /// </summary>
- PREPOST_STATUS_MARKET = 1,
- /// <summary>
- /// 委托成功
- /// </summary>
- PREPOST_STATUS_SUCCEED = 2,
- /// <summary>
- /// 已撤
- /// </summary>
- PREPOST_STATUS_CANCELED = 3
- }
- /// <summary>
- // 协议平仓状态
- /// </summary>
- public enum eTreatyCloseStatus {
- /// <summary>
- /// 待确认
- /// </summary>
- TREATYCLOSESTATUS_CHECK = 1,
- /// <summary>
- /// 全部已确认
- /// </summary>
- TREATYCLOSESTATUS_ALLCONFIRM = 2,
- /// <summary>
- /// 自动确认
- /// </summary>
- TREATYCLOSESTATUS_AUTOCONFIRM = 3,
- /// <summary>
- /// 全部成交(成功)
- /// </summary>
- TREATYCLOSESTATUS_DEALED = 4,
- /// <summary>
- /// 协议处理中
- /// </summary>
- TREATYCLOSESTATUS_DEALING = 5,
- /// <summary>
- /// 转让失败
- /// </summary>
- TREATYCLOSESTATUS_FAILED = 6,
- /// <summary>
- /// 系统撤销
- /// </summary>
- TREATYCLOSESTATUS_SYSCANCELED = 7,
- /// <summary>
- /// 人工撤销
- /// </summary>
- TREATYCLOSESTATUS_MANUALCANCELED = 8,
- /// <summary>
- /// 买方已确认
- /// </summary>
- TREATYCLOSESTATUS_BUYCONFIRM = 9,
- /// <summary>
- /// 卖方已确认
- /// </summary>
- TREATYCLOSESTATUS_SELLCONFIRM = 10
- }
- /// <summary>
- // 短信模版编号
- /// </summary>
- public enum eSMSTemplateId {
- /// <summary>
- /// 网上开户验证模版1(您好,欢迎使用{0}网上开户系统,您的注册验证码为{1},请于5分钟内使用!--({2}))
- /// </summary>
- WEBUSER_REGISTER_CHECKCODE1 = 1,
- /// <summary>
- /// 网上开户验证模版2(您好,欢迎使用网上开户系统,您的注册验证码为{0}请于5分钟内使用!--(大交所))
- /// </summary>
- WEBUSER_REGISTER_CHECKCODE2 = 2,
- /// <summary>
- /// 网上开户审核通过模版1(尊敬的客户{0}您好,您提交的开户申请已通过审核。投资者账号:{1};登录账号:{2};登录初始密码:{3};资金初始密码:{4};电话初始密码:{5}。请妥善保管您的账号并及时修改初始密码。--{6})
- /// </summary>
- WEBUSER_REGISTER_CHECKPASS1 = 3,
- /// <summary>
- /// 网上开户审核通过模版2(尊敬的客户{0}您好,您提交的开户申请已通过审核。投资者账号:{1};登录账号:{2};登录初始密码:{3};资金初始密码:{4};电话初始密码:{5}。请妥善保管您的账号并及时修改初始密码。--{6})
- /// </summary>
- WEBUSER_REGISTER_CHECKPASS2 = 4,
- /// <summary>
- /// 网上开户审核失败模版(尊敬的客户{0}您好,您提交的开户申请未通过审核。原因:{1}。您可以联系我们了解详情后重新提交开户申请。 --{2})
- /// </summary>
- WEBUSER_REGISTER_CHECKFAIL = 5,
- /// <summary>
- /// 提示风险模板(尊敬的会员您好,您的登陆账号{0}由于资金安全率低于规定标准,交易系统于{1}提示您注意账户风险,特此通知。请时刻关注交易账户,将账户的资金安全率保持在合格水平,谢谢。[{2}])
- /// </summary>
- ORDERRISK_PROMPT = 6,
- /// <summary>
- /// 追加风险模板(尊敬的会员您好,您的登陆账号{0}由于资金安全率低于规定标准,交易系统于{1}提示您追加账户保证金,特此通知。请时刻关注交易账户,将账户的资金安全率保持在合格水平,谢谢。[{2}])
- /// </summary>
- ORDERRISK_ADDITIONAL = 7,
- /// <summary>
- /// 斩仓风险模板(尊敬的会员您好,您的登陆账号{0}由于资金安全率低于规定标准,已于{1}由交易系统代为平仓,特此通知。请时刻关注交易账户,将账户的资金安全率保持在合格水平,谢谢。[{2}])
- /// </summary>
- ORDERRISK_FORC = 8
- }
- /// <summary>
- // 交割交易类型
- /// </summary>
- public enum eDeliveryTradeType {
- /// <summary>
- /// 持仓数量冻结
- /// </summary>
- DELIVERYTRADETYPE_FREEZE = 1,
- /// <summary>
- /// 持仓数量解冻
- /// </summary>
- DELIVERYTRADETYPE_UNFREEZE = 2,
- /// <summary>
- /// 全额交割成交
- /// </summary>
- DELIVERYTRADETYPE_TRADE = 3,
- /// <summary>
- /// 保证金交割成交
- /// </summary>
- DELIVERYTRADETYPE_MARGINTRADE = 4,
- /// <summary>
- /// 先平后建成交
- /// </summary>
- DELIVERYTRADETYPE_CLOSETHENOPENTRADE = 5
- }
- /// <summary>
- // 到期持仓处理类型
- /// </summary>
- public enum eTimeoutHolderDealMethod {
- /// <summary>
- /// 到期强平
- /// </summary>
- HOLDER_DEAL_METHOD_CLOSE = 1,
- /// <summary>
- /// 到期无效
- /// </summary>
- HOLDER_DEAL_METHOD_INVALID = 2
- }
- /// <summary>
- // 资金明细操作类型
- /// </summary>
- public enum eMoneyDetailOperateType {
- /// <summary>
- /// 冻结金额
- /// </summary>
- MONEY_DETAIL_OP_FREEZE = 1,
- /// <summary>
- /// 费用金额
- /// </summary>
- MONEY_DETAIL_OP_FEE = 2,
- /// <summary>
- /// 全款金额
- /// </summary>
- MONEY_DETAIL_OP_PAY = 3
- }
- /// <summary>
- // 挂牌通知类型
- /// </summary>
- public enum eListingNtfType {
- /// <summary>
- /// 审核通过通知
- /// </summary>
- LISTING_AUDITPASS_NTF = 1,
- /// <summary>
- /// 改价通知
- /// </summary>
- LISTING_CHANGEPRICE_NTF = 2,
- /// <summary>
- /// 剩余数量通知
- /// </summary>
- LISTING_REMAINQTY_NTF = 3,
- /// <summary>
- /// 成交通知
- /// </summary>
- LISTING_BARGAIN_NTF = 4
- }
- /// <summary>
- // 账户属性类别
- /// </summary>
- public enum eAccountPropType {
- /// <summary>
- /// 费用类别
- /// </summary>
- ACCOUNTPROPTYPE_TRADEFEE = 1,
- /// <summary>
- /// 交易规则类别
- /// </summary>
- ACCOUNTPROPTYPE_TRADERULE = 2
- }
- /// <summary>
- // 通知控制信号类型
- /// </summary>
- public enum eNTFSignalType {
- /// <summary>
- /// 开市
- /// </summary>
- NTFSIGNALTYPE_OPEN = 1,
- /// <summary>
- /// 休市
- /// </summary>
- NTFSIGNALTYPE_CLOSE = 2,
- /// <summary>
- /// 市场阶段开始
- /// </summary>
- NTFSIGNALTYPE_MARKETPHASESTART = 3,
- /// <summary>
- /// 市场阶段结束
- /// </summary>
- NTFSIGNALTYPE_MARKETPHASEEND = 4,
- /// <summary>
- /// 市场结算
- /// </summary>
- NTFSIGNALTYPE_MARKETRECKON = 5,
- /// <summary>
- /// 系统结算
- /// </summary>
- NTFSIGNALTYPE_SYSTEMRECKON = 6,
- /// <summary>
- /// 挂牌点价结算
- /// </summary>
- NTFSIGNALTYPE_LISTRECKON = 7,
- /// <summary>
- /// 交割结算
- /// </summary>
- NTFSIGNALTYPE_DELIVERYRECKON = 8,
- /// <summary>
- /// 清盘
- /// </summary>
- NTFSIGNALTYPE_CLEAR = 9,
- /// <summary>
- /// 预结算
- /// </summary>
- NTFSIGNALTYPE_PRERECKON = 20
- }
- /// <summary>
- // 买卖方向
- /// </summary>
- public enum eBuyOrSell {
- /// <summary>
- /// 买
- /// </summary>
- BUY = 0,
- /// <summary>
- /// 卖
- /// </summary>
- SELL = 1
- }
- /// <summary>
- // 托管计划状态
- /// </summary>
- public enum eDepositStatus {
- /// <summary>
- /// 待激活
- /// </summary>
- DEPOSITSTATUS_INACTIVE = 0,
- /// <summary>
- /// 正常
- /// </summary>
- DEPOSITSTATUS_NORMAL = 1,
- /// <summary>
- /// 删除
- /// </summary>
- DEPOSITSTATUS_DELETE = 2
- }
- /// <summary>
- // 交割关系模式
- /// </summary>
- public enum eRelationMode {
- /// <summary>
- /// N模式
- /// </summary>
- N_MODE = 0,
- /// <summary>
- /// P模式
- /// </summary>
- P_MODE = 1,
- /// <summary>
- /// P+X模式
- /// </summary>
- NP_MODE = 2
- }
- /// <summary>
- // 交割先平后建成交类型
- /// </summary>
- public enum eDeliveryDealType {
- /// <summary>
- /// 全建仓成交
- /// </summary>
- DELIVERYDEALTYPE_OPEN = 0,
- /// <summary>
- /// 部分建仓部分平仓成交
- /// </summary>
- DELIVERYDEALTYPE_CLOSEOPEN = 1,
- /// <summary>
- /// 全平仓成交
- /// </summary>
- DELIVERYDEALTYPE_CLOSE = 2
- }
- /// <summary>
- // 到期持仓处理方式
- /// </summary>
- public enum eTimeOutHolderDealMethod {
- /// <summary>
- /// 到期卖出
- /// </summary>
- TIMEOUT_SELL = 1,
- /// <summary>
- /// 到期无效
- /// </summary>
- TIMEOUT_INVALID = 2
- }
- /// <summary>
- // 资金成交状态
- /// </summary>
- public enum eMoneyTradeStatus {
- /// <summary>
- /// 等待处理
- /// </summary>
- MONEYTRADESTATUS_WAITING = 0,
- /// <summary>
- /// 失败
- /// </summary>
- MONEYTRADESTATUS_FAILED = 1,
- /// <summary>
- /// 成功
- /// </summary>
- MONEYTRADESTATUS_SUCCEED = 2
- }
- /// <summary>
- // 运营中心角色
- /// </summary>
- public enum eOperationRole {
- /// <summary>
- /// 普通运营中心
- /// </summary>
- OPERATIONROLE_NORMAL = 1,
- /// <summary>
- /// 特别运营中心
- /// </summary>
- OPERATIONROLE_SPECIAL = 2
- }
- /// <summary>
- // 通知风险级别
- /// </summary>
- public enum eNotifyAction {
- /// <summary>
- /// 短信
- /// </summary>
- NOTIFYACTION_MESSAGE = 1,
- /// <summary>
- /// 邮件
- /// </summary>
- NOTIFYACTION_EMAIL = 2,
- /// <summary>
- /// 短信+邮件
- /// </summary>
- NOTIFYACTION_MESSAGE_EMAIL = 3,
- /// <summary>
- /// 系统通知
- /// </summary>
- NOTIFYACTION_SYSTEM = 4,
- /// <summary>
- /// 短信+系统通知
- /// </summary>
- NOTIFYACTION_MESSAGE_SYSTEM = 5,
- /// <summary>
- /// 邮件+系统通知
- /// </summary>
- NOTIFYACTION_EMAIL_SYSTEM = 6,
- /// <summary>
- /// 短信+邮件+系统通知
- /// </summary>
- NOTIFYACTION_MESSAGE_EMAIL_SYSTEM = 7
- }
- /// <summary>
- // 操作类型权限
- /// </summary>
- public enum eOPERATEFUNC {
- /// <summary>
- /// 查看
- /// </summary>
- OPERATEFUNC_VIEW = 1,
- /// <summary>
- /// 增加
- /// </summary>
- OPERATEFUNC_ADD = 2,
- /// <summary>
- /// 修改
- /// </summary>
- OPERATEFUNC_EDIT = 4,
- /// <summary>
- /// 删除
- /// </summary>
- OPERATEFUNC_DELETE = 8,
- /// <summary>
- /// 激活
- /// </summary>
- OPERATEFUNC_ACTIVE = 16
- }
- /// <summary>
- // 是否主卡
- /// </summary>
- public enum eMainCard {
- /// <summary>
- /// 否
- /// </summary>
- MAINCARD_NOT = 0,
- /// <summary>
- /// 是
- /// </summary>
- MAINCARD_YES = 1
- }
- /// <summary>
- // 审核状态
- /// </summary>
- public enum eAuditStatus {
- /// <summary>
- /// 待审核
- /// </summary>
- AUDITSTATUS_CHECKING = 0,
- /// <summary>
- /// 已审核通过
- /// </summary>
- AUDITSTATUS_SUCCESS = 1,
- /// <summary>
- /// 审核不通过
- /// </summary>
- AUDITSTATUS_REJECT = 2,
- /// <summary>
- /// 已删除
- /// </summary>
- AUDITSTATUS_DELETE = 3,
- /// <summary>
- /// 已撤销
- /// </summary>
- AUDITSTATUS_CANCEL = 4
- }
- /// <summary>
- // 发售配售模式
- /// </summary>
- public enum eIssueSaleMode {
- /// <summary>
- /// 战略配售
- /// </summary>
- ISSUESALEMODE_STRATEGY = 1,
- /// <summary>
- /// 定向配售
- /// </summary>
- ISSUESALEMODE_PRIVATE = 2,
- /// <summary>
- /// 持仓+资金配售
- /// </summary>
- ISSUESALEMODE_PRIORITY = 10,
- /// <summary>
- /// 交易额配售
- /// </summary>
- ISSUESALEMODE_TURNOVER = 11,
- /// <summary>
- /// 申购量比例配售
- /// </summary>
- ISSUESALEMODE_SUBSCRIPTIONS_PROPORTION = 20,
- /// <summary>
- /// 申购量摇号配售
- /// </summary>
- ISSUESALEMODE_SUBSCRIPTIONS_LOTTERY = 21
- }
- /// <summary>
- // 斩仓回退规则
- /// </summary>
- public enum eLiquidatedRollbackRule {
- /// <summary>
- /// 斩仓不回退
- /// </summary>
- LIQUIDATEDROLLBACKRULE_NOT_ROLLBACK = 1,
- /// <summary>
- /// 斩仓回退到比例
- /// </summary>
- LIQUIDATEDROLLBACKRULE_ROLLBACK_RATION = 2,
- /// <summary>
- /// 斩仓回退到0
- /// </summary>
- LIQUIDATEDROLLBACKRULE_ROLLBACK_ZERO = 3
- }
- /// <summary>
- // 转仓规则
- /// </summary>
- public enum eRollOverRule {
- /// <summary>
- /// 先建先平
- /// </summary>
- ROLLOVERRULE_CREATE_FIRST = 0,
- /// <summary>
- /// 亏损优先
- /// </summary>
- ROLLOVERRULE_LOSS_FIRST = 3
- }
- /// <summary>
- // 转仓方式
- /// </summary>
- public enum eRollOverType {
- /// <summary>
- /// 逐笔斩仓
- /// </summary>
- ROLLOVERTYPE_STEP = 0,
- /// <summary>
- /// 市场全斩
- /// </summary>
- ROLLOVERTYPE_MARKET_ALL = 2
- }
- /// <summary>
- // 是否需要确认
- /// </summary>
- public enum eNeedConfirm {
- /// <summary>
- /// 不需要
- /// </summary>
- NEEDCONFIRM_NO = 0,
- /// <summary>
- /// 需要
- /// </summary>
- NEEDCONFIRM_YES = 1
- }
- /// <summary>
- // 收费类型
- /// </summary>
- public enum eCostType {
- /// <summary>
- /// 比例
- /// </summary>
- COSTTYPE_RATION = 0,
- /// <summary>
- /// 固定
- /// </summary>
- COSTTYPE_FIXED = 1
- }
- /// <summary>
- // 申报商品转持仓类型
- /// </summary>
- public enum eRELATION_HOLDTYPE {
- /// <summary>
- /// 转给仓单卖出方
- /// </summary>
- RELATION_HOLDTYPE_TOSM = 1,
- /// <summary>
- /// 转一级做市会员
- /// </summary>
- RELATION_HOLDTYPE_TOMM = 2
- }
- /// <summary>
- // 履约计划状态
- /// </summary>
- public enum ePERFORM_PLAN_STATUS {
- /// <summary>
- /// 未到支付期
- /// </summary>
- PERFORM_BEFORE_PLANTIME = 1,
- /// <summary>
- /// 支付到期待审核
- /// </summary>
- PERFORM_IN_PLANTIME = 2,
- /// <summary>
- /// 支付逾期待审核
- /// </summary>
- PERFORM_AFTER_PLANTIME = 3,
- /// <summary>
- /// 已完成
- /// </summary>
- PERFORM_FINISH_PLANT = 4
- }
- /// <summary>
- // 履约计划明细状态
- /// </summary>
- public enum ePERFORM_PLANDETAIL_STATUS {
- /// <summary>
- /// 未支付
- /// </summary>
- PERFORM_DETAIL_NOTPAY = 1,
- /// <summary>
- /// 已支付
- /// </summary>
- PERFORM_DETAIL_PAY = 2
- }
- /// <summary>
- // 系统结算方式
- /// </summary>
- public enum eSystemReckeonMethods {
- /// <summary>
- /// 手动
- /// </summary>
- MANUAL = 0,
- /// <summary>
- /// 自动
- /// </summary>
- AUTOMATIC = 1
- }
- /// <summary>
- // 平仓类型
- /// </summary>
- public enum eCloseType {
- /// <summary>
- /// 普通平仓
- /// </summary>
- CLOSETYPE_COMMON = 1,
- /// <summary>
- /// 协议平仓
- /// </summary>
- CLOSETYPE_PROTOCOL = 2,
- /// <summary>
- /// 到期强平
- /// </summary>
- CLOSETYPE_MATUREFOCUS = 3,
- /// <summary>
- /// 到期无效
- /// </summary>
- CLOSETYPE_MATUREINVALID = 4,
- /// <summary>
- /// 交割平仓
- /// </summary>
- CLOSETYPE_DELIVERY = 5
- }
- /// <summary>
- // 交割配对类型
- /// </summary>
- public enum eDeliveryMatchType {
- /// <summary>
- /// 指定配对
- /// </summary>
- DELIVERY_MATCH_APPOINT = 0,
- /// <summary>
- /// 买方点选
- /// </summary>
- DELIVERY_MATCH_BUYERCHOOSE = 1,
- /// <summary>
- /// 卖方点选
- /// </summary>
- DELIVERY_MATCH_SELLERCHOOSE = 2,
- /// <summary>
- /// 撮合配对
- /// </summary>
- DELIVERY_MATCH_AUTOMATCH = 3
- }
- /// <summary>
- // 仓单处理状态
- /// </summary>
- public enum eWareHouseProcessState {
- /// <summary>
- /// 新签发
- /// </summary>
- WAREHOUSEPROCESSSTATE_NTW = 1,
- /// <summary>
- /// 已交易
- /// </summary>
- WAREHOUSEPROCESSSTATE_TRADE = 2,
- /// <summary>
- /// 已换单
- /// </summary>
- WAREHOUSEPROCESSSTATE_CHANGE = 3,
- /// <summary>
- /// 已转让
- /// </summary>
- WAREHOUSEPROCESSSTATE_TRANSFER = 4,
- /// <summary>
- /// 已质押
- /// </summary>
- WAREHOUSEPROCESSSTATE_PLEDGE = 5,
- /// <summary>
- /// 已解押
- /// </summary>
- WAREHOUSEPROCESSSTATE_SIGN = 6,
- /// <summary>
- /// 已兑付
- /// </summary>
- WAREHOUSEPROCESSSTATE_CASH = 7
- }
- /// <summary>
- // 仓单状态
- /// </summary>
- public enum eWareHouseState {
- /// <summary>
- /// 待激活
- /// </summary>
- WAREHOUSESTATE_LATESTPRICE = 1,
- /// <summary>
- /// 正常
- /// </summary>
- WAREHOUSESTATE_NORMAL = 2,
- /// <summary>
- /// 已注销
- /// </summary>
- WAREHOUSESTATE_CANCEL = 3,
- /// <summary>
- /// 冻结
- /// </summary>
- WAREHOUSESTATE_FREEZE = 4
- }
- /// <summary>
- // 运营中心类型
- /// </summary>
- public enum eOperationRoles {
- /// <summary>
- /// 普通运营中心
- /// </summary>
- OPERATIONROLES_ORDINARY = 1,
- /// <summary>
- /// 特别运营中心
- /// </summary>
- OPERATIONROLES_SPECIAL = 2,
- /// <summary>
- /// 分利运营中心
- /// </summary>
- OPERATIONROLES_DIVIDFEE = 3
- }
- /// <summary>
- // 交割提货方式
- /// </summary>
- public enum eDeliveryTakeType {
- /// <summary>
- /// 自提
- /// </summary>
- DELIVERY_TAKETYPE_SELFTAKE = 1,
- /// <summary>
- /// 物流配送
- /// </summary>
- DELIVERY_TAKETYPE_POSTTAKE = 2
- }
- #endregion
- #region MTP2.0
- /// <summary>
- // 交易模式
- /// </summary>
- public enum eTradeMode
- {
- // /// <summary>
- // /// 资金汇总
- // /// </summary>
- // [ItemDisc("MarketType_AmountSum")]
- // AmountSum=-1,
- QuotePAndX = 500,
- // /// </summary>
- // [ItemDisc("MarketType_Bid_Pay")]
- // Bid_Pay = 100,
- /// <summary>
- /// 托管计划
- /// </summary>
- Deposit = 501,
- /// <summary>
- /// 所有商品
- /// </summary>
- AllGoods = 502,
- /// <summary>
- /// 我的自选
- /// </summary>
- MySelected = 503,
- /// <summary>
- /// 资金汇总
- /// </summary>
- [ItemDisc("MarketType_AmountSum")]
- AmountSum = 504,
- /// <summary>
- /// 发售
- /// </summary>
- [ItemDisc("MarketType_Sale")]
- TRADEMODE_SALE = 2,
- /// <summary>
- /// 竞价即期=混合
- /// </summary>
- [ItemDisc("MarketType_MARKETTYPE_BIDINGMARKETMAKE")]
- TRADEMODE_BIDDINGMARKETMAKE = 3,
- /// <summary>
- /// 挂牌
- /// </summary>
- [ItemDisc("MarketType_Listing")]
- TRADEMODE_HANGTAG = 6,
- /// <summary>
- /// 拍卖
- /// </summary>
- [ItemDisc("MarketType_Auction")]
- TRADEMODE_AUCTION = 7,
- /// <summary>
- /// 商城
- /// </summary>
- TRADEMODE_MALL = 8,
- /// <summary>
- /// 全款转让[NEW MTP2.0]
- /// </summary>
- Full_Transfer = 9,
- /// <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_SPOT_SCF = 18
- }
- /// <summary>
- // 交易属性
- /// </summary>
- public enum eTradeProperty
- {
- /// <summary>
- /// 收益权(可做空)
- /// </summary>
- TRADEPROPERTY_CANSHORT = 1,
- /// <summary>
- /// 所有权(不可做空)
- /// </summary>
- TRADEPROPERTY_NOSHORT = 2
- }
- /// <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>
- 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>
- public enum eMessageStatus
- {
- /// <summary>
- /// 待发送
- /// </summary>
- MESSAGESTATUS_PENDING = 1,
- /// <summary>
- /// 发送完成
- /// </summary>
- MESSAGESTATUS_FINISHED = 2
- }
- /// <summary>
- // 成交类型
- /// </summary>
- public enum eTradeType
- {
- /// <summary>
- /// 正常委托成交
- /// </summary>
- [ItemDisc("TRADETYPE_NORMAL_ORDER_DEAL")]
- TRADETYPE_NORMAL_ORDER_DEAL = 1,
- /// <summary>
- /// 定向做市成交(接单)
- /// </summary>
- [ItemDisc("TRADETYPE_DIRECTED_MM_DEAL")]
- TRADETYPE_DIRECTED_MM_DEAL = 2,
- /// <summary>
- /// 交割协议平仓成交
- /// </summary>
- [ItemDisc("TRADETYPE_DELIVERY_AGREECLOSE_DEAL")]
- TRADETYPE_DELIVERY_AGREECLOSE_DEAL = 3,
- /// <summary>
- /// 交割减仓成交
- /// </summary>
- [ItemDisc("TRADETYPE_DELIVERY_AGREEREDUCE_DEAL")]
- TRADETYPE_DELIVERY_AGREEREDUCE_DEAL = 4,
- /// <summary>
- /// 到期强平成交
- /// </summary>
- [ItemDisc("TRADETYPE_EXPIRE_FORCE")]
- TRADETYPE_EXPIRE_FORCE = 5,
- /// <summary>
- /// 风控斩仓成交
- /// </summary>
- [ItemDisc("TRADETYPE_RISK_FORCE")]
- TRADETYPE_RISK_FORCE = 6,
- /// <summary>
- /// 协议平仓(管理端)成交
- /// </summary>
- [ItemDisc("TRADETYPE_AGREECLOSE_MANAGE_DEAL")]
- TRADETYPE_AGREECLOSE_MANAGE_DEAL = 7,
- /// <summary>
- /// 仓单转持仓成交
- /// </summary>
- [ItemDisc("TRADETYPE_WAREHOUSETOPOSITION")]
- TRADETYPE_WAREHOUSETOPOSITION = 8
- }
- /// <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>
- [ItemDisc("BUILDTYPE_OPEN")]
- BUILDTYPE_OPEN = 1,
- /// <summary>
- /// 平仓
- /// </summary>
- [ItemDisc("BUILDTYPE_CLOSE")]
- BUILDTYPE_CLOSE = 2,
- /// <summary>
- /// 先平后建
- /// </summary>
- [ItemDisc("BUILDTYPE_CLOSETHENOPEN")]
- 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>
- 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>
- public enum eRunStatus
- {
- /// <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_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_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_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_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>
- 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>
- public enum eOrderOperateType
- {
- /// <summary>
- /// 正常下单
- /// </summary>
- [ItemDisc("OrderOperateType_NORMAL")]
- ORDEROPERATETYPE_NORMAL = 1,
- /// <summary>
- /// 斩仓
- /// </summary>
- [ItemDisc("ORDEROPERATETYPE_RISK")]
- ORDEROPERATETYPE_RISK = 2,
- /// <summary>
- /// 转单
- /// </summary>
- [ItemDisc("ORDEROPERATETYPE_TRANSFER")]
- ORDEROPERATETYPE_TRANSFER = 3,
- /// <summary>
- /// 结算撤单
- /// </summary>
- [ItemDisc("ORDEROPERATETYPE_RECKON_CANCEL")]
- ORDEROPERATETYPE_RECKON_CANCEL = 4,
- /// <summary>
- /// 系统卖出(适用于先平后建的卖出)
- /// </summary>
- [ItemDisc("ORDEROPERATETYPE_SYS_CLOSE")]
- ORDEROPERATETYPE_SYS_CLOSE = 5,
- /// <summary>
- /// 行情源报价
- /// </summary>
- [ItemDisc("ORDEROPERATETYPE_QUOTEPRICE")]
- 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>
- public enum eOrderStatus
- {
- /// <summary>
- /// 委托请求
- /// </summary>
- [ItemDisc("OrderStatus_Request")]
- ORDERSTATUS_REQUEST = 1,
- /// <summary>
- /// 待冻结
- /// </summary>
- [ItemDisc("OrderStatus_WaitFreeze")]
- ORDERSTATUS_WAITFREEZE = 2,
- /// <summary>
- /// 委托成功
- /// </summary>
- [ItemDisc("OrderStatus_Succeed")]
- ORDERSTATUS_SUCCEED = 3,
- /// <summary>
- /// 委托失败
- /// </summary>
- [ItemDisc("OrderStatus_Failed")]
- ORDERSTATUS_FAILED = 4,
- /// <summary>
- /// 配对成功
- /// </summary>
- [ItemDisc("OrderStatus_Matched")]
- ORDERSTATUS_MATCHED = 5,
- /// <summary>
- /// 已撤
- /// </summary>
- [ItemDisc("OrderStatus_Canceled")]
- ORDERSTATUS_CANCELED = 6,
- /// <summary>
- /// 部成
- /// </summary>
- [ItemDisc("OrderStatus_PartialDeal")]
- ORDERSTATUS_PARTIALDEAL = 7,
- /// <summary>
- /// 已成
- /// </summary>
- [ItemDisc("OrderStatus_Dealed")]
- ORDERSTATUS_DEALED = 8,
- /// <summary>
- /// 部成部撤
- /// </summary>
- [ItemDisc("OrderStatus_PartialCanceled")]
- ORDERSTATUS_PARTIALCANCELED = 9,
- /// <summary>
- /// 成交失败
- /// </summary>
- [ItemDisc("OrderStatus_DealFailed")]
- ORDERSTATUS_DEALFAILED = 10,
- /// <summary>
- /// 委托拒绝
- /// </summary>
- [ItemDisc("OrderStatus_Denied")]
- ORDERSTATUS_DENIED = 11,
- /// <summary>
- /// 经过摘牌(先摘后挂专用)
- /// </summary>
- [ItemDisc("OrderStatus_Match")]
- ORDERSTATUS_MATCH = 12
- }
- /// <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>
- 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>
- 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>
- [ItemDisc("AccountStatus_InActive")]
- ACCOUNTSTATUS_INACTIVE = 1,
- /// <summary>
- /// 待审核
- /// </summary>
- [ItemDisc("AccountStatus_PendingAudit")]
- ACCOUNTSTATUS_PENDINGAUDIT = 2,
- /// <summary>
- /// 待复审
- /// </summary>
- [ItemDisc("AccountStatus_PendingReAudit")]
- ACCOUNTSTATUS_PENDINGREAUDIT = 3,
- /// <summary>
- /// 正常
- /// </summary>
- [ItemDisc("AccountStatus_Normal")]
- ACCOUNTSTATUS_NORMAL = 4,
- /// <summary>
- /// 审核拒绝
- /// </summary>
- [ItemDisc("AccountStatus_Reject")]
- ACCOUNTSTATUS_REJECT = 5,
- /// <summary>
- /// 已注销
- /// </summary>
- [ItemDisc("AccountStatus_Cancelled")]
- 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>
- public enum eLoginStatus
- {
- /// <summary>
- /// 正常
- /// </summary>
- LOGINSTATUS_NORMAL = 1,
- /// <summary>
- /// 冻结
- /// </summary>
- LOGINSTATUS_FROZEN = 2,
- /// <summary>
- /// 无效
- /// </summary>
- LOGINSTATUS_INVALID = 3
- }
- /// <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 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>
- 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>
- 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_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_POSITION_FREEZE = 314,
- /// <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_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_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_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_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_MAX_DEDUCT = 806
- }
- /// <summary>
- // 账户服务资金操作子指令类型
- /// </summary>
- public enum eAccountFundCmdOp
- {
- /// <summary>
- /// 入金
- /// </summary>
- [ItemDisc("ACCOUNTFUNDCMDOP_DEPOSIT")]
- ACCOUNTFUNDCMDOP_DEPOSIT = 101,
- /// <summary>
- /// 入金手续费
- /// </summary>
- [ItemDisc("ACCOUNTFUNDCMDOP_DEPOSIT_FEE")]
- ACCOUNTFUNDCMDOP_DEPOSIT_FEE = 102,
- /// <summary>
- /// 出金
- /// </summary>
- [ItemDisc("ACCOUNTFUNDCMDOP_WITHDRAW")]
- ACCOUNTFUNDCMDOP_WITHDRAW = 103,
- /// <summary>
- /// 出金冻结
- /// </summary>
- [ItemDisc("ACCOUNTFUNDCMDOP_WITHDRAW_FREEZE")]
- ACCOUNTFUNDCMDOP_WITHDRAW_FREEZE = 104,
- /// <summary>
- /// 出金解冻
- /// </summary>
- [ItemDisc("ACCOUNTFUNDCMDOP_WITHDRAW_UNFREEZE")]
- ACCOUNTFUNDCMDOP_WITHDRAW_UNFREEZE = 105,
- /// <summary>
- /// 出金手续费
- /// </summary>
- [ItemDisc("ACCOUNTFUNDCMDOP_WITHDRAW_FEE")]
- ACCOUNTFUNDCMDOP_WITHDRAW_FEE = 106,
- /// <summary>
- /// 出金手续费冻结
- /// </summary>
- [ItemDisc("ACCOUNTFUNDCMDOP_WITHDRAW_FEE_FREEZE")]
- ACCOUNTFUNDCMDOP_WITHDRAW_FEE_FREEZE = 107,
- /// <summary>
- /// 出金手续费解冻
- /// </summary>
- [ItemDisc("ACCOUNTFUNDCMDOP_WITHDRAW_FEE_UNFREEZE")]
- ACCOUNTFUNDCMDOP_WITHDRAW_FEE_UNFREEZE = 108,
- /// <summary>
- /// 交易冻结
- /// </summary>
- [ItemDisc("ACCOUNTFUNDCMDOP_TRADE_FREEZE")]
- ACCOUNTFUNDCMDOP_TRADE_FREEZE = 201,
- /// <summary>
- /// 交易解冻
- /// </summary>
- [ItemDisc("ACCOUNTFUNDCMDOP_TRADE_UNFREEZE")]
- ACCOUNTFUNDCMDOP_TRADE_UNFREEZE = 202,
- /// <summary>
- /// 交易占用
- /// </summary>
- [ItemDisc("ACCOUNTFUNDCMDOP_TRADE_OCCUPY")]
- ACCOUNTFUNDCMDOP_TRADE_OCCUPY = 203,
- /// <summary>
- /// 交易解占用
- /// </summary>
- [ItemDisc("ACCOUNTFUNDCMDOP_TRADE_FREE")]
- ACCOUNTFUNDCMDOP_TRADE_FREE = 204,
- /// <summary>
- /// 交易手续费冻结
- /// </summary>
- [ItemDisc("ACCOUNTFUNDCMDOP_TRADE_FEE_FREEZE")]
- ACCOUNTFUNDCMDOP_TRADE_FEE_FREEZE = 205,
- /// <summary>
- /// 交易手续费解冻
- /// </summary>
- [ItemDisc("ACCOUNTFUNDCMDOP_TRADE_FEE_UNFREEZE")]
- ACCOUNTFUNDCMDOP_TRADE_FEE_UNFREEZE = 206,
- /// <summary>
- /// 交易手续费
- /// </summary>
- [ItemDisc("ACCOUNTFUNDCMDOP_TRADE_FEE")]
- ACCOUNTFUNDCMDOP_TRADE_FEE = 207,
- /// <summary>
- /// 交易货款
- /// </summary>
- [ItemDisc("ACCOUNTFUNDCMDOP_TRADE_GOODS_PAYMENT")]
- ACCOUNTFUNDCMDOP_TRADE_GOODS_PAYMENT = 208,
- /// <summary>
- /// 交易盈亏
- /// </summary>
- [ItemDisc("ACCOUNTFUNDCMDOP_TRADE_PROFIT_LOSS")]
- ACCOUNTFUNDCMDOP_TRADE_PROFIT_LOSS = 209,
- /// <summary>
- /// 交割冻结
- /// </summary>
- [ItemDisc("ACCOUNTFUNDCMDOP_DELIVERY_FREEZE")]
- ACCOUNTFUNDCMDOP_DELIVERY_FREEZE = 301,
- /// <summary>
- /// 交割解冻
- /// </summary>
- [ItemDisc("ACCOUNTFUNDCMDOP_DELIVERY_UNFREEZE")]
- ACCOUNTFUNDCMDOP_DELIVERY_UNFREEZE = 302,
- /// <summary>
- /// 交割手续费
- /// </summary>
- [ItemDisc("ACCOUNTFUNDCMDOP_DELIVERY_FEE")]
- ACCOUNTFUNDCMDOP_DELIVERY_FEE = 303,
- /// <summary>
- /// 交割手续费冻结
- /// </summary>
- [ItemDisc("ACCOUNTFUNDCMDOP_DELIVERY_FEE_FREEZE")]
- ACCOUNTFUNDCMDOP_DELIVERY_FEE_FREEZE = 304,
- /// <summary>
- /// 交割手续费解冻
- /// </summary>
- [ItemDisc("ACCOUNTFUNDCMDOP_DELIVERY_FEE_UNFREEZE")]
- ACCOUNTFUNDCMDOP_DELIVERY_FEE_UNFREEZE = 305,
- /// <summary>
- /// 交割货款
- /// </summary>
- [ItemDisc("ACCOUNTFUNDCMDOP_DELIVERY_GOODS_PAYMENT")]
- ACCOUNTFUNDCMDOP_DELIVERY_GOODS_PAYMENT = 306,
- /// <summary>
- /// 交割税款
- /// </summary>
- [ItemDisc("ACCOUNTFUNDCMDOP_DELIVERY_TAX")]
- ACCOUNTFUNDCMDOP_DELIVERY_TAX = 307,
- /// <summary>
- /// 结算盈亏
- /// </summary>
- [ItemDisc("ACCOUNTFUNDCMDOP_SETTLE_PROFIT_LOSS")]
- ACCOUNTFUNDCMDOP_SETTLE_PROFIT_LOSS = 401,
- /// <summary>
- /// 结算递延费
- /// </summary>
- [ItemDisc("ACCOUNTFUNDCMDOP_SETTLE_DEFERRED_FEE")]
- ACCOUNTFUNDCMDOP_SETTLE_DEFERRED_FEE = 402,
- /// <summary>
- /// 分润收入
- /// </summary>
- [ItemDisc("ACCOUNTFUNDCMDOP_SHARE_PROFIT")]
- ACCOUNTFUNDCMDOP_SHARE_PROFIT = 403,
- /// <summary>
- /// 授信增加
- /// </summary>
- [ItemDisc("ACCOUNTFUNDCMDOP_CREDIT_INCREASE")]
- ACCOUNTFUNDCMDOP_CREDIT_INCREASE = 501,
- /// <summary>
- /// 授信减少
- /// </summary>
- [ItemDisc("ACCOUNTFUNDCMDOP_CREDIT_DECREASE")]
- ACCOUNTFUNDCMDOP_CREDIT_DECREASE = 502,
- /// <summary>
- /// 转积分
- /// </summary>
- [ItemDisc("ACCOUNTFUNDCMDOP_PAY_POINTS")]
- ACCOUNTFUNDCMDOP_PAY_POINTS = 503,
- /// <summary>
- /// 转入
- /// </summary>
- [ItemDisc("ACCOUNTFUNDCMDOP_TRANSFER_IN")]
- ACCOUNTFUNDCMDOP_TRANSFER_IN = 504,
- /// <summary>
- /// 转出
- /// </summary>
- [ItemDisc("ACCOUNTFUNDCMDOP_TRANSFER_OUT")]
- ACCOUNTFUNDCMDOP_TRANSFER_OUT = 505,
- /// <summary>
- /// 转出冻结
- /// </summary>
- [ItemDisc("ACCOUNTFUNDCMDOP_TRANSFER_OUT_FREEZE")]
- ACCOUNTFUNDCMDOP_TRANSFER_OUT_FREEZE = 506,
- /// <summary>
- /// 转出解冻
- /// </summary>
- [ItemDisc("ACCOUNTFUNDCMDOP_TRANSFER_OUT_UNFREEZE")]
- ACCOUNTFUNDCMDOP_TRANSFER_OUT_UNFREEZE = 507,
- /// <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_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_MALL_FREEZE = 901,
- /// <summary>
- /// 商城扣款解冻
- /// </summary>
- ACCOUNTFUNDCMDOP_MALL_UNFREEZE = 902,
- /// <summary>
- /// 商城扣款
- /// </summary>
- ACCOUNTFUNDCMDOP_MALL_DEDUCT = 903,
- /// <summary>
- /// 商城收款
- /// </summary>
- ACCOUNTFUNDCMDOP_MALL_RECEIVE = 904
- }
- /// <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_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_DELIVERY_FREEZE = 301,
- /// <summary>
- /// 交割成交
- /// </summary>
- ACCOUNTHOLDERCMDOP_DELIVERY_DEAL = 302,
- /// <summary>
- /// 交割解冻
- /// </summary>
- ACCOUNTHOLDERCMDOP_DELIVERY_UNFREEZE = 303,
- /// <summary>
- /// 交割最大冻结
- /// </summary>
- ACCOUNTHOLDERCMDOP_DELIVERY_MAX_FREEZE = 304
- }
- /// <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 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>
- 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>
- /// 其它
- /// </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>
- /// 商品退市节点
- /// </summary>
- BIDRECKNODEID_GOODS_DELISTE = 4,
- /// <summary>
- /// 持仓单备份节点ID
- /// </summary>
- BIDRECKNODEID_HOLDERDETAIL_BACKUP = 5,
- /// <summary>
- /// 单据试算平衡节点
- /// </summary>
- BIDRECKNODEID_ORDER_BALANCE_CALCULATE = 6,
- /// <summary>
- /// 持仓单处理节点
- /// </summary>
- BIDRECKNODEID_HOLDERDETAIL_DEAL = 7,
- /// <summary>
- /// 委托单日照节点
- /// </summary>
- BIDRECKNODEID_ORDER_DAY = 8,
- /// <summary>
- /// 交易分润节点
- /// </summary>
- BIDRECKNODEID_SHARE_PROFIT = 9
- }
- /// <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>
- 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>
- WRTRADETYPE_WRREGISTER = 1,
- /// <summary>
- /// 交割成交
- /// </summary>
- WRTRADETYPE_DELIVERY = 2
- }
- /// <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>
- [ItemDisc("DELIVERYSTATUS_PENDING")]
- DELIVERYSTATUS_PENDING = 1,
- /// <summary>
- /// 已成交
- /// </summary>
- [ItemDisc("DELIVERYSTATUS_TRADED")]
- DELIVERYSTATUS_TRADED = 2,
- /// <summary>
- /// 成交失败
- /// </summary>
- [ItemDisc("DELIVERYSTATUS_FAILED")]
- DELIVERYSTATUS_FAILED = 3,
- /// <summary>
- /// 履约完成
- /// </summary>
- [ItemDisc("DELIVERYSTATUS_PERFORMANCEFINISHED")]
- 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>
- [ItemDisc("DELIVERYORDERSTATUS_PENDING")]
- DELIVERYORDERSTATUS_PENDING = 1,
- /// <summary>
- /// 审核通过
- /// </summary>
- [ItemDisc("DELIVERYORDERSTATUS_AUDITED")]
- DELIVERYORDERSTATUS_AUDITED = 2,
- /// <summary>
- /// 审核拒绝
- /// </summary>
- [ItemDisc("DELIVERYORDERSTATUS_REJECTED")]
- DELIVERYORDERSTATUS_REJECTED = 3,
- /// <summary>
- /// 已撤销
- /// </summary>
- [ItemDisc("DELIVERYORDERSTATUS_CANCELLED")]
- DELIVERYORDERSTATUS_CANCELLED = 4,
- /// <summary>
- /// 失败
- /// </summary>
- [ItemDisc("DELIVERYORDERSTATUS_FAILED")]
- 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>
- 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>
- 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_IN = 1,
- /// <summary>
- /// 出金
- /// </summary>
- BANK_OUTORIN_OUT = 2
- }
- /// <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>
- 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_IN = 1,
- /// <summary>
- /// 出金
- /// </summary>
- BANK_AMOUNTTYPE_OUT = 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>
- 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>
- 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>
- 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_DELIVERYORDERID = 120,
- /// <summary>
- /// 交割单
- /// </summary>
- ORDERIDTYPE_TRADE_DELIVERYID = 121,
- /// <summary>
- /// 履约计划
- /// </summary>
- ORDERIDTYPE_TRADE_PERFORMANCEPLANID = 130,
- /// <summary>
- /// 履约计划步骤
- /// </summary>
- ORDERIDTYPE_TRADE_PERFORMANCESTEPID = 131,
- /// <summary>
- /// 实时行情流水
- /// </summary>
- ORDERIDTYPE_TRADE_REALQUOTESERIALID = 140,
- /// <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>
- /// 积分ID
- /// </summary>
- ORDERIDTYPE_SCOREID = 210,
- /// <summary>
- /// 积分流水
- /// </summary>
- ORDERIDTYPE_SCOREFLOWID = 211,
- /// <summary>
- /// 资金流水
- /// </summary>
- ORDERIDTYPE_AMOUNTFLOWID = 220,
- /// <summary>
- /// 头寸流水
- /// </summary>
- ORDERIDTYPE_POSITIONFLOWID = 221,
- /// <summary>
- /// 商城成交单
- /// </summary>
- ORDERIDTYPE_MALL_TRADEID = 300,
- /// <summary>
- /// 供应链金融成交单
- /// </summary>
- ORDERIDTYPE_SUPPLYCHAIN_TRADEID = 310,
- /// <summary>
- /// 银行交易流水
- /// </summary>
- ORDERIDTYPE_BANK_EXCHTICKETID = 400
- }
- /// <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>
- [ItemDisc("LISTINGSELECTTYPE_LISTING")]
- LISTINGSELECTTYPE_LISTING = 1,
- /// <summary>
- /// 摘牌
- /// </summary>
- [ItemDisc("LISTINGSELECTTYPE_DELISTING")]
- LISTINGSELECTTYPE_DELISTING = 2,
- /// <summary>
- /// 先摘后挂
- /// </summary>
- [ItemDisc("LISTINGSELECTTYPE_DELISTINGTHENLISTING")]
- 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>
- 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_WRTRANSFER = 8
- }
- /// <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>
- public enum ePerformanceStatus
- {
- /// <summary>
- /// 正常
- /// </summary>
- PERFORMANCESTATUS_NORMAL = 1,
- /// <summary>
- /// 违约待确认
- /// </summary>
- PERFORMANCESTATUS_BREACHING = 2,
- /// <summary>
- /// 违约
- /// </summary>
- PERFORMANCESTATUS_BREACHED = 3,
- /// <summary>
- /// 完成
- /// </summary>
- PERFORMANCESTATUS_FINISHED = 4
- }
- /// <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>
- 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>
- 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>
- 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>
- 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>
- // 履约结算节点ID
- /// </summary>
- public enum ePerformanceReckonNodeID
- {
- /// <summary>
- /// 履约服务履约结算节点ID
- /// </summary>
- PERFORMANCERECKNODEID_PERFORMANC = 1,
- /// <summary>
- /// 履约服务违约结算节点ID
- /// </summary>
- PERFORMANCERECKNODEID_CONTRACTED = 2
- }
- /// <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_QUOTE_SOURCE = 100,
- /// <summary>
- /// 行情处理
- /// </summary>
- SPEICAL_MARKET_QUOTE_PRICE = 101,
- /// <summary>
- /// 行情发布
- /// </summary>
- SPEICAL_MARKET_QUOTE_PUBLISH = 102
- }
- /// <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>
- 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>
- 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_WR_SITE_REQ = 22,
- /// <summary>
- /// 收到仓单服务库位冻结成功应答
- /// </summary>
- SCF_SUB_STEP_RECV_WR_SITE_SUCCESS_RSP = 23,
- /// <summary>
- /// 收到仓单服务库位冻结失败应答
- /// </summary>
- SCF_SUB_STEP_RECV_WR_SITE_FAILED_RSP = 24,
- /// <summary>
- /// 发给仓单服务库位拆分请求
- /// </summary>
- SCF_SUB_STEP_SEND_WR_SPLIT_REQ = 25,
- /// <summary>
- /// 收到仓单服务库位拆分成功应答
- /// </summary>
- SCF_SUB_STEP_RECV_WR_SPLIT_SUCCESS_RSP = 26,
- /// <summary>
- /// 收到仓单服务库位拆分失败应答
- /// </summary>
- SCF_SUB_STEP_RECV_WR_SPLIT_FAILED_RSP = 27,
- /// <summary>
- /// 发给仓单服务仓单转移请求
- /// </summary>
- SCF_SUB_STEP_SEND_WR_MOVE_REQ = 28,
- /// <summary>
- /// 收到仓单服务仓单转移成功应答
- /// </summary>
- SCF_SUB_STEP_RECV_WR_MOVE_SUCCESS_RSP = 29,
- /// <summary>
- /// 收到仓单服务仓单转移失败应答
- /// </summary>
- SCF_SUB_STEP_RECV_WR_MOVE_FAILED_RSP = 30,
- /// <summary>
- /// 发给账户服务最大扣款请求
- /// </summary>
- SCF_SUB_STEP_SEND_ACC_MAX_PAY_REQ = 31,
- /// <summary>
- /// 收到账户服务最大扣款成功应答
- /// </summary>
- SCF_SUB_STEP_SEND_ACC_MAX_PAY_RSP = 32,
- /// <summary>
- /// 发送业务成功通知
- /// </summary>
- SCF_SUB_STEP_SEND_SUCCESS_NOTIFY = 31,
- /// <summary>
- /// 发送业务失败通知
- /// </summary>
- SCF_SUB_STEP_SEND_FAILED_NOTIFY = 32,
- /// <summary>
- /// 结算开始
- /// </summary>
- SCF_SUB_STEP_NODESTATUS_BEGIN = 33,
- /// <summary>
- /// 结算成功
- /// </summary>
- SCF_SUB_STEP_NODESTATUS_SUCCESS = 34,
- /// <summary>
- /// 结算失败
- /// </summary>
- SCF_SUB_STEP_NODESTATUS_FAILED = 35
- }
- /// <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>
- // 供应链金融计息标志
- /// </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 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>
- // 提货状态对应表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>
- // 通道交易消息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 = 1001,
- /// <summary>
- /// 查询资金信息应答
- /// </summary>
- MID_QUERYACCOUNTMONEYRSP = 1002,
- /// <summary>
- /// 查询持仓汇总请求
- /// </summary>
- MID_QUERYPOSITIONREQ = 1003,
- /// <summary>
- /// 查询持仓汇总应答
- /// </summary>
- MID_QUERYPOSITIONRSP = 1004,
- /// <summary>
- /// 查询持仓明细请求
- /// </summary>
- MID_QUERYPOSITIONDETAILREQ = 1005,
- /// <summary>
- /// 查询持仓明细应答
- /// </summary>
- MID_QUERYPOSITIONDETAILRSP = 1006,
- /// <summary>
- /// 查询报单请求
- /// </summary>
- MID_QUERYORDERREQ = 1007,
- /// <summary>
- /// 查询报单应答
- /// </summary>
- MID_QUERYORDERRSP = 1008,
- /// <summary>
- /// 查询成交请求
- /// </summary>
- MID_QUERYTRADEREQ = 1009,
- /// <summary>
- /// 查询成交应答
- /// </summary>
- MID_QUERYTRADERSP = 1010,
- /// <summary>
- /// 查询合约请求
- /// </summary>
- MID_QUERYINSTRUMENTREQ = 1011,
- /// <summary>
- /// 查询合约应答
- /// </summary>
- MID_QUERYINSTRUMENTRSP = 1012,
- /// <summary>
- /// 报单录入请求
- /// </summary>
- MID_INPUTORDERREQ = 2001,
- /// <summary>
- /// 报单录入应答
- /// </summary>
- MID_INPUTORDERRSP = 2002,
- /// <summary>
- /// 报单修改请求
- /// </summary>
- MID_ORDERACTIONREQ = 2003,
- /// <summary>
- /// 报单修改应答
- /// </summary>
- MID_ORDERACTIONRSP = 2004,
- /// <summary>
- /// 报单通知
- /// </summary>
- MID_NOTICEORDER = 3001,
- /// <summary>
- /// 成交通知
- /// </summary>
- MID_NOTICETRADE = 3002,
- /// <summary>
- /// 实时行情订阅请求
- /// </summary>
- MID_QUTATIONSUBSCRIBEREQ = 4001,
- /// <summary>
- /// 实时行情订阅应答
- /// </summary>
- MID_QUTATIONSUBSCRIBERSP = 4002,
- /// <summary>
- /// 实时行情推送
- /// </summary>
- MID_NOTICEQUTATION = 4003
- }
- /// <summary>
- // 交易通道编号
- /// </summary>
- public enum eChannelIDType
- {
- /// <summary>
- /// 综合交易平台
- /// </summary>
- CID_CTP = 1,
- /// <summary>
- /// 安粮期货
- /// </summary>
- CID_ATP = 2,
- /// <summary>
- /// 盈透
- /// </summary>
- CID_IB = 3
- }
- /// <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_ANYPRICE = 1,
- /// <summary>
- /// 限价
- /// </summary>
- OPT_LIMITPRICE = 2,
- /// <summary>
- /// 最优价
- /// </summary>
- OPT_BESTPRICE = 3,
- /// <summary>
- /// 最新价
- /// </summary>
- OPT_LASTPRICE = 4
- }
- /// <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_SPECULATION = 1,
- /// <summary>
- /// 套利
- /// </summary>
- HF_ARBITRAGE = 2,
- /// <summary>
- /// 套保
- /// </summary>
- HF_HEDGE = 3,
- /// <summary>
- /// 做市商
- /// </summary>
- HF_MARKETMAKER = 5
- }
- /// <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>
- public enum eRecordType
- {
- /// <summary>
- /// 资金
- /// </summary>
- MSG_ACCOUNT_REC_TYPE_AMOUNT = 1,
- /// <summary>
- /// 头寸
- /// </summary>
- MSG_ACCOUNT_REC_TYPE_POSTION = 2
- }
- #endregion
|