using Muchinfo.MTPClient.Data.Helper; #region MTP1.0 /// // 系统开市方式 /// public enum eSysMarketOpenMethod { /// /// 自动 /// OPENMETHOD_AUTO = 0, /// /// 手动 /// OPENMETHOD_MANUAL = 1 } /// // 资金模式 /// public enum eMoneyMode { /// /// 保证金 /// MONEYMODE_MARGIN = 1, /// /// 全款划扣 /// MONEYMODE_PAY = 2 } /// // 商品组层级类型 /// public enum eGoodsGroupLevelType { /// /// 所有商品 /// GOODSGROUPLEVEL_ALLGOODS = 1, /// /// 交易所 /// GOODSGROUPLEVEL_EXCHGOODSGROUP = 2, /// /// 市场商品组 /// GOODSGROUPLEVEL_GOODSGROUP = 3 } /// // 运行操作 /// public enum eRunOperate { /// /// 无操作 /// RUNOPERATE_NONE = 0, /// /// 暂停 /// RUNOPERATE_PAUSE = 1, /// /// 恢复 /// RUNOPERATE_RESTORE = 2 } /// // 费用计算方式 /// public enum eFeeCalcMethod { /// /// 成交金额比例 /// PERCENTOFTURNOVER = 0, /// /// 每手固定单位 /// PERLOTSIZE = 1 } /// // 市场结算模式 /// public enum eMarketSettleMode { /// /// 有负债 /// SETTLEALLOWDEBT = 0, /// /// 无负债 /// SETTLECLEAR = 1 } /// // 结算价算法 /// public enum eReckonPriceCalcMethod { /// /// 倒数多少笔成交价加权平均 /// RECKONPRICECALCMETHOD_LASTAVG = 0, /// /// 倒数多少秒成交价平均 /// RECKONPRICECALCMETHOD_LASTTIMEAVG = 1, /// /// 全部成交价加权平均 /// RECKONPRICECALCMETHOD_ALLAVG = 2, /// /// 倒数多少秒成交价加权平均 /// RECKONPRICECALCMETHOD_LASTMILLISAVG = 3 } /// // 发售成交类型 /// public enum eDealType { /// /// 指定买方成交 /// APPOINT_BUYERDEAL = 0, /// /// 公开发售成交 /// PUBLICISSUEDEAL = 1, /// /// 承销会员指定成交 /// APPOINT_CONSIGNMENTDEAL = 2, /// /// 申购配售成交 /// SUBSCRIPT_PLACEMENT_DEAL = 3, /// /// 持仓配售成交 /// HOLD_PLACEMENT_DEAL = 4, /// /// 交易金额配售成交 /// TRADEAMOUNT_PLACEMENT_DEAL = 5, /// /// 定向配售成交 /// DIRECT_PLACEMENT_DEAL = 6 } /// // 发售配售类型 /// public enum ePlacementType { /// /// 持仓配售 /// PLACEMENTTYPE_HOLD = 1, /// /// 申购量配售 /// PLACEMENTTYPE_SUB = 2, /// /// 申购资金-持仓配售 /// PLACEMENTTYPE_SUB_HOLD = 3, /// /// 交易金额配售 /// PLACEMENTTYPE_TRADEAMOUNT = 4, /// /// 定向配售 /// PLACEMENTTYPE_DIRECT = 5, /// /// 华凝版持仓配售 /// PLACEMENTTYPE_HOLD_HUANING = 10 } /// // 发售模式 /// public enum eIssueMode { /// /// 现货发售 /// ISSUE_MODE_SPOT = 1, /// /// 仓单发售 /// ISSUE_MODE_WAREHOUSERECEIPT = 2, /// /// 仓单自动转竞价 /// ISSUE_MODE_WAREHOUSERECEIPT2BIDMATCH = 3 } /// // 发售撤单限制类型 /// public enum eIssueCancelLimitsType { /// /// 无限制 /// ISSUE_CANCEL_LIMITS_NONE = 1, /// /// 仅能撤当天的申购单 /// ISSUE_CANCEL_LIMITS_TODAY = 2, /// /// 不能撤单 /// ISSUE_CANCEL_LIMITS_NEVER = 3 } /// // 发售系统配置参数 /// public enum eIssueSysConfigParam { /// /// 发售最大有效申购单数 /// ISSUE_SYSCONFIG_MAX_VALID_SUBORDERS = 9001, /// /// 发售撤单限制类型 /// ISSUE_SYSCONFIG_CANCEL_LIMITS_TYPE = 9002 } /// // 商品平仓期限 /// public enum eGoodsCloseType { /// /// 永续经营 /// GOODSCLOSETYPE_NONE = 0, /// /// 定期商品 /// GOODSCLOSETYPE_BYCYCLE = 1 } /// // 证件类型 /// public enum eCardType { /// /// 身份证 /// IDCARD = 0, /// /// 港澳通行证 /// HMPASSPORT = 1, /// /// 组织机构代码证 /// ORGANIZATION = 2, /// /// 驾驶证 /// DRIVERLICENCE = 3, /// /// 营业执照 /// BUSINESSLICENSE = 4, /// /// 军官证 /// OFFICERCERTIFICATE = 5, /// /// 解放军文职干部证 /// ARMYCIVILIANCADRES = 6, /// /// 警官证 /// POLICEID = 7, /// /// 解放军士兵证 /// ARMYSOLDIERSCERTIFICATE = 8, /// /// 户口簿 /// RESIDENCEBOOKLET = 9, /// /// 临时身份证 /// TEMPORARYIDCARD = 10, /// /// (外国)护照 /// FOREIGNPASSPORT = 11, /// /// (中国)护照 /// CHINESEPASSPORT = 12, /// /// 武警文职干部证 /// ARMEDPOLICECIVILIANCADRES = 13, /// /// 武警士兵证 /// ARMEDPOLICECERTIFICATE = 14, /// /// 海外客户编号 /// OVERSEASCUSTOMERNUMBER = 15, /// /// 学员证 /// STUDENTCARD = 16, /// /// 退休证 /// RETIREMENTCERTIFICATE = 17, /// /// 对公营业执照号码 /// BUSINESSLICENSETOPUBLIC = 18, /// /// 台湾通行证 /// TAIWANGPASSPORT = 19, /// /// 统一社会信用代码 /// UNIFIEDSOCIALCREDITCODE = 21, /// /// 个人其他类证件 /// OTHER_PERSON = 20, /// /// 非个人其他类证件 /// OTHER_ORG = 22 } /// // 开户方式 /// public enum eAccountOpenMode { /// /// 管理端开户 /// ACCOUNTOPENMODE_FROMMANAGECLIENT = 0, /// /// PC交易端注册 /// ACCOUNTOPENMODE_FROMPCTRADECLIENT = 2, /// /// 安卓手机端注册 /// ACCOUNTOPENMODE_FROMANDRIODAPP = 3, /// /// 网页交易端注册 /// ACCOUNTOPENMODE_FROMWEBAPP = 4, /// /// 微信开户 /// ACCOUNTOPENMODE_FROMWECHAT = 5, /// /// 苹果手机端注册 /// ACCOUNTOPENMODE_FROMIOSAPP = 6, /// /// 网上开户注册(会员官网) /// ACCOUNTOPENMODE_FROMWEBSITE = 7 } /// // 客户性别 /// public enum eCustomerSex { /// /// 男 /// CUSTOMERSEX_MALE = 0, /// /// 女 /// CUSTOMERSEX_FEMALE = 1 } /// // 机构层级类型 /// public enum eAreaLevelType { /// /// 三方服务机构(独立机构,不在集团树上) /// AREALEVEL_THIRDPARTY = 0, /// /// 集团 /// AREALEVEL_EXCHANGEGROUP = 1, /// /// 交易所 /// AREALEVEL_EXCHANGE = 2, /// /// 运营中心 /// AREALEVEL_OPERATION = 3, /// /// 会员 /// AREALEVEL_MEMBER = 4, /// /// 会员机构 /// AREALEVEL_MEMBERAREA = 5, /// /// 会员2层机构 /// AREALEVEL_MEMBERLEVEL2AREA = 6, /// /// 会员3层机构 /// AREALEVEL_MEMBERLEVEL3AREA = 7, /// /// 会员4层机构 /// AREALEVEL_MEMBERLEVEL4AREA = 8 } /// // 机构状态 /// public enum eAreaStatus { /// /// 待激活 /// AREASTATUS_INACTIVE = 0, /// /// 正常 /// AREASTATUS_NORMAL = 1, /// /// 已注销 /// AREASTATUS_CLOSED = 2 } /// // 机构角色 /// public enum eAreaRole { /// /// 经纪商 /// AREAROLE_BROKERMEMBER = 1, /// /// 交易会员 /// AREAROLE_MAKEMEMBER = 2, /// /// 结算会员 /// AREAROLE_TOPMAKEMEMBER = 4, /// /// 仓库会员 /// AREAROLE_STOREMEMBER = 8, /// /// 供货商 /// AREAROLE_INDUSTRYMEMBER = 16, /// /// 金融会员 /// AREAROLE_CAPITALMEMBER = 32 } /// // 账户类型 /// public enum eAccountType { /// /// 投资者账户 /// ACCOUNTTYPE_INVESTOR = 0, /// /// 交易员账户 /// ACCOUNTTYPE_TRADER = 1, /// /// 经纪商账户 /// ACCOUNTTYPE_BROKER = 2, /// /// 机构账户 /// ACCOUNTTYPE_AREA = 3, /// /// 三方机构账户 /// ACCOUNTTYPE_THIRDPARTY = 4, /// /// 会员账户 /// ACCOUNTTYPE_MEMBER = 5, /// /// 运营中心账户 /// ACCOUNTTYPE_OPERATION = 6, /// /// 交易所账户 /// ACCOUNTTYPE_EXCHANGE = 7, /// /// 集团账户 /// ACCOUNTTYPE_EXCHANGEGROUP = 8, /// /// 管理员 /// ACCOUNTTYPE_MANAGER = 9 } /// // 对手关系类型 /// public enum eMMRelationType { /// /// 投资者对手关系 /// MMRELATION_INVESTOR = 0, /// /// 自营对手关系 /// MMRELATION_MEMBERTRADER = 1 } /// // 费用分配关系类型 /// public enum eFeeDivideMatchType { /// /// 投资者费用分配 /// FEEDIVIDEMATCHTYPE_INVESTOR = 0, /// /// 交易员费用分配 /// FEEDIVIDEMATCHTYPE_MEMBERTRADER = 1 } /// // 费用分配算法 /// public enum eFeeDivideCalcMethod { /// /// 费用百分比 /// FEEDIVIDECALCMETHOD_FEEPERCENT = 2, /// /// 余下全部 /// FEEDIVIDECALCMETHOD_REMAINDER = 8 } /// // 费用类别 /// public enum eTradeFeeKind { /// /// 交易手续费 /// TRADEFEEKIND_TRADEORDERFEE = 1, /// /// 交割手续费 /// TRADEFEEKIND_DELIVERYFEE = 2, /// /// 递延费 /// TRADEFEEKIND_INTEREST = 4, /// /// 冻结款 /// TRADEFEEKIND_FREEZE = 8, /// /// 占用款 /// TRADEFEEKIND_USED = 16, /// /// 点差 /// TRADEFEEKIND_POINT = 32, /// /// 挂牌费 /// TRADEFEEKIND_STOREINFEE = 64, /// /// 申购手续费 /// TRADEFEEKIND_SUBSCRIPTFEE = 128, /// /// 发行手续费 /// TRADEFEEKIND_PUBLISHFEE = 256, /// /// 平仓盈利转换积分 /// TRADEFEEKIND_DEALEARNTURNINTEGRAL = 512 } /// // 币种 /// public enum eCurrency { /// /// 人民币 /// RMB = 0, /// /// 美元 /// USD = 1, /// /// 欧元 /// EUR = 2, /// /// 日元 /// JPA = 3, /// /// 港币 /// HKD = 4, /// /// 美分 /// CNT = 5 } /// // 委托单建平类型 /// public enum eOrderBuildType { /// /// 买入 /// ORDERBUILDTYPE_OPEN = 0, /// /// 卖出 /// ORDERBUILDTYPE_CLOSE = 1, /// /// 撤销 /// ORDERBUILDTYPE_CANCEL = 2 } /// // 商品期限类型 /// public enum eGoodsLimitedType { /// /// 年 /// GOODSLIMITEDTYPE_YEAR = 0, /// /// 月 /// GOODSLIMITEDTYPE_MONTH = 1, /// /// 日 /// GOODSLIMITEDTYPE_DAY = 2 } /// // 交易日志类型 /// public enum eTradeLogType { /// /// 客户端下单 /// TRADELOGTYPE_CLIENTREQ = 0, /// /// 服务器发出的回应客户端信息 /// TRADELOGTYPE_CLIENTRSP = 1, /// /// 服务器发出的资金请求 /// TRADELOGTYPE_MONEYREQ = 2, /// /// 资金返回 /// TRADELOGTYPE_MONEYRSP = 3, /// /// 交割服务返回 /// TRADELOGTYPE_DELIVERYRSP = 5 } /// // 委托模式 /// public enum eOrderMode { /// /// FAK /// ORDERMODE_FAK = 0, /// /// FOK /// ORDERMODE_FOK = 1, /// /// 不成交则挂单 /// ORDERMODE_STD = 2, /// /// 委托模式最大值 /// ORDERMODE_MAX = 3 } /// // 交易平仓模式 /// public enum eTradeCloseMode { /// /// 平今日 /// TRADECLOSEMODE_CLOSETODAY = 0, /// /// 平历史 /// TRADECLOSEMODE_CLOSEHISTORY = 1, /// /// 不区分今仓和历史仓 /// TRADECLOSEMODE_CLOSEALL = 2, /// /// 平仓模式最大值 /// TRADECLOSEMODE_MAX = 3 } /// // 计算枚举 /// public enum eCalMode { /// /// 总额百分比 /// CALMODE_FIXEDRATIO = 0, /// /// 合约单位固定值 /// CALMODE_FIXEDNUMBER = 1, /// /// 总的固定值 /// CALMODE_TOTALFIXEDNUMBER = 2 } /// // 交易个性化规则 /// public enum eTradeRulePersonal { /// /// 买点差增量 /// TRADERULEPERSONAL_MBUYPTINC = 2001, /// /// 卖点差增量 /// TRADERULEPERSONAL_MSELLPTINC = 2002, /// /// 买点差增量 /// TRADERULEPERSONAL_XBUYPTINC = 4001, /// /// 卖点差增量 /// TRADERULEPERSONAL_XSELLPTINC = 4002 } /// // 资金变更流水操作类型 /// public enum eTAAccountLogOpType { /// /// 连续现货交易手续费 /// TAACCOUNTLOG_MM_BUILD_ORDER_FEE = 1120, /// /// 连续现货交易全款金额 /// TAACCOUNTLOG_MM_BUILD_ORDER_PAY = 1121, /// /// 连续现货交易仓单服务费 /// TAACCOUNTLOG_MM_BUILD_ORDER_WAREHOUSE_FEE = 1125, /// /// 连续现货交易手续费 /// TAACCOUNTLOG_MM_CLOSE_ORDER_FEE = 1130, /// /// 连续现货交易全款金额 /// TAACCOUNTLOG_MM_CLOSE_ORDER_PAY = 1131, /// /// 连续现货交易仓单服务费 /// TAACCOUNTLOG_MM_CLOSE_ORDER_WAREHOUSE_FEE = 1135, /// /// 连续现货交易盈亏 /// TAACCOUNTLOG_MM_CLOSE_ORDER_PL = 1139, /// /// 连续现货结算盈亏 /// TAACCOUNTLOG_MM_RECKON_PL = 1140, /// /// 连续现货结算递延费 /// TAACCOUNTLOG_MM_RECKON_DELAY_FEE = 1141, /// /// 连续现货交易手续费分成 /// TAACCOUNTLOG_MM_DIVIDE_TRADEFEE = 1160, /// /// 连续现货递延费分成 /// TAACCOUNTLOG_MM_DIVIDE_INTEREST = 1162, /// /// 挂牌交易手续费 /// TAACCOUNTLOG_BM_BUILD_ORDER_FEE = 1220, /// /// 挂牌交易全款金额 /// TAACCOUNTLOG_BM_BUILD_ORDER_PAY = 1221, /// /// 挂牌交易仓单服务费 /// TAACCOUNTLOG_BM_BUILD_ORDER_WAREHOUSE_FEE = 1225, /// /// 挂牌交易手续费 /// TAACCOUNTLOG_BM_CLOSE_ORDER_FEE = 1230, /// /// 挂牌交易全款金额 /// TAACCOUNTLOG_BM_CLOSE_ORDER_PAY = 1231, /// /// 挂牌交易仓单服务费 /// TAACCOUNTLOG_BM_CLOSE_ORDER_WAREHOUSE_FEE = 1235, /// /// 挂牌交易盈亏 /// TAACCOUNTLOG_BM_CLOSE_ORDER_PL = 1239, /// /// 挂牌结算盈亏 /// TAACCOUNTLOG_BM_RECKON_PL = 1240, /// /// 挂牌结算递延费 /// TAACCOUNTLOG_BM_RECKON_DELAY_FEE = 1241, /// /// 挂牌交易手续费分成 /// TAACCOUNTLOG_BM_DIVIDE_TRADEFEE = 1260, /// /// 挂牌递延费分成 /// TAACCOUNTLOG_BM_DIVIDE_INTEREST = 1262, /// /// 申购手续费 /// TAACCOUNTLOG_IM_BUILD_ORDER_FEE = 1320, /// /// 发售买入全款金额 /// TAACCOUNTLOG_IM_BUILD_ORDER_PAY = 1321, /// /// 发行手续费 /// TAACCOUNTLOG_IM_CLOSE_ORDER_FEE = 1330, /// /// 发售卖出全款金额 /// TAACCOUNTLOG_IM_CLOSE_ORDER_PAY = 1331, /// /// 发售交易手续费分成 /// TAACCOUNTLOG_IM_DIVIDE_TRADEFEE = 1360, /// /// 发售递延费分成 /// TAACCOUNTLOG_IM_DIVIDE_INTEREST = 1362, /// /// 发售申购手续费分成 /// TAACCOUNTLOG_IM_DIVIDE_SUBSCRIBE_FEE = 1363, /// /// 发售发行手续费分成 /// TAACCOUNTLOG_IM_DIVIDE_PUBLISH_FEE = 1364, /// /// 混合模式交易手续费 /// TAACCOUNTLOG_XM_BUILD_ORDER_FEE = 1420, /// /// 混合模式交易全款金额 /// TAACCOUNTLOG_XM_BUILD_ORDER_PAY = 1421, /// /// 混合模式交易仓单服务费 /// TAACCOUNTLOG_XM_BUILD_ORDER_WAREHOUSE_FEE = 1425, /// /// 混合模式交易手续费 /// TAACCOUNTLOG_XM_CLOSE_ORDER_FEE = 1430, /// /// 混合模式交易全款金额 /// TAACCOUNTLOG_XM_CLOSE_ORDER_PAY = 1431, /// /// 混合模式交易仓单服务费 /// TAACCOUNTLOG_XM_CLOSE_ORDER_WAREHOUSE_FEE = 1435, /// /// 混合模式交易盈亏 /// TAACCOUNTLOG_XM_CLOSE_ORDER_PL = 1439, /// /// 混合结算盈亏 /// TAACCOUNTLOG_XM_RECKON_PL = 1440, /// /// 混合结算递延费 /// TAACCOUNTLOG_XM_RECKON_DELAY_FEE = 1441, /// /// 混合模式交易手续费分成 /// TAACCOUNTLOG_XM_DIVIDE_TRADEFEE = 1460, /// /// 混合模式递延费分成 /// TAACCOUNTLOG_XM_DIVIDE_INTEREST = 1462, /// /// 入金 /// TAACCOUNTLOG_BK_IN_MONEY = 2100, /// /// 出金 /// TAACCOUNTLOG_BK_OUT_MONEY = 2200, /// /// 调整-出入金调整 /// TAACCOUNTLOG_BK_INOUT_ADJUST = 2300, /// /// 调整-资金调整 /// TAACCOUNTLOG_INR_ADJUST_TAAMOUNT = 3100, /// /// 调整-连续现货买入手续费 /// TAACCOUNTLOG_MANUAL_MM_BUILDINGFEE = 3101, /// /// 调整-连续现货买入仓单服务费 /// TAACCOUNTLOG_MANUAL_MM_BUILDINGWARRANT_EXPENSE = 3102, /// /// 调整-连续现货卖出手续费 /// TAACCOUNTLOG_MANUAL_MM_COVERFEE = 3103, /// /// 调整-连续现货卖出仓单服务费 /// TAACCOUNTLOG_MANUAL_MM_COVERWARRANT_EXPENSE = 3104, /// /// 调整-连续现货卖出盈亏 /// TAACCOUNTLOG_MANUAL_MM_COVER_PROFIT = 3105, /// /// 调整-连续现货结算盈亏 /// TAACCOUNTLOG_MANUAL_MM_BALANCE_PROFIT = 3106, /// /// 调整-连续现货结算递延费 /// TAACCOUNTLOG_MANUAL_MM_BALANCE_DEFERRED_CHARGES = 3107, /// /// 调整-连续现货交收手续费 /// TAACCOUNTLOG_MANUAL_MM_SETTLEMENT_FEE = 3108, /// /// 调整-挂牌买入手续费 /// TAACCOUNTLOG_MANUAL_BM_BUILDINGFEE = 3109, /// /// 调整-挂牌买入仓单服务费 /// TAACCOUNTLOG_MANUAL_BM_BUILDINGWARRANT_EXPENSE = 3110, /// /// 调整-挂牌卖出手续费 /// TAACCOUNTLOG_MANUAL_BM_COVERFEE = 3111, /// /// 调整-挂牌卖出仓单服务费 /// TAACCOUNTLOG_MANUAL_BM_COVERWARRANT_EXPENSE = 3112, /// /// 调整-挂牌卖出盈亏 /// TAACCOUNTLOG_MANUAL_BM_COVER_PROFIT = 3113, /// /// 调整-挂牌结算盈亏 /// TAACCOUNTLOG_MANUAL_BM_BALANCE_PROFIT = 3114, /// /// 调整-挂牌结算递延费 /// TAACCOUNTLOG_MANUAL_BM_BALANCE_DEFERRED_CHARGES = 3115, /// /// 调整-挂牌交收手续费 /// TAACCOUNTLOG_MANUAL_BM_SETTLEMENT_FEE = 3116, /// /// 调整-发售买入手续费 /// TAACCOUNTLOG_MANUAL_IM_BUILDINGFEE = 3117, /// /// 调整-发售卖出手续费 /// TAACCOUNTLOG_MANUAL_IM_COVERFEE = 3118, /// /// 调整-混合模式买入手续费 /// TAACCOUNTLOG_MANUAL_XM_BUILDINGFEE = 3119, /// /// 调整-混合模式买入仓单服务费 /// TAACCOUNTLOG_MANUAL_XM_BUILDINGWARRANT_EXPENSE = 3120, /// /// 调整-混合模式卖出手续费 /// TAACCOUNTLOG_MANUAL_XM_COVERFEE = 3121, /// /// 调整-混合模式卖出仓单服务费 /// TAACCOUNTLOG_MANUAL_XM_COVERWARRANT_EXPENSE = 3122, /// /// 调整-混合模式卖出盈亏 /// TAACCOUNTLOG_MANUAL_XM_COVER_PROFIT = 3123, /// /// 调整-混合结算盈亏 /// TAACCOUNTLOG_MANUAL_XM_BALANCE_PROFIT = 3124, /// /// 调整-混合结算递延费 /// TAACCOUNTLOG_MANUAL_XM_BALANCE_DEFERRED_CHARGES = 3125, /// /// 调整-混合交收手续费 /// TAACCOUNTLOG_MANUAL_XM_SETTLEMENT_FEE = 3126, /// /// 调整-入金 /// TAACCOUNTLOG_MANUAL_DEPOSIT = 3127, /// /// 调整-出金 /// TAACCOUNTLOG_MANUAL_OUT_DEPOSIT = 3128, /// /// 斩仓回退 /// TAACCOUNTLOG_CUT_BACK = 3200, /// /// 交割手续费 /// TAACCOUNTLOG_DELIVERY_FEE = 4000, /// /// 交割费用分成 /// TAACCOUNTLOG_DELIVERY_DIVIDE_FEE = 4001, /// /// 交割升贴水 /// TAACCOUNTLOG_DELIVERY_PRICEMOVE = 4002, /// /// 交割确认扣款 /// TAACCOUNTLOG_DELIVERY_CONFIRM = 4003, /// /// 交割收款 /// TAACCOUNTLOG_DELIVERY_RECEIVE = 4004, /// /// 交割卖出全款金额 /// TAACCOUNTLOG_DELIVERY_CLOSE_PAY = 4005, /// /// 交割税款 /// TAACCOUNTLOG_DELIVERY_TAX = 4006, /// /// 交割货款 /// TAACCOUNTLOG_DELIVERY_PAYMENT = 4007, /// /// 交割盈亏 /// TAACCOUNTLOG_DELIVERY_PL = 4008, /// /// 挂牌点价手续费 /// TAACCOUNTLOG_LISTING_FEE = 4100, /// /// 挂牌点价手续费分成 /// TAACCOUNTLOG_LISTING_DIVIDE_FEE = 4101, /// /// 摘牌手续费 /// TAACCOUNTLOG_DELISTING_FEE = 4102, /// /// 摘牌手续费分成 /// TAACCOUNTLOG_DELISTING_DIVIDE_FEE = 4103, /// /// 挂牌点价全款金额 /// TAACCOUNTLOG_LISTING_PAY = 4104, /// /// 托管手续费 /// TAACCOUNTLOG_MANAGED_FEE = 4200, /// /// 托管手续费分成 /// TAACCOUNTLOG_MANAGED_DIVIDE_FEE = 4201, /// /// 交易盈利划转 /// TAACCOUNTLOG_PROFIT_TRANSFER = 4300, /// /// 交易盈利划转分成 /// TAACCOUNTLOG_PROFIT_TRANSFER_DIVIDE = 4301 } /// // 资金金额明细类型 /// public enum eTAAmountDetailType { /// /// 连续现货手续费 /// TAAMOUNTDETAIL_MM_FEE = 1120, /// /// 连续现货仓单服务费 /// TAAMOUNTDETAIL_MM_WAREHOUSE_FEE = 1135, /// /// 连续现货递延费 /// TAAMOUNTDETAIL_MM_DEFER_FEE = 1140, /// /// 连续现货冻结保证金 /// TAAMOUNTDETAIL_MM_FREEZEMARGIN = 1150, /// /// 连续现货占用保证金 /// TAAMOUNTDETAIL_MM_USEDMARGIN = 1151, /// /// 连续现货费用冻结 /// TAAMOUNTDETAIL_MM_FEEFREEZE = 1160, /// /// 挂牌手续费 /// TAAMOUNTDETAIL_BM_FEE = 1220, /// /// 挂牌仓单服务费 /// TAAMOUNTDETAIL_BM_WAREHOUSE_FEE = 1235, /// /// 挂牌递延费 /// TAAMOUNTDETAIL_BM_DEFER_FEE = 1240, /// /// 挂牌冻结保证金 /// TAAMOUNTDETAIL_BM_FREEZEMARGIN = 1250, /// /// 挂牌占用保证金 /// TAAMOUNTDETAIL_BM_USEDMARGIN = 1251, /// /// 挂牌费用冻结 /// TAAMOUNTDETAIL_BM_FEEFREEZE = 1260, /// /// 交收冻结 /// TAAMOUNTDETAIL_DELIVERY_FREEZE = 1310, /// /// 交割手续费 /// TAAMOUNTDETAIL_DELIVERY_FEE = 1330, /// /// 交收税款 /// TAAMOUNTDETAIL_DELIVERY_TAX = 1340, /// /// 交割盈亏 /// TAAMOUNTDETAIL_DELIVERY_PL = 1350, /// /// 交割欠款 /// TAAMOUNTDETAIL_DELIVERY_DEBT = 1360, /// /// 发售冻结 /// TAAMOUNTDETAIL_IM_FREEZE = 1400, /// /// 发售手续费 /// TAAMOUNTDETAIL_IM_FEE = 1410, /// /// 发售申购手续费 /// TAAMOUNTDETAIL_IM_SUBSCRIBE_FEE = 1420, /// /// 发售发行手续费 /// TAAMOUNTDETAIL_IM_PUBLISH_FEE = 1430, /// /// 混合模式手续费 /// TAAMOUNTDETAIL_XM_FEE = 1520, /// /// 混合模式仓单服务费 /// TAAMOUNTDETAIL_XM_WAREHOUSE_FEE = 1535, /// /// 混合模式递延费 /// TAAMOUNTDETAIL_XM_DEFER_FEE = 1540, /// /// 混合冻结保证金 /// TAAMOUNTDETAIL_XM_FREEZEMARGIN = 1550, /// /// 混合占用保证金 /// TAAMOUNTDETAIL_XM_USEDMARGIN = 1551, /// /// 混合费用冻结 /// TAAMOUNTDETAIL_XM_FEEFREEZE = 1560, /// /// 挂牌点价手续费 /// TAAMOUNTDETAIL_LISTING_FEE = 1600, /// /// 摘牌手续费 /// TAAMOUNTDETAIL_DELISTING_FEE = 1601, /// /// 摘牌冻结 /// TAAMOUNTDETAIL_DELISTING_FREEZE = 1602, /// /// 挂牌冻结 /// TAAMOUNTDETAIL_LISTING_FREEZE = 1603, /// /// 托管冻结 /// TAAMOUNTDETAIL_MANAGED_FREEZE = 1700, /// /// 托管手续费 /// TAAMOUNTDETAIL_MANAGED_FEE = 1701, /// /// 外部冻结 /// TAAMOUNTDETAIL_OTR_FREEZE = 3210 } /// // 发售价格确定方式 /// public enum eIssuePriceDefineWay { /// /// 指定价 /// ISSUEPRICEDEFINEWAY_SPEC = 0, /// /// 区间价 /// ISSUEPRICEDEFINEWAY_SCOPE = 1 } /// // 发售价格确定模式 /// public enum eIssuePriceDefineMode { /// /// 竞价模式 /// ISSUEPRICEDEFINEMODE_BID = 0, /// /// 累计投标模式 /// ISSUEPRICEDEFINEMODE_SERIESBID = 1 } /// // 头寸类型 /// public enum ePositionType { /// /// 投资者持仓汇总 /// POSITIONTYPE_INVESTOR = 0, /// /// 会员持仓汇总 /// POSITIONTYPE_MEMBER = 1 } /// // 通用结果 /// public enum eCommonResult { /// /// 通过 /// COMMONRESULT_OK = 0, /// /// 拒绝 /// COMMONRESULT_REJECT = 1, /// /// 待审核 /// COMMONRESULT_WAIT = 2 } /// // 交易规则类型 /// public enum eTradeRuleType { /// /// 下单类型 /// TRADERULETYPE_BUILDTYPE = 1, /// /// 价格类型 /// TRADERULETYPE_PRICEMODE = 2, /// /// 止损止盈价格 /// TRADERULETYPE_SLSPPRICE = 3, /// /// 反手买入 /// TRADERULETYPE_REOPENFLAG = 4, /// /// 买卖方向 /// TRADERULETYPE_BUYORSELL = 5 } /// // 做市商订单类型 /// public enum eMarketOrderType { /// /// 连续现货市价买入 /// MARKETORDERTYPE_MARKETOPEN = 0, /// /// 连续现货限价买入 /// MARKETORDERTYPE_LIMITOPEN = 1, /// /// 连续现货市价卖出 /// MARKETORDERTYPE_MARKETCLOSE = 2, /// /// 连续现货限价卖出 /// MARKETORDERTYPE_LIMITCLOSE = 3 } /// // 斩仓规则 /// public enum eCutMarginRule { /// /// 逐笔斩仓 /// ORDERCUT = 0, /// /// 逐手斩仓 /// HANDCUT = 1, /// /// 市场全斩 /// MARKETALLCUT = 2 } /// // 斩仓商品规则 /// public enum eCutMarginGoodsRule { /// /// 先建先平 /// CUTMARGINGOODS_FBFC = 0, /// /// 后建先平 /// CUTMARGINGOODS_BBFC = 1, /// /// 盈利优先 /// CUTMARGINGOODS_PF = 2, /// /// 亏损优先 /// CUTMARGINGOODS_LF = 3 } /// // 价格状态 /// public enum ePriceStatus { /// /// 实时价 /// PRICESTATUS_REAL = 0, /// /// 历史价 /// PRICESTATUS_HISTORY = 1, /// /// 清盘价 /// PRICESTATUS_CLEAR = 2, /// /// 结算价 /// PRICESTATUS_RECKON = 3, /// /// 最后一口价 /// PRICESTATUS_LASTPRICE = 4 } /// // 结算状态 /// public enum eSettleStatus { /// /// 未开始 /// SETTLESTATUS_NOSTART = 0, /// /// 开始 /// SETTLESTATUS_START = 1, /// /// 完成 /// SETTLESTATUS_FINISHED = 2 } /// // 处理结果 /// public enum eProcessResult { /// /// 成功 /// PROCESSRESULT_OK = 0, /// /// 失败 /// PROCESSRESULT_FAILED = 1 } /// // 结算节点类型 /// public enum eSettleNodeType { /// /// 基类节点 /// SETTLENODETYPE_BASE = 0, /// /// 结算价节点 /// SETTLENODETYPE_RECKONPRICE = 1, /// /// 结算单据加载节点 /// SETTLENODETYPE_RECKONDATALOADER = 2, /// /// 导表节点 /// SETTLENODETYPE_DATAEXPORT = 3, /// /// 预结算节点 /// SETTLENODETYPE_PRERECKON = 4, /// /// 有负债或无负债节点 /// SETTLENODETYPE_NONDEBTRECKON = 5, /// /// 到期单据处理节点 /// SETTLENODETYPE_TIMEOUTORDER = 6, /// /// 费用分成节点 /// SETTLENODETYPE_FEEDIVIDE = 7, /// /// 交易日节点 /// SETTLENODETYPE_TRADEDATE = 8, /// /// 协议转让节点 /// SETTLENODETYPE_TREATYCLOSE = 9, /// /// 到期持仓处理节点 /// SETTLENODETYPE_TIMEOUTFORCECLOSE = 10, /// /// 数据备份节点 /// SETTLENODETYPE_BAK = 11, /// /// 预买单撤单节点 /// SETTLENODETYPE_PREPOSTCANCLE = 12, /// /// 到期交割节点 /// SETTLENODETYPE_TIMEOUTDILIVERY = 13, /// /// 发售转二级节点 /// SETTLENODETYPE_GOSECONDEMARKET = 14 } /// // 风险率计算方式 /// public enum eRiskRateMode { /// /// 占用/净值 /// OCCUPYWORTH = 0, /// /// 净值/占用 /// WORTHOCCUPY = 1 } /// // 流水号生成KEY /// public enum eSerialKey { /// /// 基类节点 /// SERIALKEY_RECKONPROGRESSLOG = 101, /// /// 结算价请求序列号 /// SERIALKEY_RECKONREQUESTID = 102, /// /// 无负债结算节点请求序列号 /// SERIALKEY_NONDEBTRECKONREQUESTID = 103, /// /// 费用分成请求序列号 /// SERIALKEY_FEEDIVIDEREQUESTID = 104, /// /// 费用分成流水号 /// SERIALKEY_FEEDIVIDETICHKET = 105 } /// // 银行业务是否检查干净账户 /// public enum eBankCheckCleanFlag { /// /// 检查 /// BANK_CHECKCLEANFLAG_YES = 0, /// /// 不检查 /// BANK_CHECKCLEANFLAG_NO = 1 } /// // 记录是否已结算 /// public enum eRecordReckonStatus { /// /// 等待下一次结算 /// RECORDRECKONSTATUS_WAITNEXT = 0, /// /// 已发送到资金服务 /// RECORDRECKONSTATUS_SENT = 1, /// /// 资金服务返回错误 /// RECORDRECKONSTATUS_ERR = 2, /// /// 结算完成 /// RECORDRECKONSTATUS_FINISHED = 3 } /// // 汇总范围 /// public enum eSummarizesScope { /// /// 当前层级 /// SUMMARIZESSCOPE_CURRENTLEVEL = 0, /// /// 包含旗下层级 /// SUMMARIZESSCOPE_OWNEDLEVEL = 1 } /// // 汇总类型 /// public enum eSummarizesType { /// /// 投资者账户 /// SUMMARIZESTYPE_INVESTOR = 0, /// /// 经纪商账户 /// SUMMARIZESTYPE_BROKER = 2, /// /// 机构账户 /// SUMMARIZESTYPE_AREA = 3, /// /// 会员账户 /// SUMMARIZESTYPE_MEMBER = 5, /// /// 运营中心账户 /// SUMMARIZESTYPE_OPERATION = 6, /// /// 交易所账户 /// SUMMARIZESTYPE_EXCHANGE = 7, /// /// 集团账户 /// SUMMARIZESTYPE_EXCHANGEGROUP = 8 } /// // 汇总周期 /// public enum eSummarizesCycle { /// /// 分钟 /// MINUTE = 1, /// /// 小时 /// HOUR = 2, /// /// 日 /// DAY = 3, /// /// 周 /// WEEK = 4, /// /// 月 /// MONTH = 5, /// /// 季 /// QUARTER = 6, /// /// 年 /// YEAR = 7 } /// // 汇总分类(性质) /// public enum eSummarizesKind { /// /// 被动接单 /// SUMMARIZES_PASSIVEORDER = 0, /// /// 主动自营 /// SUMMARIZES_FROMTRADER = 1, /// /// 被动转单 /// SUMMARIZES_PASSIVETRANSFER = 2, /// /// 转移单据 /// SUMMARIZES_TRANSFER = 3 } /// // 报表类型 /// public enum eReportType { /// /// 投资者报表 /// REPORTTYPE_INVESTOR = 0, /// /// 经纪商报表 /// REPORTTYPE_BROKER = 1, /// /// 机构报表 /// REPORTTYPE_AREA = 2, /// /// 交易所报表 /// REPORTTYPE_EXCHANGE = 4, /// /// 银行报表 /// REPORTTYPE_BANKCLEAR = 5, /// /// 商品成交报表 /// REPORTTYPE_GOODSRECKONINFO = 6, /// /// 费用分成报表 /// REPORTTYPE_FEEDIVIDE = 7 } /// // 字段对齐 /// public enum eFieldAlignment { /// /// 上 /// FIELDALIGNMENT_TOP = 1, /// /// 左 /// FIELDALIGNMENT_LEFT = 2, /// /// 中 /// FIELDALIGNMENT_CENTER = 4, /// /// 右 /// FIELDALIGNMENT_RIGHT = 8, /// /// 下 /// FIELDALIGNMENT_BUTTOM = 16 } /// // 单据标记 /// public enum eOrderFlag { /// /// 正常委托 /// ORDERFLAG_NORMAL = 0, /// /// 预埋单委托 /// ORDERFLAG_PERPOST = 1, /// /// 预埋单触发委托 /// ORDERFLAG_PERPOST_TIGGER = 2 } /// // 预埋单触发类型 /// public enum eTriggerType { /// /// 大于 /// TRIGGERTYPE_GREATER = 1, /// /// 大于等于 /// TRIGGERTYPE_GREATER_OR_EQUAL = 2, /// /// 小于 /// TRIGGERTYPE_LESS = 3, /// /// 小于等于 /// TRIGGERTYPE_LESS_OR_EQUAL = 4 } /// // 预埋单单据状态 /// public enum ePrepostStatus { /// /// 单据在市 /// PREPOST_STATUS_MARKET = 1, /// /// 委托成功 /// PREPOST_STATUS_SUCCEED = 2, /// /// 已撤 /// PREPOST_STATUS_CANCELED = 3 } /// // 协议平仓状态 /// public enum eTreatyCloseStatus { /// /// 待确认 /// TREATYCLOSESTATUS_CHECK = 1, /// /// 全部已确认 /// TREATYCLOSESTATUS_ALLCONFIRM = 2, /// /// 自动确认 /// TREATYCLOSESTATUS_AUTOCONFIRM = 3, /// /// 全部成交(成功) /// TREATYCLOSESTATUS_DEALED = 4, /// /// 协议处理中 /// TREATYCLOSESTATUS_DEALING = 5, /// /// 转让失败 /// TREATYCLOSESTATUS_FAILED = 6, /// /// 系统撤销 /// TREATYCLOSESTATUS_SYSCANCELED = 7, /// /// 人工撤销 /// TREATYCLOSESTATUS_MANUALCANCELED = 8, /// /// 买方已确认 /// TREATYCLOSESTATUS_BUYCONFIRM = 9, /// /// 卖方已确认 /// TREATYCLOSESTATUS_SELLCONFIRM = 10 } /// // 短信模版编号 /// public enum eSMSTemplateId { /// /// 网上开户验证模版1(您好,欢迎使用{0}网上开户系统,您的注册验证码为{1},请于5分钟内使用!--({2})) /// WEBUSER_REGISTER_CHECKCODE1 = 1, /// /// 网上开户验证模版2(您好,欢迎使用网上开户系统,您的注册验证码为{0}请于5分钟内使用!--(大交所)) /// WEBUSER_REGISTER_CHECKCODE2 = 2, /// /// 网上开户审核通过模版1(尊敬的客户{0}您好,您提交的开户申请已通过审核。投资者账号:{1};登录账号:{2};登录初始密码:{3};资金初始密码:{4};电话初始密码:{5}。请妥善保管您的账号并及时修改初始密码。--{6}) /// WEBUSER_REGISTER_CHECKPASS1 = 3, /// /// 网上开户审核通过模版2(尊敬的客户{0}您好,您提交的开户申请已通过审核。投资者账号:{1};登录账号:{2};登录初始密码:{3};资金初始密码:{4};电话初始密码:{5}。请妥善保管您的账号并及时修改初始密码。--{6}) /// WEBUSER_REGISTER_CHECKPASS2 = 4, /// /// 网上开户审核失败模版(尊敬的客户{0}您好,您提交的开户申请未通过审核。原因:{1}。您可以联系我们了解详情后重新提交开户申请。 --{2}) /// WEBUSER_REGISTER_CHECKFAIL = 5, /// /// 提示风险模板(尊敬的会员您好,您的登陆账号{0}由于资金安全率低于规定标准,交易系统于{1}提示您注意账户风险,特此通知。请时刻关注交易账户,将账户的资金安全率保持在合格水平,谢谢。[{2}]) /// ORDERRISK_PROMPT = 6, /// /// 追加风险模板(尊敬的会员您好,您的登陆账号{0}由于资金安全率低于规定标准,交易系统于{1}提示您追加账户保证金,特此通知。请时刻关注交易账户,将账户的资金安全率保持在合格水平,谢谢。[{2}]) /// ORDERRISK_ADDITIONAL = 7, /// /// 斩仓风险模板(尊敬的会员您好,您的登陆账号{0}由于资金安全率低于规定标准,已于{1}由交易系统代为平仓,特此通知。请时刻关注交易账户,将账户的资金安全率保持在合格水平,谢谢。[{2}]) /// ORDERRISK_FORC = 8 } /// // 交割交易类型 /// public enum eDeliveryTradeType { /// /// 持仓数量冻结 /// DELIVERYTRADETYPE_FREEZE = 1, /// /// 持仓数量解冻 /// DELIVERYTRADETYPE_UNFREEZE = 2, /// /// 全额交割成交 /// DELIVERYTRADETYPE_TRADE = 3, /// /// 保证金交割成交 /// DELIVERYTRADETYPE_MARGINTRADE = 4, /// /// 先平后建成交 /// DELIVERYTRADETYPE_CLOSETHENOPENTRADE = 5 } /// // 到期持仓处理类型 /// public enum eTimeoutHolderDealMethod { /// /// 到期强平 /// HOLDER_DEAL_METHOD_CLOSE = 1, /// /// 到期无效 /// HOLDER_DEAL_METHOD_INVALID = 2 } /// // 资金明细操作类型 /// public enum eMoneyDetailOperateType { /// /// 冻结金额 /// MONEY_DETAIL_OP_FREEZE = 1, /// /// 费用金额 /// MONEY_DETAIL_OP_FEE = 2, /// /// 全款金额 /// MONEY_DETAIL_OP_PAY = 3 } /// // 挂牌通知类型 /// public enum eListingNtfType { /// /// 审核通过通知 /// LISTING_AUDITPASS_NTF = 1, /// /// 改价通知 /// LISTING_CHANGEPRICE_NTF = 2, /// /// 剩余数量通知 /// LISTING_REMAINQTY_NTF = 3, /// /// 成交通知 /// LISTING_BARGAIN_NTF = 4 } /// // 账户属性类别 /// public enum eAccountPropType { /// /// 费用类别 /// ACCOUNTPROPTYPE_TRADEFEE = 1, /// /// 交易规则类别 /// ACCOUNTPROPTYPE_TRADERULE = 2 } /// // 通知控制信号类型 /// public enum eNTFSignalType { /// /// 开市 /// NTFSIGNALTYPE_OPEN = 1, /// /// 休市 /// NTFSIGNALTYPE_CLOSE = 2, /// /// 市场阶段开始 /// NTFSIGNALTYPE_MARKETPHASESTART = 3, /// /// 市场阶段结束 /// NTFSIGNALTYPE_MARKETPHASEEND = 4, /// /// 市场结算 /// NTFSIGNALTYPE_MARKETRECKON = 5, /// /// 系统结算 /// NTFSIGNALTYPE_SYSTEMRECKON = 6, /// /// 挂牌点价结算 /// NTFSIGNALTYPE_LISTRECKON = 7, /// /// 交割结算 /// NTFSIGNALTYPE_DELIVERYRECKON = 8, /// /// 清盘 /// NTFSIGNALTYPE_CLEAR = 9, /// /// 预结算 /// NTFSIGNALTYPE_PRERECKON = 20 } /// // 买卖方向 /// public enum eBuyOrSell { /// /// 买 /// BUY = 0, /// /// 卖 /// SELL = 1 } /// // 托管计划状态 /// public enum eDepositStatus { /// /// 待激活 /// DEPOSITSTATUS_INACTIVE = 0, /// /// 正常 /// DEPOSITSTATUS_NORMAL = 1, /// /// 删除 /// DEPOSITSTATUS_DELETE = 2 } /// // 交割关系模式 /// public enum eRelationMode { /// /// N模式 /// N_MODE = 0, /// /// P模式 /// P_MODE = 1, /// /// P+X模式 /// NP_MODE = 2 } /// // 交割先平后建成交类型 /// public enum eDeliveryDealType { /// /// 全建仓成交 /// DELIVERYDEALTYPE_OPEN = 0, /// /// 部分建仓部分平仓成交 /// DELIVERYDEALTYPE_CLOSEOPEN = 1, /// /// 全平仓成交 /// DELIVERYDEALTYPE_CLOSE = 2 } /// // 到期持仓处理方式 /// public enum eTimeOutHolderDealMethod { /// /// 到期卖出 /// TIMEOUT_SELL = 1, /// /// 到期无效 /// TIMEOUT_INVALID = 2 } /// // 资金成交状态 /// public enum eMoneyTradeStatus { /// /// 等待处理 /// MONEYTRADESTATUS_WAITING = 0, /// /// 失败 /// MONEYTRADESTATUS_FAILED = 1, /// /// 成功 /// MONEYTRADESTATUS_SUCCEED = 2 } /// // 运营中心角色 /// public enum eOperationRole { /// /// 普通运营中心 /// OPERATIONROLE_NORMAL = 1, /// /// 特别运营中心 /// OPERATIONROLE_SPECIAL = 2 } /// // 通知风险级别 /// public enum eNotifyAction { /// /// 短信 /// NOTIFYACTION_MESSAGE = 1, /// /// 邮件 /// NOTIFYACTION_EMAIL = 2, /// /// 短信+邮件 /// NOTIFYACTION_MESSAGE_EMAIL = 3, /// /// 系统通知 /// NOTIFYACTION_SYSTEM = 4, /// /// 短信+系统通知 /// NOTIFYACTION_MESSAGE_SYSTEM = 5, /// /// 邮件+系统通知 /// NOTIFYACTION_EMAIL_SYSTEM = 6, /// /// 短信+邮件+系统通知 /// NOTIFYACTION_MESSAGE_EMAIL_SYSTEM = 7 } /// // 操作类型权限 /// public enum eOPERATEFUNC { /// /// 查看 /// OPERATEFUNC_VIEW = 1, /// /// 增加 /// OPERATEFUNC_ADD = 2, /// /// 修改 /// OPERATEFUNC_EDIT = 4, /// /// 删除 /// OPERATEFUNC_DELETE = 8, /// /// 激活 /// OPERATEFUNC_ACTIVE = 16 } /// // 是否主卡 /// public enum eMainCard { /// /// 否 /// MAINCARD_NOT = 0, /// /// 是 /// MAINCARD_YES = 1 } /// // 审核状态 /// public enum eAuditStatus { /// /// 待审核 /// AUDITSTATUS_CHECKING = 0, /// /// 已审核通过 /// AUDITSTATUS_SUCCESS = 1, /// /// 审核不通过 /// AUDITSTATUS_REJECT = 2, /// /// 已删除 /// AUDITSTATUS_DELETE = 3, /// /// 已撤销 /// AUDITSTATUS_CANCEL = 4 } /// // 发售配售模式 /// public enum eIssueSaleMode { /// /// 战略配售 /// ISSUESALEMODE_STRATEGY = 1, /// /// 定向配售 /// ISSUESALEMODE_PRIVATE = 2, /// /// 持仓+资金配售 /// ISSUESALEMODE_PRIORITY = 10, /// /// 交易额配售 /// ISSUESALEMODE_TURNOVER = 11, /// /// 申购量比例配售 /// ISSUESALEMODE_SUBSCRIPTIONS_PROPORTION = 20, /// /// 申购量摇号配售 /// ISSUESALEMODE_SUBSCRIPTIONS_LOTTERY = 21 } /// // 斩仓回退规则 /// public enum eLiquidatedRollbackRule { /// /// 斩仓不回退 /// LIQUIDATEDROLLBACKRULE_NOT_ROLLBACK = 1, /// /// 斩仓回退到比例 /// LIQUIDATEDROLLBACKRULE_ROLLBACK_RATION = 2, /// /// 斩仓回退到0 /// LIQUIDATEDROLLBACKRULE_ROLLBACK_ZERO = 3 } /// // 转仓规则 /// public enum eRollOverRule { /// /// 先建先平 /// ROLLOVERRULE_CREATE_FIRST = 0, /// /// 亏损优先 /// ROLLOVERRULE_LOSS_FIRST = 3 } /// // 转仓方式 /// public enum eRollOverType { /// /// 逐笔斩仓 /// ROLLOVERTYPE_STEP = 0, /// /// 市场全斩 /// ROLLOVERTYPE_MARKET_ALL = 2 } /// // 是否需要确认 /// public enum eNeedConfirm { /// /// 不需要 /// NEEDCONFIRM_NO = 0, /// /// 需要 /// NEEDCONFIRM_YES = 1 } /// // 收费类型 /// public enum eCostType { /// /// 比例 /// COSTTYPE_RATION = 0, /// /// 固定 /// COSTTYPE_FIXED = 1 } /// // 申报商品转持仓类型 /// public enum eRELATION_HOLDTYPE { /// /// 转给仓单卖出方 /// RELATION_HOLDTYPE_TOSM = 1, /// /// 转一级做市会员 /// RELATION_HOLDTYPE_TOMM = 2 } /// // 履约计划状态 /// public enum ePERFORM_PLAN_STATUS { /// /// 未到支付期 /// PERFORM_BEFORE_PLANTIME = 1, /// /// 支付到期待审核 /// PERFORM_IN_PLANTIME = 2, /// /// 支付逾期待审核 /// PERFORM_AFTER_PLANTIME = 3, /// /// 已完成 /// PERFORM_FINISH_PLANT = 4 } /// // 履约计划明细状态 /// public enum ePERFORM_PLANDETAIL_STATUS { /// /// 未支付 /// PERFORM_DETAIL_NOTPAY = 1, /// /// 已支付 /// PERFORM_DETAIL_PAY = 2 } /// // 系统结算方式 /// public enum eSystemReckeonMethods { /// /// 手动 /// MANUAL = 0, /// /// 自动 /// AUTOMATIC = 1 } /// // 平仓类型 /// public enum eCloseType { /// /// 普通平仓 /// CLOSETYPE_COMMON = 1, /// /// 协议平仓 /// CLOSETYPE_PROTOCOL = 2, /// /// 到期强平 /// CLOSETYPE_MATUREFOCUS = 3, /// /// 到期无效 /// CLOSETYPE_MATUREINVALID = 4, /// /// 交割平仓 /// CLOSETYPE_DELIVERY = 5 } /// // 交割配对类型 /// public enum eDeliveryMatchType { /// /// 指定配对 /// DELIVERY_MATCH_APPOINT = 0, /// /// 买方点选 /// DELIVERY_MATCH_BUYERCHOOSE = 1, /// /// 卖方点选 /// DELIVERY_MATCH_SELLERCHOOSE = 2, /// /// 撮合配对 /// DELIVERY_MATCH_AUTOMATCH = 3 } /// // 仓单处理状态 /// public enum eWareHouseProcessState { /// /// 新签发 /// WAREHOUSEPROCESSSTATE_NTW = 1, /// /// 已交易 /// WAREHOUSEPROCESSSTATE_TRADE = 2, /// /// 已换单 /// WAREHOUSEPROCESSSTATE_CHANGE = 3, /// /// 已转让 /// WAREHOUSEPROCESSSTATE_TRANSFER = 4, /// /// 已质押 /// WAREHOUSEPROCESSSTATE_PLEDGE = 5, /// /// 已解押 /// WAREHOUSEPROCESSSTATE_SIGN = 6, /// /// 已兑付 /// WAREHOUSEPROCESSSTATE_CASH = 7 } /// // 仓单状态 /// public enum eWareHouseState { /// /// 待激活 /// WAREHOUSESTATE_LATESTPRICE = 1, /// /// 正常 /// WAREHOUSESTATE_NORMAL = 2, /// /// 已注销 /// WAREHOUSESTATE_CANCEL = 3, /// /// 冻结 /// WAREHOUSESTATE_FREEZE = 4 } /// // 运营中心类型 /// public enum eOperationRoles { /// /// 普通运营中心 /// OPERATIONROLES_ORDINARY = 1, /// /// 特别运营中心 /// OPERATIONROLES_SPECIAL = 2, /// /// 分利运营中心 /// OPERATIONROLES_DIVIDFEE = 3 } /// // 交割提货方式 /// public enum eDeliveryTakeType { /// /// 自提 /// DELIVERY_TAKETYPE_SELFTAKE = 1, /// /// 物流配送 /// DELIVERY_TAKETYPE_POSTTAKE = 2 } #endregion #region MTP2.0 /// // 交易模式 /// public enum eTradeMode { // /// // /// 资金汇总 // /// // [ItemDisc("MarketType_AmountSum")] // AmountSum=-1, QuotePAndX = 500, // /// // [ItemDisc("MarketType_Bid_Pay")] // Bid_Pay = 100, /// /// 托管计划 /// Deposit = 501, /// /// 所有商品 /// AllGoods = 502, /// /// 我的自选 /// MySelected = 503, /// /// 资金汇总 /// [ItemDisc("MarketType_AmountSum")] AmountSum = 504, /// /// 发售 /// [ItemDisc("MarketType_Sale")] TRADEMODE_SALE = 2, /// /// 竞价即期=混合 /// [ItemDisc("MarketType_MARKETTYPE_BIDINGMARKETMAKE")] TRADEMODE_BIDDINGMARKETMAKE = 3, /// /// 挂牌 /// [ItemDisc("MarketType_Listing")] TRADEMODE_HANGTAG = 6, /// /// 拍卖 /// [ItemDisc("MarketType_Auction")] TRADEMODE_AUCTION = 7, /// /// 商城 /// TRADEMODE_MALL = 8, /// /// 全款转让[NEW MTP2.0] /// Full_Transfer = 9, /// /// 做市 /// TRADEMODE_MARKETMAKE = 10, /// /// 竞价 /// TRADEMODE_BIDDING = 13, /// /// 通道交易 /// TRADEMODE_ENTRUST_HEDGE = 15, /// /// 挂牌点选 /// TRADEMODE_LISTING_SELECT = 16, /// /// 仓单贸易 /// TRADEMODE_SPOT_WRTRADE = 17, /// /// 供应链金融 /// TRADEMODE_SPOT_SCF = 18 } /// // 交易属性 /// public enum eTradeProperty { /// /// 收益权(可做空) /// TRADEPROPERTY_CANSHORT = 1, /// /// 所有权(不可做空) /// TRADEPROPERTY_NOSHORT = 2 } /// // 持仓类型 /// public enum eHolderType { /// /// 单边 /// HOLDERTYPE_UNILATERAL = 1, /// /// 双边 /// HOLDERTYPE_BILATERAL = 2 } /// // 单据方向 /// public enum eOrderDirection { /// /// 订单买方向 /// ORDERDIRECTION_BUY = 0, /// /// 订单卖方向 /// ORDERDIRECTION_SELL = 1 } /// // 订单类型 /// public enum eOrderType { /// /// 市价建仓 /// ORDERTYPE_OPEN_MARKET = 1, /// /// 限价建仓 /// ORDERTYPE_OPEN_LIMIT = 2, /// /// 市价平仓 /// ORDERTYPE_CLOSE_MARKET = 3, /// /// 限价平仓 /// ORDERTYPE_CLOSE_LIMIT = 4, /// /// 先平后建 /// ORDERTYPE_CLOSETHENOPEN = 5, /// /// 止盈止损 /// ORDERTYPE_SPSL = 6 } /// // 触发条件 /// public enum eTriggerOperator { /// /// 大于等于 /// TRIGGEROPERATOR_GREATEROREQUAL = 1, /// /// 小于等于 /// TRIGGEROPERATOR_LESSOREQUAL = 2 } /// // 价格类型 /// public enum ePriceMode { /// /// 市价 /// PRICEMODE_MARKET = 1, /// /// 限价 /// PRICEMODE_LIMIT = 2 } /// // 有效类型 /// public enum eValidType { /// /// 当日有效 /// VALIDTYPE_DR = 1, /// /// 本周有效 /// VALIDTYPE_BZ = 2, /// /// 指定日期有效 /// VALIDTYPE_ZDRQ = 3, /// /// 一直有效 /// VALIDTYPE_YZ = 4, /// /// 指定时间有效 /// VALIDTYPE_GTT = 5 } /// // 成交量类型 /// public enum eVolumeType { /// /// 任意量 /// VOLUMETYPE_ANY = 1, /// /// 最小量(暂时不支持) /// VOLUMETYPE_MIN = 2, /// /// 全部量 /// VOLUMETYPE_ALL = 3 } /// // 预埋单状态 /// public enum ePreOrderStatus { /// /// 待激活 /// PREORDERSTATUS_INACTIVE = 1, /// /// 已激活 /// PREORDERSTATUS_ACTIVE = 2, /// /// 已撤销 /// PREORDERSTATUS_CANCELLED = 3 } /// // 客户端类型 /// public enum eClientType { /// /// 保留为未填终端类型 /// CLIENTTYPE_NONE = 0, /// /// PC管理端 /// CLIENTTYPE_PC_MANAGER_CLIENT = 1, /// /// PC交易端 /// CLIENTTYPE_PC_TRADE_CLIENT = 2, /// /// 手机客户端_安卓 /// CLIENTTYPE_MOBILE_CLIENT_ANDROID = 3, /// /// 网页客户端 /// CLIENTTYPE_WEBPAGE_CLIENT = 4, /// /// 微信客户端 /// CLIENTTYPE_WECHAT_CLIENT = 5, /// /// 手机客户端_苹果 /// CLIENTTYPE_MOBILE_CLIENT_IOS = 6, /// /// 网上开户客户端 /// CLIENTTYPE_USERACCOUNT_ONLINE = 7, /// /// 无效终端编号 /// CLIENTTYPE_INVALID = 8 } /// // 消息状态 /// public enum eMessageStatus { /// /// 待发送 /// MESSAGESTATUS_PENDING = 1, /// /// 发送完成 /// MESSAGESTATUS_FINISHED = 2 } /// // 成交类型 /// public enum eTradeType { /// /// 正常委托成交 /// [ItemDisc("TRADETYPE_NORMAL_ORDER_DEAL")] TRADETYPE_NORMAL_ORDER_DEAL = 1, /// /// 定向做市成交(接单) /// [ItemDisc("TRADETYPE_DIRECTED_MM_DEAL")] TRADETYPE_DIRECTED_MM_DEAL = 2, /// /// 交割协议平仓成交 /// [ItemDisc("TRADETYPE_DELIVERY_AGREECLOSE_DEAL")] TRADETYPE_DELIVERY_AGREECLOSE_DEAL = 3, /// /// 交割减仓成交 /// [ItemDisc("TRADETYPE_DELIVERY_AGREEREDUCE_DEAL")] TRADETYPE_DELIVERY_AGREEREDUCE_DEAL = 4, /// /// 到期强平成交 /// [ItemDisc("TRADETYPE_EXPIRE_FORCE")] TRADETYPE_EXPIRE_FORCE = 5, /// /// 风控斩仓成交 /// [ItemDisc("TRADETYPE_RISK_FORCE")] TRADETYPE_RISK_FORCE = 6, /// /// 协议平仓(管理端)成交 /// [ItemDisc("TRADETYPE_AGREECLOSE_MANAGE_DEAL")] TRADETYPE_AGREECLOSE_MANAGE_DEAL = 7, /// /// 仓单转持仓成交 /// [ItemDisc("TRADETYPE_WAREHOUSETOPOSITION")] TRADETYPE_WAREHOUSETOPOSITION = 8 } /// // 成交明细状态 /// public enum eTradeDetailStatus { /// /// 待处理 /// TRADEDETAIL_STATUS_WAIT = 1, /// /// 已处理 /// TRADEDETAIL_STATUS_SECCESS = 2, /// /// 处理失败 /// TRADEDETAIL_STATUS_FAILED = 3, /// /// 履约完成 /// TRADEDETAIL_STATUS_PERFORMANCEFINISHED = 4 } /// // 下单类型 /// public enum eBuildType { /// /// 建仓 /// [ItemDisc("BUILDTYPE_OPEN")] BUILDTYPE_OPEN = 1, /// /// 平仓 /// [ItemDisc("BUILDTYPE_CLOSE")] BUILDTYPE_CLOSE = 2, /// /// 先平后建 /// [ItemDisc("BUILDTYPE_CLOSETHENOPEN")] BUILDTYPE_CLOSETHENOPEN = 3 } /// // 升贴水类型 /// public enum ePriceMoveType { /// /// 品牌 /// PRICEMOVETYPE_BRAND = 1, /// /// 品质 /// PRICEMOVETYPE_QUALITY = 2, /// /// 规格 /// PRICEMOVETYPE_SPECIFICATION = 3, /// /// 仓库 /// PRICEMOVETYPE_WAREHOUSE = 4, /// /// 月份 /// PRICEMOVETYPE_MONTH = 5 } /// // 行情取价方式 /// public enum eFromField { /// /// 最新价 /// FROMFIELD_LAST = 1, /// /// 买价 /// FROMFIELD_BUY = 2, /// /// 卖价 /// FROMFIELD_SELL = 3 } /// // 费用算法 /// public enum eFeeAlgorithm { /// /// 比率 /// FEEALGORITHM_RATIO = 1, /// /// 固定 /// FEEALGORITHM_FIXED = 2 } /// // 商品状态 /// public enum eGoodsStatus { /// /// 待审核 /// GOODSSTATUS_INACTIVE = 1, /// /// 未上市 /// GOODSSTATUS_UNLISTED = 2, /// /// 上市 /// GOODSSTATUS_LISTED = 3, /// /// 已注销 /// GOODSSTATUS_CLOSED = 4, /// /// 审核拒绝 /// GOODSSTATUS_REJECTED = 5, /// /// 退市 /// GOODSSTATUS_DELISTED = 6, /// /// 待退市 /// GOODSSTATUS_PRE_DELISTED = 7 } /// // 交割标志 /// public enum eDeliveryFlag { /// /// 不可交割 /// DELIVERYFLAG_NO = 0, /// /// 可交割 /// DELIVERYFLAG_YES = 1 } /// // 变更状态 /// public enum eModifyStatus { /// /// 未变更 /// MODIFYSTATUS_UNCHANGED = 1, /// /// 变更中 /// MODIFYSTATUS_CHANGING = 2, /// /// 变更待审核 /// MODIFYSTATUS_PENDINGAUDIT = 3, /// /// 变更待复审(投资者) /// MODIFYSTATUS_PENDINGREAUDIT = 4 } /// // 开盘方式 /// public enum eOpenMethod { /// /// 自动 /// OPENMETHOD_AUTO = 0, /// /// 手动 /// OPENMETHOD_MANUAL = 1 } /// // 结算价算法 /// public enum eReckonPriceAlgorithm { /// /// 最后多少笔成交价加权平均 /// RECKONPRICEALGORITHM_LASTLOTAVG = 1, /// /// 最后多少秒成交价加权平均 /// RECKONPRICEALGORITHM_LASTSECONDAVG = 2, /// /// 全天加权平均 /// RECKONPRICEALGORITHM_ALLDAY = 3 } /// // 有效状态 /// public enum eValidStatus { /// /// 待生效 /// VALIDSTATUS_INACTIVE = 1, /// /// 正常 /// VALIDSTATUS_NORMAL = 2, /// /// 注销 /// VALIDSTATUS_CANCELLED = 3 } /// // 结算状态 /// public enum eReckonStatus { /// /// 自动结算 /// RECKONSTATUS_AUTO = 1, /// /// 手工结算 /// RECKONSTATUS_MANUAL = 2 } /// // 周几 /// public enum eDayOfWeek { /// /// 星期天 /// DAYOFWEEK_SUNDAY = 0, /// /// 星期一 /// DAYOFWEEK_MONDAY = 1, /// /// 星期二 /// DAYOFWEEK_TUESDAY = 2, /// /// 星期三 /// DAYOFWEEK_WEDNESDAY = 3, /// /// 星期四 /// DAYOFWEEK_THURSDAY = 4, /// /// 星期五 /// DAYOFWEEK_FRIDAY = 5, /// /// 星期六 /// DAYOFWEEK_SATURDAY = 6 } /// // 运行阶段 /// public enum eRunStep { /// /// 集合竞价 /// RUNSTEP_BIDDINGPRICE = 1, /// /// 连续竞价(交割) /// RUNSTEP_BIDDINGCONTINUOUS = 2 } /// // 市场状态信号 /// public enum eRunStatus { /// /// 待开市 /// RUNSTATUS_PENDING = 1, /// /// 开市 /// RUNSTATUS_OPEN = 2, /// /// 休市 /// RUNSTATUS_PAUSE = 3, /// /// 手工休市 /// RUNSTATUS_PAUSE_MANUAL = 4, /// /// 闭市 /// RUNSTATUS_CLOSE = 5, /// /// 日终处理开始 /// RUNSTATUS_DAYEND_PROCESSING = 10, /// /// 日终处理成功 /// RUNSTATUS_DAYEND_SUCCESS = 11, /// /// 日终处理失败 /// RUNSTATUS_DAYEND_FAILED = 12, /// /// 基础服务结算开始 /// RUNSTATUS_BASIC_RECKONBEGIN = 13, /// /// 基础服务结算成功 /// RUNSTATUS_BASIC_RECKONSUCCESS = 14, /// /// 资金结算开始 /// RUNSTATUS_RECKON_BEGIN = 23, /// /// 资金结算结束 /// RUNSTATUS_RECKON_FINISHED = 24, /// /// 资金结算失败 /// RUNSTATUS_RECKON_FAILED = 25, /// /// 系统结算成功 /// RUNSTATUS_SYS_RECKON_SUCCESS = 26, /// /// 系统结算失败 /// RUNSTATUS_SYS_RECKON_FAILED = 27, /// /// 签到开始 /// RUNSTATUS_BANKSIGNIN_BEGIN = 40, /// /// 签到成功 /// RUNSTATUS_BANKSIGNIN_SUCCESS = 41, /// /// 签到部份成功 /// RUNSTATUS_BANKSIGNIN_PARTSUCCESS = 42, /// /// 签到失败 /// RUNSTATUS_BANKSIGNIN_FAILED = 43, /// /// 签退开始 /// RUNSTATUS_BANKSIGNOUT_BEGIN = 44, /// /// 签退成功 /// RUNSTATUS_BANKSIGNOUT_SUCCESS = 45, /// /// 签退部份成功 /// RUNSTATUS_BANKSIGNOUT_PARTSUCCESS = 46, /// /// 签退失败 /// RUNSTATUS_BANKSIGNOUT_FAILED = 47, /// /// 对账开始 /// RUNSTATUS_BANKCHECK_BEGIN = 48, /// /// 对账成功 /// RUNSTATUS_BANKCHECK_SUCCESS = 49, /// /// 对账失败 /// RUNSTATUS_BANKCHECK_FAILED = 50, /// /// 清算开始 /// RUNSTATUS_BANKCLEAR_BEGIN = 51, /// /// 清算成功 /// RUNSTATUS_BANKCLEAR_SUCCESS = 52, /// /// 清算失败 /// RUNSTATUS_BANKCLEAR_FAILED = 53, /// /// 清算部分成功 /// RUNSTATUS_BANKCLEAR_PARTIALSUCCESS = 54, /// /// 结束手工休市信号 /// RUNSTATUS_END_PAUSE_MANUAL_SIGNAL = 100, /// /// 休市结束信号 /// RUNSTATUS_END_PAUSE_SIGNAL = 101 } /// // 结算标识 /// public enum eReckonFlag { /// /// 停止结算 /// RECKONFLAG_STOP = 0, /// /// 正常 /// RECKONFLAG_NORMAL = 1 } /// // 是否结算 /// public enum eIsReckoned { /// /// 未结算 /// ISRECKONED_NO = 0, /// /// 已结算 /// ISRECKONED_DONE = 1 } /// // 配对状态 /// public enum eMatchStatus { /// /// 配对成功 /// MATCHSTATUS_MATCHED = 1, /// /// 已成交 /// MATCHSTATUS_DEAL = 2 } /// // 接单标识 /// public enum eReceiveFlag { /// /// 无 /// RECEIVEFLAG_NONE = 0, /// /// 买方 /// RECEIVEFLAG_BUYER = 1, /// /// 卖方 /// RECEIVEFLAG_SELLER = 2 } /// // 配对类型 /// public enum eMatchType { /// /// 正常委托 /// MATCHTYPE_NORMAL = 1, /// /// 风控斩仓 /// MATCHTYPE_RISK = 2 } /// // 操作类型 /// public enum eOperateType { /// /// 委托撤单 /// OPERATETYPE_ORDERCANCEL = 1 } /// // 处理状态 /// public enum eHandleStatus { /// /// 待处理 /// HANDLESTATUS_PENDING = 1, /// /// 处理成功 /// HANDLESTATUS_SUCCESS = 2, /// /// 处理失败 /// HANDLESTATUS_FAILED = 3, /// /// 已拒绝 /// HANDLESTATUS_REJECTED = 4 } /// // 委托来源 /// public enum eOrderSrc { /// /// 客户端 /// ORDERSRC_CLIENT = 1, /// /// 管理端 /// ORDERSRC_MANAGE = 2, /// /// 风控服务 /// ORDERSRC_RISK = 3, /// /// 交割服务 /// ORDERSRC_DELIVERY = 4, /// /// 交易服务 /// ORDERSRC_TRADE = 5, /// /// 交易日结 /// ORDERSRC_DAYEND = 6 } /// // 订单操作类型 /// public enum eOrderOperateType { /// /// 正常下单 /// [ItemDisc("OrderOperateType_NORMAL")] ORDEROPERATETYPE_NORMAL = 1, /// /// 斩仓 /// [ItemDisc("ORDEROPERATETYPE_RISK")] ORDEROPERATETYPE_RISK = 2, /// /// 转单 /// [ItemDisc("ORDEROPERATETYPE_TRANSFER")] ORDEROPERATETYPE_TRANSFER = 3, /// /// 结算撤单 /// [ItemDisc("ORDEROPERATETYPE_RECKON_CANCEL")] ORDEROPERATETYPE_RECKON_CANCEL = 4, /// /// 系统卖出(适用于先平后建的卖出) /// [ItemDisc("ORDEROPERATETYPE_SYS_CLOSE")] ORDEROPERATETYPE_SYS_CLOSE = 5, /// /// 行情源报价 /// [ItemDisc("ORDEROPERATETYPE_QUOTEPRICE")] ORDEROPERATETYPE_QUOTEPRICE = 6, /// /// (结算)到期强平 /// ORDEROPERATETYPE_ONTIME_CLOSE = 7, /// /// (结算)协议转让 /// ORDEROPERATETYPE_DEAL_CLOSE = 8, /// /// 系统对冲单 /// ORDEROPERATETYPE_SYS_HEDGE = 9, /// /// (结算)到期无效 /// ORDEROPERATETYPE_RECKON_INVALID = 10 } /// // 订单状态 /// public enum eOrderStatus { /// /// 委托请求 /// [ItemDisc("OrderStatus_Request")] ORDERSTATUS_REQUEST = 1, /// /// 待冻结 /// [ItemDisc("OrderStatus_WaitFreeze")] ORDERSTATUS_WAITFREEZE = 2, /// /// 委托成功 /// [ItemDisc("OrderStatus_Succeed")] ORDERSTATUS_SUCCEED = 3, /// /// 委托失败 /// [ItemDisc("OrderStatus_Failed")] ORDERSTATUS_FAILED = 4, /// /// 配对成功 /// [ItemDisc("OrderStatus_Matched")] ORDERSTATUS_MATCHED = 5, /// /// 已撤 /// [ItemDisc("OrderStatus_Canceled")] ORDERSTATUS_CANCELED = 6, /// /// 部成 /// [ItemDisc("OrderStatus_PartialDeal")] ORDERSTATUS_PARTIALDEAL = 7, /// /// 已成 /// [ItemDisc("OrderStatus_Dealed")] ORDERSTATUS_DEALED = 8, /// /// 部成部撤 /// [ItemDisc("OrderStatus_PartialCanceled")] ORDERSTATUS_PARTIALCANCELED = 9, /// /// 成交失败 /// [ItemDisc("OrderStatus_DealFailed")] ORDERSTATUS_DEALFAILED = 10, /// /// 委托拒绝 /// [ItemDisc("OrderStatus_Denied")] ORDERSTATUS_DENIED = 11, /// /// 经过摘牌(先摘后挂专用) /// [ItemDisc("OrderStatus_Match")] ORDERSTATUS_MATCH = 12 } /// // 手续费收取规则 /// public enum eChargeRule { /// /// 建仓平仓双收 /// CHARGERULE_BOTH = 1, /// /// 建仓不收、平仓收 /// CHARGERULE_CLOSEONLY = 2, /// /// 建仓收、平仓不收 /// CHARGERULE_OPENONLY = 3, /// /// 建仓不收,盈利收,亏损不收 /// CHARGERULE_PROFITONLY = 4 } /// // 交易规则 /// public enum eTradeRule { /// /// 最大买持仓量 /// TRADERULE_MAXBUYHOLDERQTY = 101, /// /// 最大卖持仓量 /// TRADERULE_MAXSELLHOLDERQTY = 102, /// /// 单笔最小建仓量 /// TRADERULE_SINGLEMINOPENQTY = 103, /// /// 单笔最大建仓量 /// TRADERULE_SINGLEMAXOPENQTY = 104, /// /// 手续费收费规则 /// TRADERULE_TRADECHARGERULE = 105, /// /// 交易T+N /// TRADERULE_MINHOLDERDAYS = 106, /// /// 上市首日涨停 /// TRADERULE_FIRSTDAYLIMITUP = 107, /// /// 上市首日跌停 /// TRADERULE_FIRSTDAYLIMITDOWN = 108, /// /// 上市首日参考价 /// TRADERULE_FIRSTDAYPRICE = 109, /// /// 涨停 /// TRADERULE_LIMITUP = 110, /// /// 跌停 /// TRADERULE_LIMITDOWN = 111, /// /// 市价最大偏移范围 /// TRADERULE_MAXOFFSETRANGE = 112, /// /// 止损点差 /// TRADERULE_SLPT = 113, /// /// 止盈点差 /// TRADERULE_SPPT = 114, /// /// 单笔最小交割数量 /// TRADERULE_SINGLEMINDELIVERYQTY = 115, /// /// 单笔最大交割数量 /// TRADERULE_SINGLEMAXDELIVERYQTY = 116 } /// // 是否必填 /// public enum eIsMandatory { /// /// 不必填 /// ISMANDATORY_NO = 0, /// /// 必填 /// ISMANDATORY_YES = 1 } /// // 是否可个性化 /// public enum eIsPersonalized { /// /// 不可个性化 /// ISPERSONALIZED_NO = 0, /// /// 可个性化 /// ISPERSONALIZED_YES = 1 } /// // 交易费用 /// public enum eTradeFee { /// /// 建仓(买)手续费 /// TRADEFEE_OPENCHARGE = 101, /// /// 平仓(卖)手续费 /// TRADEFEE_CLOSECHARGE = 102, /// /// 买递延费(仓储费) /// TRADEFEE_BUYINTEREST = 103, /// /// 卖递延费 /// TRADEFEE_SELLINTEREST = 104, /// /// 买交割手续费 /// TRADEFEE_BUYDELIVERYCHARGE = 105 } /// // 商品组状态 /// public enum eGoodsGroupStatus { /// /// 正常 /// GOODSGROUPSTATUS_NORMAL = 1, /// /// 注销 /// GOODSGROUPSTATUS_CANCELLED = 2 } /// // 报价商标识 /// public enum eHASQUOTER { /// /// 无报价商 /// HASQUOTER_NO = 0, /// /// 有报价商 /// HASQUOTER_YES = 1 } /// // 报价商状态 /// public enum eQuoterStatus { /// /// 正常 /// QUOTERSTATUS_NORMAL = 1, /// /// 注销 /// QUOTERSTATUS_CANCELLED = 2 } /// // 行情源类型 /// public enum eQuoteType { /// /// 手工报价 /// QUOTETYPE_MANUAL = 1, /// /// 外部行情源 /// QUOTETYPE_OUTER = 2 } /// // 穿仓类型 /// public enum eArrType { /// /// 强平资金不足欠款 /// ARRTYPE_CLOSESHORT = 1, /// /// 交割手续费不足欠款 /// ARRTYPE_DELIVERYCHARGESHORT = 2, /// /// 入金还款 /// ARRTYPE_INAMOUNTPAYMENT = 3, /// /// 现金买卖还款 /// ARRTYPE_CASHPAYMENT = 4 } /// // 用户信息类型 /// public enum eUserInfoType { /// /// 个人 /// USERINFOTYPE_PERSON = 1, /// /// 企业 /// USERINFOTYPE_COMPANY = 2 } /// // 用户状态 /// public enum eUserStatus { /// /// 正常 /// USERSTATUS_NORMAL = 1, /// /// 注销 /// USERSTATUS_CANCELLED = 2 } /// // 用户类型 /// public enum eUserType { /// /// 交易所 /// USERTYPE_EXCHANGE = 1, /// /// 机构 /// USERTYPE_AREA = 2, /// /// 会员子机构 /// USERTYPE_SUBAREA = 3, /// /// 经纪人 /// USERTYPE_BROKER = 4, /// /// 投资者 /// USERTYPE_INVESTOR = 5 } /// // 开户方式 /// public enum eOpenMode { /// /// 管理端开户 /// OPENMODE_MANAGE = 1, /// /// 网上开户注册 /// OPENMODE_WEBSITE = 2, /// /// 微信开户 /// OPENMODE_WECHAT = 3, /// /// 网页交易端注册 /// OPENMODE_TRADEWETSITE = 4, /// /// 安卓手机端注册 /// OPENMODE_ANDROID = 5, /// /// 苹果手机端注册 /// OPENMODE_IOS = 6, /// /// PC交易端注册 /// OPENMODE_TRADEPC = 7 } /// // 企业性质 /// public enum eBizNature { /// /// 国有控股企业 /// BIZNATURE_NATIONAL = 1, /// /// 集体控股企业 /// BIZNATURE_COLLECTIVE = 2, /// /// 私人控股企业 /// BIZNATURE_PERSONAL = 3, /// /// 港澳台商控股企业 /// BIZNATURE_HMT = 4, /// /// 外商控股企业 /// BIZNATURE_FOREIGN = 5, /// /// 其它 /// BIZNATURE_OTHER = 6 } /// // 性别 /// public enum eSex { /// /// 女 /// SEX_FEMALE = 0, /// /// 男 /// SEX_MALE = 1 } /// // 账户状态 /// public enum eAccountStatus { /// /// 待激活 /// [ItemDisc("AccountStatus_InActive")] ACCOUNTSTATUS_INACTIVE = 1, /// /// 待审核 /// [ItemDisc("AccountStatus_PendingAudit")] ACCOUNTSTATUS_PENDINGAUDIT = 2, /// /// 待复审 /// [ItemDisc("AccountStatus_PendingReAudit")] ACCOUNTSTATUS_PENDINGREAUDIT = 3, /// /// 正常 /// [ItemDisc("AccountStatus_Normal")] ACCOUNTSTATUS_NORMAL = 4, /// /// 审核拒绝 /// [ItemDisc("AccountStatus_Reject")] ACCOUNTSTATUS_REJECT = 5, /// /// 已注销 /// [ItemDisc("AccountStatus_Cancelled")] ACCOUNTSTATUS_CANCELLED = 6 } /// // 登录账号类型 /// public enum eLoginUserType { /// /// 投资者 /// LOGINUSERTYPE_INVESTOR = 1, /// /// 机构交易员 /// LOGINUSERTYPE_TRADER = 2 } /// // 登陆类型 /// public enum eLoginType { /// /// 账号登陆 /// LOGINTYPE_ACCOUNT = 0, /// /// 手机号登陆 /// LOGINTYPE_MOBILEPHONE = 1, /// /// 微信号登陆 /// LOGINTYPE_WECHAT = 2 } /// // 登录账号状态 /// public enum eLoginStatus { /// /// 正常 /// LOGINSTATUS_NORMAL = 1, /// /// 冻结 /// LOGINSTATUS_FROZEN = 2, /// /// 无效 /// LOGINSTATUS_INVALID = 3 } /// // 交易状态 /// public enum eTradeStatus { /// /// 正常 /// TRADESTATUS_NORMAL = 1, /// /// 受限 /// TRADESTATUS_LIMITED = 2, /// /// 冻结 /// TRADESTATUS_FROZEN = 3, /// /// 人工受限(禁止建仓) /// TRADESTATUS_LIMITEDMANUAL = 4, /// /// 人工冻结(禁止交易) /// TRADESTATUS_FROZENMANUAL = 5 } /// // 签约状态 /// public enum eSignStatus { /// /// 未签约 /// SIGNSTATUS_UNSIGN = 1, /// /// 签约待审核 /// SIGNSTATUS_SIGNFORAUDIT = 2, /// /// 签约中 /// SIGNSTATUS_SIGNING = 3, /// /// 已签约 /// SIGNSTATUS_SIGNED = 4, /// /// 解约待审核 /// SIGNSTATUS_CANCELFORAUDIT = 5, /// /// 解约中 /// SIGNSTATUS_CANCELLING = 6, /// /// 已解约 /// SIGNSTATUS_CANCELLED = 7, /// /// 已解绑 /// SIGNSTATUS_BINDED = 8, /// /// 绑卡中 /// SIGNSTATUS_BINDING = 9, /// /// 审核拒绝 /// SIGNSTATUS_REJECT = 10 } /// // 母账户标识 /// public enum eIsMain { /// /// 不是母账户 /// ISMAIN_NO = 0, /// /// 是母账户 /// ISMAIN_YES = 1 } /// // 资金账号类型 /// public enum eTAAccountType { /// /// 外部账号 /// TAACCOUNTTYPE_OUTER = 1, /// /// 内部账号 /// TAACCOUNTTYPE_INNER = 2 } /// // 资金调整类型 /// public enum eAmountAdjustType { /// /// 系统 /// AMOUNTADJUSTTYPE_SYSTEM = 0, /// /// 单边账调整 /// AMOUNTADJUSTTYPE_UNILATERAL = 1, /// /// 人工调整 /// AMOUNTADJUSTTYPE_MANUAL = 2 } /// // 账户业务编号 /// public enum eAccountBusinessCode { /// /// 管理端资金头寸调整 /// ACCOUNTBIZCODE_MANAGE_ADJUST = 101, /// /// 管理端分润划转 /// ACCOUNTBIZCODE_MANAGE_SHARE_PROFIT = 102, /// /// 管理端划转 /// ACCOUNTBIZCODE_MANAGE_TRANSFER = 103, /// /// 银行入金 /// ACCOUNTBIZCODE_BANK_DEPOSIT = 201, /// /// 银行出金冻结 /// ACCOUNTBIZCODE_BANK_WITHDRAW_FREEZE = 202, /// /// 银行出金解冻 /// ACCOUNTBIZCODE_BANK_WITHDRAW_UNFREEZE = 203, /// /// 银行出金 /// ACCOUNTBIZCODE_BANK_WITHDRAW = 204, /// /// 银行单边帐调整 /// ACCOUNTBIZCODE_BANK_ADJUST = 205, /// /// 交易建仓委托 /// ACCOUNTBIZCODE_TRADE_OPEN_ORDER = 301, /// /// 交易建仓撤单 /// ACCOUNTBIZCODE_TRADE_OPEN_CANCEL = 302, /// /// 交易建仓成交 /// ACCOUNTBIZCODE_TRADE_OPEN_DEAL = 303, /// /// 交易平仓委托 /// ACCOUNTBIZCODE_TRADE_CLOSE_ORDER = 304, /// /// 交易平仓撤单 /// ACCOUNTBIZCODE_TRADE_CLOSE_CANCEL = 305, /// /// 交易平仓成交 /// ACCOUNTBIZCODE_TRADE_CLOSE_DEAL = 306, /// /// 交易先平后建委托 /// ACCOUNTBIZCODE_TRADE_CLOSE_OPEN_ORDER = 307, /// /// 交易先平后建撤单 /// ACCOUNTBIZCODE_TRADE_CLOSE_OPEN_CANCEL = 308, /// /// 交易先平后建成交 /// ACCOUNTBIZCODE_TRADE_CLOSE_OPEN_DEAL = 309, /// /// 交易持仓作废 /// ACCOUNTBIZCODE_TRADE_INVALID = 310, /// /// 交易到期解冻 /// ACCOUNTBIZCODE_TRADE_EXPIRED_UNFREEZE = 311, /// /// 交易仓单转头寸 /// ACCOUNTBIZCODE_TRADE_WRTOPOSITION = 312, /// /// 交易头寸转仓单 /// ACCOUNTBIZCODE_TRADE_POSITIONTOWR = 313, /// /// 交易报价头寸冻结 /// ACCOUNTBIZCODE_TRADEQUOTE_POSITION_FREEZE = 314, /// /// 交割平仓委托 /// ACCOUNTBIZCODE_DELIVERY_CLOSE_ORDER = 401, /// /// 交割平仓撤单 /// ACCOUNTBIZCODE_DELIVERY_CLOSE_CANCEL = 402, /// /// 交割平仓成交 /// ACCOUNTBIZCODE_DELIVERY_CLOSE_DEAL = 403, /// /// 交割成交 /// ACCOUNTBIZCODE_DELIVERY_DEAL = 404, /// /// 交割仓单订单查询 /// ACCOUNTBIZCODE_DELIVERY_WAREHORSE_QUERY = 405, /// /// 交割主商品头寸冻结 /// ACCOUNTBIZCODE_DELIVERY_XPOSITION_FREEZE = 406, /// /// 交割主商品头寸解冻 /// ACCOUNTBIZCODE_DELIVERY_XPOSITION_UNFREEZE = 407, /// /// 交割辅商品头寸冻结 /// ACCOUNTBIZCODE_DELIVERY_PPOSITION_FREEZE = 408, /// /// 交割辅商品头寸解冻 /// ACCOUNTBIZCODE_DELIVERY_PPOSITION_UNFREEZE = 409, /// /// 履约卖方发货 /// ACCOUNTBIZCODE_PERFORMANCE_SELLER_SENDGOODS = 501, /// /// 履约买方支付 /// ACCOUNTBIZCODE_PERFORMANCE_BUYER_PAYMENT = 502, /// /// 履约卖方收款 /// ACCOUNTBIZCODE_PERFORMANCE_SELLER_RECEIVE = 503, /// /// 履约买方违约 /// ACCOUNTBIZCODE_PERFORMANCE_BREACH_BUY = 504, /// /// 履约卖方违约 /// ACCOUNTBIZCODE_PERFORMANCE_BREACH_SELL = 505, /// /// 冻结仓单头寸 /// ACCOUNTBIZCODE_PERFORMANCE_WRPOSTION_FREEZE = 506, /// /// 解冻仓单头寸 /// ACCOUNTBIZCODE_PERFORMANCE_WRPOSTION_UNFREEZE = 507, /// /// 支付流程扣款 /// ACCOUNTBIZCODE_PERFORMANCE_BUYERPAYMENT_DEDUCT = 508, /// /// 收款流程扣款 /// ACCOUNTBIZCODE_PERFORMANCE_SELLERRECV_DEDUCT = 509, /// /// 收款流程收款 /// ACCOUNTBIZCODE_PERFORMANCE_SELLERRECV_RECV = 510, /// /// 仓单注册审核通过的仓单服务处理 /// ACCOUNTBIZCODE_WR_REGISTER = 601, /// /// 仓单转移业务处理 /// ACCOUNTBIZCODE_WR_MOVE = 602, /// /// 仓单生成(仓单拆解) /// ACCOUNTBIZCODE_WR_DELIVERY_SPLIT = 603, /// /// 仓单转订单申请 /// ACCOUNTBIZCODE_WR_R2H_APPLY = 604, /// /// 仓单转订单审核 /// ACCOUNTBIZCODE_WR_R2H_VERIFY = 605, /// /// 订单转仓单申请 /// ACCOUNTBIZCODE_WR_H2R_APPLY = 606, /// /// 订单转仓单审核 /// ACCOUNTBIZCODE_WR_H2R_VERIFY = 607, /// /// 提货申请 /// ACCOUNTBIZCODE_WR_LADING_APPLY = 608, /// /// 提货审核 /// ACCOUNTBIZCODE_WR_LADING_VERIFY = 609, /// /// 库位状态变更 /// ACCOUNTBIZCODE_WR_LOCATION_STATUS_UPDATE = 610, /// /// 仓单贸易挂牌委托 /// ACCOUNTBIZCODE_WRTRADE_LISTING_ORDER = 701, /// /// 仓单贸易挂牌撤单 /// ACCOUNTBIZCODE_WRTRADE_LISTING_CANCEL = 702, /// /// 仓单贸易摘牌委托 /// ACCOUNTBIZCODE_WRTRADE_DELISTING_ORDER = 703, /// /// 仓单贸易摘牌成交 /// ACCOUNTBIZCODE_WRTRADE_DELISTING_DEAL = 704, /// /// 供应链金融冻结 /// ACCOUNTBIZCODE_SCF_FREEZE = 801, /// /// 供应链金融扣款 /// ACCOUNTBIZCODE_SCF_DEDUCT = 802, /// /// 供应链金融收款 /// ACCOUNTBIZCODE_SCF_RECEIVE = 803, /// /// 供应链金融冻结仓单头寸 /// ACCOUNTBIZCODE_SCF_POS_FREEZE = 804, /// /// 供应链金融解冻仓单头寸 /// ACCOUNTBIZCODE_SCF_POS_UNFREEZE = 805, /// /// 供应链金融最大扣款 /// ACCOUNTBIZCODE_SCF_MAX_DEDUCT = 806 } /// // 账户服务资金操作子指令类型 /// public enum eAccountFundCmdOp { /// /// 入金 /// [ItemDisc("ACCOUNTFUNDCMDOP_DEPOSIT")] ACCOUNTFUNDCMDOP_DEPOSIT = 101, /// /// 入金手续费 /// [ItemDisc("ACCOUNTFUNDCMDOP_DEPOSIT_FEE")] ACCOUNTFUNDCMDOP_DEPOSIT_FEE = 102, /// /// 出金 /// [ItemDisc("ACCOUNTFUNDCMDOP_WITHDRAW")] ACCOUNTFUNDCMDOP_WITHDRAW = 103, /// /// 出金冻结 /// [ItemDisc("ACCOUNTFUNDCMDOP_WITHDRAW_FREEZE")] ACCOUNTFUNDCMDOP_WITHDRAW_FREEZE = 104, /// /// 出金解冻 /// [ItemDisc("ACCOUNTFUNDCMDOP_WITHDRAW_UNFREEZE")] ACCOUNTFUNDCMDOP_WITHDRAW_UNFREEZE = 105, /// /// 出金手续费 /// [ItemDisc("ACCOUNTFUNDCMDOP_WITHDRAW_FEE")] ACCOUNTFUNDCMDOP_WITHDRAW_FEE = 106, /// /// 出金手续费冻结 /// [ItemDisc("ACCOUNTFUNDCMDOP_WITHDRAW_FEE_FREEZE")] ACCOUNTFUNDCMDOP_WITHDRAW_FEE_FREEZE = 107, /// /// 出金手续费解冻 /// [ItemDisc("ACCOUNTFUNDCMDOP_WITHDRAW_FEE_UNFREEZE")] ACCOUNTFUNDCMDOP_WITHDRAW_FEE_UNFREEZE = 108, /// /// 交易冻结 /// [ItemDisc("ACCOUNTFUNDCMDOP_TRADE_FREEZE")] ACCOUNTFUNDCMDOP_TRADE_FREEZE = 201, /// /// 交易解冻 /// [ItemDisc("ACCOUNTFUNDCMDOP_TRADE_UNFREEZE")] ACCOUNTFUNDCMDOP_TRADE_UNFREEZE = 202, /// /// 交易占用 /// [ItemDisc("ACCOUNTFUNDCMDOP_TRADE_OCCUPY")] ACCOUNTFUNDCMDOP_TRADE_OCCUPY = 203, /// /// 交易解占用 /// [ItemDisc("ACCOUNTFUNDCMDOP_TRADE_FREE")] ACCOUNTFUNDCMDOP_TRADE_FREE = 204, /// /// 交易手续费冻结 /// [ItemDisc("ACCOUNTFUNDCMDOP_TRADE_FEE_FREEZE")] ACCOUNTFUNDCMDOP_TRADE_FEE_FREEZE = 205, /// /// 交易手续费解冻 /// [ItemDisc("ACCOUNTFUNDCMDOP_TRADE_FEE_UNFREEZE")] ACCOUNTFUNDCMDOP_TRADE_FEE_UNFREEZE = 206, /// /// 交易手续费 /// [ItemDisc("ACCOUNTFUNDCMDOP_TRADE_FEE")] ACCOUNTFUNDCMDOP_TRADE_FEE = 207, /// /// 交易货款 /// [ItemDisc("ACCOUNTFUNDCMDOP_TRADE_GOODS_PAYMENT")] ACCOUNTFUNDCMDOP_TRADE_GOODS_PAYMENT = 208, /// /// 交易盈亏 /// [ItemDisc("ACCOUNTFUNDCMDOP_TRADE_PROFIT_LOSS")] ACCOUNTFUNDCMDOP_TRADE_PROFIT_LOSS = 209, /// /// 交割冻结 /// [ItemDisc("ACCOUNTFUNDCMDOP_DELIVERY_FREEZE")] ACCOUNTFUNDCMDOP_DELIVERY_FREEZE = 301, /// /// 交割解冻 /// [ItemDisc("ACCOUNTFUNDCMDOP_DELIVERY_UNFREEZE")] ACCOUNTFUNDCMDOP_DELIVERY_UNFREEZE = 302, /// /// 交割手续费 /// [ItemDisc("ACCOUNTFUNDCMDOP_DELIVERY_FEE")] ACCOUNTFUNDCMDOP_DELIVERY_FEE = 303, /// /// 交割手续费冻结 /// [ItemDisc("ACCOUNTFUNDCMDOP_DELIVERY_FEE_FREEZE")] ACCOUNTFUNDCMDOP_DELIVERY_FEE_FREEZE = 304, /// /// 交割手续费解冻 /// [ItemDisc("ACCOUNTFUNDCMDOP_DELIVERY_FEE_UNFREEZE")] ACCOUNTFUNDCMDOP_DELIVERY_FEE_UNFREEZE = 305, /// /// 交割货款 /// [ItemDisc("ACCOUNTFUNDCMDOP_DELIVERY_GOODS_PAYMENT")] ACCOUNTFUNDCMDOP_DELIVERY_GOODS_PAYMENT = 306, /// /// 交割税款 /// [ItemDisc("ACCOUNTFUNDCMDOP_DELIVERY_TAX")] ACCOUNTFUNDCMDOP_DELIVERY_TAX = 307, /// /// 结算盈亏 /// [ItemDisc("ACCOUNTFUNDCMDOP_SETTLE_PROFIT_LOSS")] ACCOUNTFUNDCMDOP_SETTLE_PROFIT_LOSS = 401, /// /// 结算递延费 /// [ItemDisc("ACCOUNTFUNDCMDOP_SETTLE_DEFERRED_FEE")] ACCOUNTFUNDCMDOP_SETTLE_DEFERRED_FEE = 402, /// /// 分润收入 /// [ItemDisc("ACCOUNTFUNDCMDOP_SHARE_PROFIT")] ACCOUNTFUNDCMDOP_SHARE_PROFIT = 403, /// /// 授信增加 /// [ItemDisc("ACCOUNTFUNDCMDOP_CREDIT_INCREASE")] ACCOUNTFUNDCMDOP_CREDIT_INCREASE = 501, /// /// 授信减少 /// [ItemDisc("ACCOUNTFUNDCMDOP_CREDIT_DECREASE")] ACCOUNTFUNDCMDOP_CREDIT_DECREASE = 502, /// /// 转积分 /// [ItemDisc("ACCOUNTFUNDCMDOP_PAY_POINTS")] ACCOUNTFUNDCMDOP_PAY_POINTS = 503, /// /// 转入 /// [ItemDisc("ACCOUNTFUNDCMDOP_TRANSFER_IN")] ACCOUNTFUNDCMDOP_TRANSFER_IN = 504, /// /// 转出 /// [ItemDisc("ACCOUNTFUNDCMDOP_TRANSFER_OUT")] ACCOUNTFUNDCMDOP_TRANSFER_OUT = 505, /// /// 转出冻结 /// [ItemDisc("ACCOUNTFUNDCMDOP_TRANSFER_OUT_FREEZE")] ACCOUNTFUNDCMDOP_TRANSFER_OUT_FREEZE = 506, /// /// 转出解冻 /// [ItemDisc("ACCOUNTFUNDCMDOP_TRANSFER_OUT_UNFREEZE")] ACCOUNTFUNDCMDOP_TRANSFER_OUT_UNFREEZE = 507, /// /// 履约金额冻结 /// ACCOUNTFUNDCMDOP_PERFORMANCE_FREEZE = 601, /// /// 履约最大冻结 /// ACCOUNTFUNDCMDOP_PERFORMANCE_MAX_FREEZE = 602, /// /// 履约金额解冻 /// ACCOUNTFUNDCMDOP_PERFORMANCE_UNFREEZE = 603, /// /// 履约扣款 /// ACCOUNTFUNDCMDOP_PERFORMANCE_DEDUCT = 604, /// /// 履约收款 /// ACCOUNTFUNDCMDOP_PERFORMANCE_RECEIVE = 605, /// /// 履约违约手续费 /// ACCOUNTFUNDCMDOP_PERFORMANCE_DEFAULT_FEE = 606, /// /// 履约违约收入 /// ACCOUNTFUNDCMDOP_PERFORMANCE_DEFAULT_INCOME = 607, /// /// 履约最大扣款 /// ACCOUNTFUNDCMDOP_PERFORMANCE_MAX_DEDUCT = 608, /// /// 供应链金融冻结 /// ACCOUNTFUNDCMDOP_SCF_FREEZE = 701, /// /// 供应链金融解冻 /// ACCOUNTFUNDCMDOP_SCF_UNFREEZE = 702, /// /// 供应链金融最大冻结 /// ACCOUNTFUNDCMDOP_SCF_MAX_FREEZE = 703, /// /// 供应链金融利息 /// ACCOUNTFUNDCMDOP_SCF_INTEREST = 704, /// /// 供应链金融货款 /// ACCOUNTFUNDCMDOP_SCF_GOODS_PAYMENT = 705, /// /// 供应链金融押金 /// ACCOUNTFUNDCMDOP_SCF_CASH_DEPOSIT = 706, /// /// 供应链金融最大扣款 /// ACCOUNTFUNDCMDOP_SCF_MAX_DEDUCT = 707, /// /// 仓单贸易冻结 /// ACCOUNTFUNDCMDOP_WRTRADE_FREEZE = 801, /// /// 仓单贸易解冻 /// ACCOUNTFUNDCMDOP_WRTRADE_UNFREEZE = 802, /// /// 仓单贸易首付款 /// ACCOUNTFUNDCMDOP_WRTRADE_DOWNPAYMENT = 803, /// /// 仓单贸易最大扣款 /// ACCOUNTFUNDCMDOP_WRTRADE_MAX_DEDUCT = 804, /// /// 商城扣款冻结 /// ACCOUNTFUNDCMDOP_MALL_FREEZE = 901, /// /// 商城扣款解冻 /// ACCOUNTFUNDCMDOP_MALL_UNFREEZE = 902, /// /// 商城扣款 /// ACCOUNTFUNDCMDOP_MALL_DEDUCT = 903, /// /// 商城收款 /// ACCOUNTFUNDCMDOP_MALL_RECEIVE = 904 } /// // 账户持仓指令类型 /// public enum eAccountHolderCmdOp { /// /// 验证委托数量 /// ACCOUNTHOLDERCMDOP_VERIFY_ORDER = 101, /// /// 验证头寸数量和金额 /// ACCOUNTHOLDERCMDOP_VERIFY_POSITION = 102, /// /// 验证交易冻结数量 /// ACCOUNTHOLDERCMDOP_VERIFY_FROZEN = 103, /// /// 验证其他冻结数量 /// ACCOUNTHOLDERCMDOP_VERIFY_OTHERFROZEN = 104, /// /// 交易开仓委托 /// ACCOUNTHOLDERCMDOP_TRADE_OPEN_ORDER = 201, /// /// 交易开仓成交 /// ACCOUNTHOLDERCMDOP_TRADE_OPEN_DEAL = 202, /// /// 交易开仓撤单 /// ACCOUNTHOLDERCMDOP_TRADE_OPEN_CANCEL = 203, /// /// 交易平仓冻结 /// ACCOUNTHOLDERCMDOP_TRADE_CLOSE_FREEZE = 204, /// /// 交易平仓成交 /// ACCOUNTHOLDERCMDOP_TRADE_CLOSE_DEAL = 205, /// /// 交易平仓解冻 /// ACCOUNTHOLDERCMDOP_TRADE_CLOSE_UNFREEZE = 206, /// /// 交易平仓最大冻结 /// ACCOUNTHOLDERCMDOP_TRADE_CLOSE_MAX_FREEZE = 207, /// /// 交易冻结 /// ACCOUNTHOLDERCMDOP_TRADE_FREEZE = 208, /// /// 交易解冻 /// ACCOUNTHOLDERCMDOP_TRADE_UNFREEZE = 209, /// /// 交割冻结 /// ACCOUNTHOLDERCMDOP_DELIVERY_FREEZE = 301, /// /// 交割成交 /// ACCOUNTHOLDERCMDOP_DELIVERY_DEAL = 302, /// /// 交割解冻 /// ACCOUNTHOLDERCMDOP_DELIVERY_UNFREEZE = 303, /// /// 交割最大冻结 /// ACCOUNTHOLDERCMDOP_DELIVERY_MAX_FREEZE = 304 } /// // 风控模式 /// public enum eRiskControlMode { /// /// 投资者/机构自营 /// RISKCONTROLMODE_TRADE = 1, /// /// 机构做市 /// RISKCONTROLMODE_MARKETMAKER = 2 } /// // 风险率计算方式 /// public enum eRiskRatioCalcMode { /// /// 占用/净值 /// RISKRATIOCALCMODE_OCCUPYWORTH = 1 } /// // 净值斩仓标志 /// public enum eCutThresholdFlag { /// /// 不启用 /// CUTTHRESHOLDFLAG_NO = 0, /// /// 启用(做市会员用) /// CUTTHRESHOLDFLAG_YES = 1 } /// // 风险级别 /// public enum eRiskLevel { /// /// 无风险 /// RISKLEVEL_NORMAL = 0, /// /// 警告级别 /// RISKLEVEL_NOTE = 1, /// /// 追加保证金 /// RISKLEVEL_ADD = 2, /// /// 斩仓级别 /// RISKLEVEL_CUT = 3, /// /// 恢复正常 /// RISKLEVEL_RECOVER = 4, /// /// 净值斩仓 /// RISKLEVEL_NETVALUE_LIQUIDATED = 5 } /// // 默认标志 /// public enum eIsDefault { /// /// 非默认 /// ISDEFAULT_NO = 0, /// /// 默认 /// ISDEFAULT_YES = 1 } /// // 变动类型 /// public enum eChangeType { /// /// 客户入金 /// CHANGETYPE_INAMOUNT = 1, /// /// 客户出金 /// CHANGETYPE_OUTAMOUNT = 2, /// /// 扣客户手续费 /// CHANGETYPE_CHARGE = 3, /// /// 分润 /// CHANGETYPE_DIVIDE = 4, /// /// 分润划拨 /// CHANGETYPE_DIVIDETRANSFER = 5, /// /// 交割扣款 /// CHANGETYPE_DELIVERYDEDUCT = 6, /// /// 交割付款 /// CHANGETYPE_DELIVERYPAY = 7 } /// // 变动方向 /// public enum eChangeDirection { /// /// 增加 /// CHANGEDIRECTION_INCREASE = 1, /// /// 减少 /// CHANGEDIRECTION_DECREASE = 2 } /// // 账务类别 /// public enum eAccType { /// /// 资产类 /// ACCTYPE_ASSET = 1, /// /// 负债类 /// ACCTYPE_DEBT = 2, /// /// 权益类 /// ACCTYPE_EQUITY = 3 } /// // 总科目 /// public enum eAccSubject { /// /// 银行存款 /// ACCSUBJECT_DEPOSIT = 1, /// /// 代理清算资金 /// ACCSUBJECT_AGENT = 2, /// /// 收入 /// ACCSUBJECT_INCOME = 3 } /// // 明细科目 /// public enum eDetailSubject { /// /// 银行存款 /// DETAILSUBJECT_DEPOSIT = 1, /// /// 代理客户保证金 /// DETAILSUBJECT_MARGIN = 2, /// /// 代收手续费 /// DETAILSUBJECT_COLLECTCHARGE = 3, /// /// 应付合作机构手续费 /// DETAILSUBJECT_AREACHARGE = 4, /// /// 其他代收金额 /// DETAILSUBJECT_OTHERCOLLECT = 5, /// /// 手续费收入 /// DETAILSUBJECT_CHARGEINCOME = 6 } /// // 是否有效 /// public enum eIsValid { /// /// 无效 /// ISVALID_NO = 0, /// /// 有效 /// ISVALID_YES = 1 } /// // 机构角色 /// public enum eRoleType { /// /// 交易所 /// ROLETYPE_EXCHANGE = 1, /// /// 运营机构 /// ROLETYPE_OPERATEAREA = 2, /// /// 营销中心 /// ROLETYPE_MARKETCENTER = 3, /// /// 仓库机构 /// ROLETYPE_WAREHOUSEAREA = 4, /// /// 第三方服务机构 /// ROLETYPE_THIRDAREA = 5, /// /// 自营会员 /// ROLETYPE_DEALER = 6, /// /// 经纪会员 /// ROLETYPE_BROKER = 7, /// /// 做市会员 /// ROLETYPE_MARKETMAKER = 8, /// /// 产业会员 /// ROLETYPE_INDUSTRY = 9, /// /// 金融机构 /// ROLETYPE_FINANCEAREA = 10 } /// // 保证金算法 /// public enum eMarginAlgorithm { /// /// 比率 /// MARGINALGORITHM_RATIO = 1, /// /// 固定 /// MARGINALGORITHM_FIXED = 2 } /// // 交易参数类型 /// public enum eRuleType { /// /// 保证金类 /// RULETYPE_MARGIN = 1, /// /// 交易规则类 /// RULETYPE_TRADERULE = 2, /// /// 交易费用类 /// RULETYPE_TRADEFEE = 3 } /// // 分润算法 /// public enum eDivideType { /// /// 比率 /// DIVIDETYPE_RATIO = 1, /// /// 固定 /// DIVIDETYPE_FIXED = 2, /// /// 余下全部 /// DIVIDETYPE_REMAIN = 3 } /// // 分润状态 /// public enum eDivideStatus { /// /// 未分成 /// DIVIDESTATUS_PENDING = 1, /// /// 已分成 /// DIVIDESTATUS_FINISHED = 2 } /// // 分润费用类型 /// public enum eTradeFeeType { /// /// 交易手续费 /// TRADEFEETYPE_TRADECHARGE = 1, /// /// 交割手续费 /// TRADEFEETYPE_DELIVERYCHARGE = 2, /// /// 出金手续费 /// TRADEFEETYPE_OUTAMOUNTCHARGE = 3, /// /// 入金手续费 /// TRADEFEETYPE_INAMOUNTCHARGE = 4, /// /// 递延费 /// TRADEFEETYPE_INTEREST = 5, /// /// 其它 /// TRADEFEETYPE_OTHER = 99 } /// // 涨跌停标志 /// public enum eUpDownFlag { /// /// 跌停 /// UPDOWNFLAG_DOWN = -1, /// /// 无涨跌停 /// UPDOWNFLAG_NO = 0, /// /// 涨停 /// UPDOWNFLAG_UP = 1 } /// // 节点状态 /// public enum eNodeStatus { /// /// 未执行 /// NODESTATUS_PENDING = 1, /// /// 进行中 /// NODESTATUS_INPROCESS = 2, /// /// 成功 /// NODESTATUS_SUCCESS = 3, /// /// 失败 /// NODESTATUS_FAILED = 4 } /// // 节点是否可回退 /// public enum eCanBack { /// /// 不可回退 /// CANBACK_NO = 0, /// /// 可回退 /// CANBACK_YES = 1 } /// // 交易结算节点ID /// public enum eBidReckonNodeID { /// /// 预埋单撤单节点ID /// BIDRECKNODEID_PERPOST_CANCEL = 1, /// /// 委托单撤单节点ID /// BIDRECKNODEID_ORDER_CANCEL = 2, /// /// 结算价节点ID /// BIDRECKNODEID_RECK_PRICE = 3, /// /// 商品退市节点 /// BIDRECKNODEID_GOODS_DELISTE = 4, /// /// 持仓单备份节点ID /// BIDRECKNODEID_HOLDERDETAIL_BACKUP = 5, /// /// 单据试算平衡节点 /// BIDRECKNODEID_ORDER_BALANCE_CALCULATE = 6, /// /// 持仓单处理节点 /// BIDRECKNODEID_HOLDERDETAIL_DEAL = 7, /// /// 委托单日照节点 /// BIDRECKNODEID_ORDER_DAY = 8, /// /// 交易分润节点 /// BIDRECKNODEID_SHARE_PROFIT = 9 } /// // 仓单变动类型 /// public enum eWR_ChangeType { /// /// 交割成交 /// WR_CHANGETYPE_DELIVERY = 1, /// /// 仓单转持仓成交 /// WR_CHANGETYPE_WRTOPOSITION = 2, /// /// 持仓转仓单成交 /// WR_CHANGETYPE_POSITIONTOWR = 3, /// /// 其它成交 /// WR_CHANGETYPE_OTHER = 4 } /// // 仓单类型 /// public enum eWRType { /// /// 注册仓单 /// WRTYPE_STANDARD = 1, /// /// 信用仓单 /// WRTYPE_CREDIT = 2 } /// // 仓单持有人类型 /// public enum eWR_HolderType { /// /// 会员 /// WR_HOLDERTYPE_AREA = 1, /// /// 投资者 /// WR_HOLDERTYPE_INVESTOR = 2 } /// // 仓单申请状态 /// public enum eWR_AuditStatus { /// /// 待初审 /// WR_AUDITSTATUS_PENDINGAUDIT = 1, /// /// 待复审 /// WR_AUDITSTATUS_PENDINGREAUDIT = 2, /// /// 审核通过 /// WR_AUDITSTATUS_PASS = 3, /// /// 审核拒绝 /// WR_AUDITSTATUS_REJECT = 4 } /// // 仓单状态 /// public enum eWR_STATUS { /// /// 正常 /// WR_STATUS_NORMAL = 1, /// /// 注销 /// WR_STATUS_CANCELLED = 2 } /// // 仓单用途类型 /// public enum eWR_UsedType { /// /// 仓单转持仓 /// WR_USEDTYPE_WRTOPOSITION = 1, /// /// 持仓转仓单 /// WR_USEDTYPE_POSITIONTOWR = 2 } /// // 仓单转用途申请状态 /// public enum eWR_ReqStatus { /// /// 申请中 /// WR_REQSTATUS_APPLYING = 1, /// /// 申请失败 /// WR_REQSTATUS_FAILED = 2, /// /// 待审核 /// WR_REQSTATUS_PENDING = 3, /// /// 审核通过 /// WR_REQSTATUS_PASS = 4, /// /// 审核拒绝 /// WR_REQSTATUS_REJECT = 5, /// /// 取消申请 /// WR_REQSTATUS_CANCELLED = 6, /// /// 转换完成 /// WR_REQSTATUS_SUCCESS = 7, /// /// 转换失败 /// WR_REQSTATUS_ERROR = 8 } /// // 仓单转用途申请处理标识 /// public enum eWR_HandleFlag { /// /// 待发送 /// WR_HANDLEFLAG_PENDING = 1, /// /// 已发送 /// WR_HANDLEFLAG_SEND = 2, /// /// 处理成功 /// WR_HANDLEFLAG_SUCCESS = 3, /// /// 处理失败 /// WR_HANDLEFLAG_FAILED = 4 } /// // 仓单成交类型 /// public enum eWRTradeType { /// /// 仓单注册 /// WRTRADETYPE_WRREGISTER = 1, /// /// 交割成交 /// WRTRADETYPE_DELIVERY = 2 } /// // 仓库类型 /// public enum eWarehouseType { /// /// 厂库 /// WAREHOUSETYPE_FACTORY = 1, /// /// 自有库 /// WAREHOUSETYPE_OWN = 2, /// /// 合作库 /// WAREHOUSETYPE_COOPERATIVE = 3 } /// // 仓库状态 /// public enum eWarehouseStatus { /// /// 正常 /// WAREHOUSESTATUS_NORMAL = 1, /// /// 注销 /// WAREHOUSESTATUS_CANCELLED = 2 } /// // 库位状态 /// public enum eLocationStatus { /// /// 无效 /// LOCATIONSTATUS_INVALID = 0, /// /// 正常 /// LOCATIONSTATUS_NORMAL = 1, /// /// 冻结 /// LOCATIONSTATUS_FREEZE = 2, /// /// 已提货 /// LOCATIONSTATUS_DELIVERED = 3, /// /// 履约冻结 /// LOCATIONSTATUS_FREEZEBYPERFORMANCE = 4, /// /// 已卖出 /// LOCATIONSTATUS_SELLING = 5 } /// // 质押状态 /// public enum ePledgeStatus { /// /// 未质押 /// PLEDGESTATUS_NO = 1, /// /// 已质押 /// PLEDGESTATUS_YES = 2 } /// // 交割状态 /// public enum eDeliveryStatus { /// /// 待成交 /// [ItemDisc("DELIVERYSTATUS_PENDING")] DELIVERYSTATUS_PENDING = 1, /// /// 已成交 /// [ItemDisc("DELIVERYSTATUS_TRADED")] DELIVERYSTATUS_TRADED = 2, /// /// 成交失败 /// [ItemDisc("DELIVERYSTATUS_FAILED")] DELIVERYSTATUS_FAILED = 3, /// /// 履约完成 /// [ItemDisc("DELIVERYSTATUS_PERFORMANCEFINISHED")] DELIVERYSTATUS_PERFORMANCEFINISHED = 4 } /// // 审核标志 /// public enum eAuditFlag { /// /// 不需要 /// AUDITFLAG_NO = 0, /// /// 需要 /// AUDITFLAG_YES = 1 } /// // 主单标志 /// public enum eMainOrderFlag { /// /// 非主单 /// MAINORDERFLAG_NO = 0, /// /// 主单 /// MAINORDERFLAG_YES = 1 } /// // 平仓标志 /// public enum eCloseFlag { /// /// 未平仓 /// CLOSEFLAG_PENDING = 1, /// /// 已平仓 /// CLOSEFLAG_FINISHED = 2, /// /// 正在平仓 /// CLOSEFLAG_PROCESSING = 3, /// /// 平仓失败 /// CLOSEFLAG_FAILED = 4 } /// /// 交割申报状态 /// public enum eDeliveryOrderStatus { /// /// 待审核 /// [ItemDisc("DELIVERYORDERSTATUS_PENDING")] DELIVERYORDERSTATUS_PENDING = 1, /// /// 审核通过 /// [ItemDisc("DELIVERYORDERSTATUS_AUDITED")] DELIVERYORDERSTATUS_AUDITED = 2, /// /// 审核拒绝 /// [ItemDisc("DELIVERYORDERSTATUS_REJECTED")] DELIVERYORDERSTATUS_REJECTED = 3, /// /// 已撤销 /// [ItemDisc("DELIVERYORDERSTATUS_CANCELLED")] DELIVERYORDERSTATUS_CANCELLED = 4, /// /// 失败 /// [ItemDisc("DELIVERYORDERSTATUS_FAILED")] DELIVERYORDERSTATUS_FAILED = 5 } /// // 交割申报来源 /// public enum eDeliveryOrderFrom { /// /// 客户端 /// DELIVERYORDERFROM_CLIENT = 1, /// /// 管理端 /// DELIVERYORDERFROM_MANAGEMENT = 2 } /// // 交割商品处理状态 /// public enum eDeliveryGoodsHandleStatus { /// /// 待冻结 /// DELIVERYGOODSHANDLESTATUS_UNFREEZE = 1, /// /// 冻结中 /// DELIVERYGOODSHANDLESTATUS_FREEZEING = 2, /// /// 冻结成功 /// DELIVERYGOODSHANDLESTATUS_FREEZE_SUCCESS = 3, /// /// 冻结失败 /// DELIVERYGOODSHANDLESTATUS_FREEZE_FAILED = 4 } /// // 交割申报处理状态 /// public enum eDeliveryOrderHandleStatus { /// /// 交割申报验证 /// DELIVERYORDERHANDLESTATUS_VERIFY = 1, /// /// 交割申报验证失败 /// DELIVERYORDERHANDLESTATUS_VERIFY_FAILED = 2, /// /// 冻结仓单 /// DELIVERYORDERHANDLESTATUS_FREEZEWR = 3, /// /// 冻结仓单失败 /// DELIVERYORDERHANDLESTATUS_FREEZEWR_FAILED = 4, /// /// 冻结X商品头寸 /// DELIVERYORDERHANDLESTATUS_FREEZE_X = 5, /// /// 冻结X商品失败 /// DELIVERYORDERHANDLESTATUS_FREEZE_X_FAILED = 6, /// /// 冻结P商品头寸 /// DELIVERYORDERHANDLESTATUS_FREEZE_P = 7, /// /// 冻结P商品头寸失败 /// DELIVERYORDERHANDLESTATUS_FREEZE_P_FAILED = 8, /// /// 解冻P商品头寸 /// DELIVERYORDERHANDLESTATUS_UNFREEZE_P = 9, /// /// 解冻X商品头寸及仓单头寸 /// DELIVERYORDERHANDLESTATUS_UNFREEZE_XANDWR = 10, /// /// 交割申报成功 /// DELIVERYORDERHANDLESTATUS_SUCCESS = 11 } /// // 交割单处理状态 /// public enum eDeliveryDetailHandleStatus { /// /// 平仓 /// DELIVERYDETAILHANDLESTATUS_CLOSE = 1, /// /// 平仓失败 /// DELIVERYDETAILHANDLESTATUS_CLOSE_FAILED = 2, /// /// 新建仓单 /// DELIVERYDETAILHANDLESTATUS_CREATEWR = 3, /// /// 新建仓单失败 /// DELIVERYDETAILHANDLESTATUS_CREATEWR_FAILED = 4, /// /// 履约计划生成 /// DELIVERYDETAILHANDLESTATUS_PERFORMANCE = 5, /// /// 履约计划生成失败 /// DELIVERYDETAILHANDLESTATUS_PERFORMANCE_FAILED = 6, /// /// 履约计划生成成功 /// DELIVERYDETAILHANDLESTATUS_PERFORMANCE_SUCCESS = 7 } /// // 手续费收取方式 /// public enum eBank_ChargeAlgorithm { /// /// 比率 /// BANK_CHARGEALGORITHM_RATIO = 1, /// /// 固定 /// BANK_CHARGEALGORITHM_FIXED = 2 } /// // 手续费收取类型 /// public enum eBank_ChargeType { /// /// 统一 /// BANK_CHARGETYPE_FLAT = 1, /// /// 区间 /// BANK_CHARGETYPE_RANGE = 2 } /// // 出入金类型 /// public enum eBank_OutOrIn { /// /// 入金 /// BANK_OUTORIN_IN = 1, /// /// 出金 /// BANK_OUTORIN_OUT = 2 } /// // 上传状态 /// public enum eBank_DealStatus { /// /// 待上传 /// BANK_DEALSTATUS_PENDING = 1, /// /// 上传成功 /// BANK_DEALSTATUS_SUCCESS = 2, /// /// 上传失败 /// BANK_DEALSTATUS_FAILED = 3 } /// // 客户类型 /// public enum eBank_UserType { /// /// 个人 /// BANK_USERTYPE_PERSON = 1, /// /// 机构 /// BANKUSERTYPE_AREA = 2 } /// // 变动类型 /// public enum eBank_ChangeType { /// /// 增加 /// BANK_CHANGETYPE_ADD = 1, /// /// 修改 /// BANK_CHANGETYPE_MODIFY = 2, /// /// 注销 /// BANK_CHANGETYPE_CANCELLED = 3 } /// // 性别 /// public enum eBank_Sex { /// /// 未填写 /// BANK_SEX_NONE = 0, /// /// 男 /// BANK_SEX_MALE = 1, /// /// 女 /// BANK_SEX_FEMALE = 2 } /// // 费用类型 /// public enum eBank_AmountType { /// /// 入金 /// BANK_AMOUNTTYPE_IN = 1, /// /// 出金 /// BANK_AMOUNTTYPE_OUT = 2 } /// // 对账状态 /// public enum eBank_CheckStatus { /// /// 未对账 /// BANK_CHECKSTATUS_UNCHECK = 1, /// /// 对账成功 /// BANK_CHECKSTATUS_SUCCESS = 2, /// /// 对账失败 /// BANK_CHECKSTATUS_FAILED = 3 } /// // 差错处理状态 /// public enum eBank_CheckErrorStatus { /// /// 未处理 /// BANK_CHECKERRORSTATUS_UNHANDLE = 1, /// /// 已处理 /// BANK_CHECKERRORSTATUS_HANDLED = 2 } /// // 业务类型 /// public enum eBank_BizType { /// /// 出金 /// BANK_BIZTYPE_OUTAMOUNT = 0, /// /// 入金 /// BANK_BIZTYPE_INAMOUNT = 1, /// /// 出金申请 /// BANK_BIZTYPE_OUTAPPLY = 2, /// /// 入金申请 /// BANK_BIZTYPE_INAPPLY = 3, /// /// 付款 /// BANK_BIZTYPE_PAYMENT = 4, /// /// 付款确认 /// BANK_BIZTYPE_PAYMENTCONFIRM = 5 } /// // 发起方类型 /// public enum eBank_SenderType { /// /// 中心 /// BANK_SENDERTYPE_CENTER = 0, /// /// 交易所 /// BANK_SENDERTYPE_EXCHANGE = 1, /// /// 银行 /// BANK_SENDERTYPE_BANK = 2 } /// // 业务状态 /// public enum eBank_BizStatus { /// /// 成功 /// BANK_BIZSTATUS_SUCCESS = 0, /// /// 失败 /// BANK_BIZSTATUS_FAILED = 1 } /// // 是否可以 /// public enum eBank_WhetherOrNot { /// /// 不可 /// WHETHERORNOT_NO = 0, /// /// 可以 /// WHETHERORNOT_YES = 1 } /// // 扩展业务类型 /// public enum eBank_ExtendBizType { /// /// 签约 /// BANK_EXTENDBIZTYPE_SIGNIN = 1, /// /// 入金 /// BANK_EXTENDBIZTYPE_INAMOUNT = 2, /// /// 出金 /// BANK_EXTENDBIZTYPE_OUTAMOUNT = 3 } /// // 是否必填 /// public enum eBank_IsMandatory { /// /// 不必填 /// BANK_ISMANDATORY_NO = 0, /// /// 必填 /// BANK_ISMANDATORY_YES = 1 } /// // 签到状态 /// public enum eBank_SignStatus { /// /// 签到 /// BANK_SIGNSTATUS_SIGNIN = 1, /// /// 签退 /// BANK_SIGNSTATUS_SIGNOUT = 2 } /// // 清算状态 /// public enum eBank_ClearStatus { /// /// 未清算 /// BANK_CLEARSTATUS_UNCLEAR = 1, /// /// 清算成功 /// BANK_CLEARSTATUS_SUCCESS = 2, /// /// 清算失败 /// BANK_CLEARSTATUS_FAILED = 3 } /// // 清算处理状态 /// public enum eBank_ClearDealStatus { /// /// 待处理 /// BANK_CLEARDEALSTATUS_PENDING = 1, /// /// 处理成功 /// BANK_CLEARDEALSTATUS_SUCCESS = 2, /// /// 处理失败 /// BANK_CLEARDEALSTATUS_FAILED = 3 } /// // 申请状态 /// public enum eBank_ApplyStatus { /// /// 待审核 /// BANK_APPLYSTATUS_PENDING = 1, /// /// 审核通过 /// BANK_APPLYSTATUS_PASS = 2, /// /// 审核拒绝 /// BANK_APPLYSTATUS_REJECT = 3, /// /// 交易冻结中 /// BANK_APPLYSTATUS_IN_TRAD_EFREEZE = 4, /// /// 交易解冻中 /// BANK_APPLYSTATUS_IN_TRADE_UNFREEZE = 5, /// /// 交易解冻扣款中 /// BANK_APPLYSTATUS_IN_TRADE_UNFREEZE_DEDUCT = 6, /// /// 交易入金中 /// BANK_APPLYSTATUS_IN_TRADE_IN = 7, /// /// 交易冻结/解冻/扣款中(银行发起出金时用) /// BANK_APPLYSTATUS_IN_TRADE_FREEZE_UNFREEZE_DEDUCT = 8, /// /// 银行出金中 /// BANK_APPLYSTATUS_IN_BANK_OUT = 9, /// /// 银行入金中 /// BANK_APPLYSTATUS_IN_BANK_IN = 10, /// /// 成功 /// BANK_APPLYSTATUS_SUCCESS = 11, /// /// 失败 /// BANK_APPLYSTATUS_FAILED = 12 } /// // 签约状态 /// public enum eBank_SignContractStatus { /// /// 未签约 /// BANK_SIGNCONTRACTSTATUS_UNSIGN = 1, /// /// 签约待审核 /// BANK_SIGNCONTRACTSTATUS_SIGNFORAUDIT = 2, /// /// 签约中 /// BANK_SIGNCONTRACTSTATUS_SIGNING = 3, /// /// 已签约 /// BANK_SIGNCONTRACTSTATUS_SIGNED = 4, /// /// 解约待审核 /// BANK_SIGNCONTRACTSTATUS_CANCELFORAUDIT = 5, /// /// 解约中 /// BANK_SIGNCONTRACTSTATUS_CANCELLING = 6, /// /// 已解约 /// BANK_SIGNCONTRACTSTATUS_CANCELLED = 7, /// /// 已解绑 /// BANK_SIGNCONTRACTSTATUS_BINDED = 8, /// /// 绑卡中 /// BANK_SIGNCONTRACTSTATUS_BINDING = 9 } /// // 银行账户类型 /// public enum eBank_BankAccountType { /// /// 对私 /// BANK_BANKACCOUNTTYPE_PRIVATE = 1, /// /// 对公 /// BANK_BANKACCOUNTTYPE_PUBLIC = 2 } /// // 签约类型 /// public enum eBank_SignType { /// /// 签约 /// BANK_SIGNTYPE_SIGN = 1, /// /// 解约 /// BANK_SIGNTYPE_CANCEL = 2 } /// // 是否强制 /// public enum eBank_IsForce { /// /// 非强制 /// BANK_ISFORCE_NO = 0, /// /// 强制 /// BANK_ISFORCE_YES = 1 } /// // 签解约处理状态 /// public enum eBank_SignDealStatus { /// /// 待审核 /// BANK_SIGNDEALSTATUS_FORAUDIT = 1, /// /// 待处理 /// BANK_SIGNDEALSTATUS_FORHANDLE = 2, /// /// 处理成功 /// BANK_SIGNDEALSTATUS_SUCCESS = 3, /// /// 处理失败 /// BANK_SIGNDEALSTATUS_FAILED = 4 } /// // 有效状态 /// public enum eBank_ValidStatus { /// /// 无效 /// BANK_VALIDSTATUS_INVALID = 0, /// /// 有效 /// BANK_VALIDSTATUS_VALID = 1 } /// // 对账过程状态 /// public enum eBank_CheckProcessStatus { /// /// 初始化状态 /// BANK_CHECKPROCESSSTATUS_INI = 0, /// /// 对账文件分析中 /// BANK_CHECKPROCESSSTATUS_FILE_ANALYSE = 1, /// /// 对账文件解析失败 /// BANK_CHECKPROCESSSTATUS_FILE_FAILED = 2, /// /// 对账文件解析成功 /// BANK_CHECKPROCESSSTATUS_FILE_SUCCESS = 3, /// /// 正在获取交易服务的出入金记录 /// BANK_CHECKPROCESSSTATUS_TRADE_READING = 4, /// /// 获取交易服务的出入金记录失败 /// BANK_CHECKPROCESSSTATUS_TRADE_FAILED = 5, /// /// 获取交易服务的出入金记录成功 /// BANK_CHECKPROCESSSTATUS_TRADE_SUCCESS = 6, /// /// 正在进行对账 /// BANK_CHECKPROCESSSTATUS_CHECKING = 7, /// /// 对账全部成功,没有单边账 /// BANK_CHECKPROCESSSTATUS_CHECK_SUCCESS = 8, /// /// 对账成功,存在单边账 /// BANK_CHECKPROCESSSTATUS_CHECK_HASERROR = 9, /// /// 单边账已经全部处理完毕 /// BANK_CHECKPROCESSSTATUS_ERROR_FINISHED = 10 } /// // 清算过程状态 /// public enum eBank_ClearProcessStatus { /// /// 初始化 /// BANK_CLEARPROCESSSTATUS_INI = 0, /// /// 合并处理结算数据中 /// BANK_CLEARPROCESSSTATUS_MERGE_INPROCESS = 1, /// /// 合并处理结算数据失败 /// BANK_CLEARPROCESSSTATUS_MERGE_FAILED = 2, /// /// 合并处理结算数据成功 /// BANK_CLEARPROCESSSTATUS_MERGE_SUCCESS = 3, /// /// 校验合并的数据中 /// BANK_CLEARPROCESSSTATUS_CHECK_INPROCESS = 4, /// /// 校验合并数据失败 /// BANK_CLEARPROCESSSTATUS_CHECK_FAILED = 5, /// /// 校验合并数据成功 /// BANK_CLEARPROCESSSTATUS_CHECK_SUCCESS = 6, /// /// 正在生成清算数据 /// BANK_CLEARPROCESSSTATUS_GEN_INPROCESS = 7, /// /// 生成清算数据失败 /// BANK_CLEARPROCESSSTATUS_GEN_FAILED = 8, /// /// 生成清算成功 /// BANK_CLEARPROCESSSTATUS_GEN_SUCCESS = 9, /// /// 正在发送清算数据 /// BANK_CLEARPROCESSSTATUS_SEND_INPROCESS = 10, /// /// 清算数据发送失败 /// BANK_CLEARPROCESSSTATUS_SEND_FAILED = 11, /// /// 清算数据发送成功,等待应答结果 /// BANK_CLEARPROCESSSTATUS_SEND_WAITRESPONSE = 12, /// /// 正在处理结果文件 /// BANK_CLEARPROCESSSTATUS_RESULT_INPROCESS = 13, /// /// 结果文件处理失败 /// BANK_CLEARPROCESSSTATUS_RESULT_FAILED = 14, /// /// 清算全部失败 /// BANK_CLEARPROCESSSTATUS_CLEAR_FAILED = 15, /// /// 清算部分成功 /// BANK_CLEARPROCESSSTATUS_CLEAR_PARTIALSUCCESS = 16, /// /// 清算全部成功 /// BANK_CLEARPROCESSSTATUS_CLEAR_SUCCESS = 17 } /// // 银行业务操作状态 /// public enum eBank_TaskOperateStatus { /// /// 操作成功 /// BANK_TASKOPERATESTATUS_SUCCESS = 0, /// /// 操作失败 /// BANK_TASKOPERATESTATUS_FAILED = 1 } /// // 银行服务消息来源 /// public enum eBank_MsgDirect { /// /// 交易中心发起 /// BANK_MSGDIRECT_TRADECENTER = 1, /// /// 清算中心发起 /// BANK_MSGDIRECT_CLEARCENTER = 2, /// /// 账户服务发起 /// BANK_MSGDIRECT_ACCOUNTSERVICE = 3 } /// // 银行服务清算结果文件状态 /// public enum eBank_ClearResultFileStatus { /// /// 未清算 /// BANK_CLEARRESULTFILESTATUS_INIT = 1, /// /// 全部成功 /// BANK_CLEARRESULTFILESTATUS_SUCCESS = 2, /// /// 处理失败 /// BANK_CLEARRESULTFILESTATUS_FAILED = 3, /// /// 部分成功 /// BANK_CLEARRESULTFILESTATUS_PARTIALSUCCESS = 4 } /// // 单据ID类型 /// public enum eOrderIDType { /// /// 交易预埋单/交易委托单 /// ORDERIDTYPE_TRADE_ORDERID = 100, /// /// 交易成交单/交易持仓单/交易成交配对 /// ORDERIDTYPE_TRADE_TRADEID = 101, /// /// 交易撤单 /// ORDERIDTYPE_TRADE_CANCELORDERID = 102, /// /// 斩仓委托明细 /// ORDERIDTYPE_TRADE_CUTORDERID = 103, /// /// 平仓明细 /// ORDERIDTYPE_TRADE_CLOSEORDERID = 104, /// /// 穿仓记录明细 /// ORDERIDTYPE_TRADE_OVERLOSSID = 105, /// /// 交割申报单 /// ORDERIDTYPE_TRADE_DELIVERYORDERID = 120, /// /// 交割单 /// ORDERIDTYPE_TRADE_DELIVERYID = 121, /// /// 履约计划 /// ORDERIDTYPE_TRADE_PERFORMANCEPLANID = 130, /// /// 履约计划步骤 /// ORDERIDTYPE_TRADE_PERFORMANCESTEPID = 131, /// /// 实时行情流水 /// ORDERIDTYPE_TRADE_REALQUOTESERIALID = 140, /// /// 仓单 /// ORDERIDTYPE_WR_WRID = 200, /// /// 仓单头寸 /// ORDERIDTYPE_WR_WRPOSITIONID = 201, /// /// 仓单头寸流水 /// ORDERIDTYPE_WR_WRPOSITIONFLOWID = 202, /// /// 仓单流水 /// ORDERIDTYPE_WR_WRFLOWID = 203, /// /// 库位流水 /// ORDERIDTYPE_WR_LOCATIONFLOWID = 204, /// /// 仓单转用途 /// ORDERIDTYPE_WR_WRREQUESTID = 205, /// /// 积分ID /// ORDERIDTYPE_SCOREID = 210, /// /// 积分流水 /// ORDERIDTYPE_SCOREFLOWID = 211, /// /// 资金流水 /// ORDERIDTYPE_AMOUNTFLOWID = 220, /// /// 头寸流水 /// ORDERIDTYPE_POSITIONFLOWID = 221, /// /// 商城成交单 /// ORDERIDTYPE_MALL_TRADEID = 300, /// /// 供应链金融成交单 /// ORDERIDTYPE_SUPPLYCHAIN_TRADEID = 310, /// /// 银行交易流水 /// ORDERIDTYPE_BANK_EXCHTICKETID = 400 } /// // 商品交易权限类型 /// public enum eGoodsTradeType { /// /// 可建可平 /// GOODSTRADETYPE_OPENANDCLOSE = 1, /// /// 可建不可平 /// GOODSTRADETYPE_OPENONLY = 2, /// /// 不可建可平 /// GOODSTRADETYPE_CLOSEONLY = 3, /// /// 不可建不可平 /// GOODSTRADETYPE_NONE = 4 } /// // 挂牌点选类型 /// public enum eListingSelectType { /// /// 挂牌 /// [ItemDisc("LISTINGSELECTTYPE_LISTING")] LISTINGSELECTTYPE_LISTING = 1, /// /// 摘牌 /// [ItemDisc("LISTINGSELECTTYPE_DELISTING")] LISTINGSELECTTYPE_DELISTING = 2, /// /// 先摘后挂 /// [ItemDisc("LISTINGSELECTTYPE_DELISTINGTHENLISTING")] LISTINGSELECTTYPE_DELISTINGTHENLISTING = 3 } /// // 摘牌类型 /// public enum eDelistingType { /// /// 价格最优 /// DELISTINGTYPE_PRICE = 1, /// /// 点选成交 /// DELISTINGTYPE_SELECTED = 2 } /// // 保证金公式 /// public enum eMarginFormula { /// /// 双边收 /// MARGINFORMULA_BOTH = 1, /// /// 净头寸收 /// MARGINFORMULA_NETPOSITION = 2, /// /// 大小边差异收 /// MARGINFORMULA_DIFF = 3, /// /// 大边收 /// MARGINFORMULA_LARGE = 4 } /// // 交割价格方式 /// public enum eDeliveryPriceMode { /// /// 商品价 /// DELIVERYPRICEMODE_GOODS = 1, /// /// 固定值 /// DELIVERYPRICEMODE_FIXEDVALUE = 2 } /// // 结算市场类型 /// public enum eReckon_MarketType { /// /// 交易结算 /// RECKON_MARKETTYPE_TRADE = 1, /// /// 交割结算 /// RECKON_MARKETTYPE_DELIVERY = 2, /// /// 资金结算 /// RECKON_MARKETTYPE_ACCOUNT = 3 } /// // 履约步骤类型 /// public enum ePerformance_StepType { /// /// 买方支付 /// PERFORMANCE_STEPTYPE_BUYER_PAYMENT = 1, /// /// 卖方收款 /// PERFORMANCE_STEPTYPE_SELLER_RECEIVE = 2, /// /// 买方自提 /// PERFORMANCE_STEPTYPE_BUYER_PICKUP = 3, /// /// 卖方发货 /// PERFORMANCE_STEPTYPE_SELLER_SENDGOODS = 4, /// /// 买方确认货 /// PERFORMANCE_STEPTYPE_BUYER_CONFIRMGOODS = 5, /// /// 卖方发票 /// PERFORMANCE_STEPTYPE_SELLER_SENDINVOICE = 6, /// /// 买方确认票 /// PERFORMANCE_STEPTYPE_BUYER_CONFIRMINVOICE = 7, /// /// 仓单转移 /// PERFORMANCE_STEPTYPE_WRTRANSFER = 8 } /// // 履约步骤是否可自动确认 /// public enum ePerformance_CanAuto { /// /// 不可自动确认 /// PERFORMANCE_CANAUTO_NO = 0, /// /// 可自动确认 /// PERFORMANCE_CANAUTO_YES = 1 } /// // 履约支付方式 /// public enum ePerformance_PaymentType { /// /// 冻结 /// PERFORMANCE_PAYMENTTYPE_FREEZE = 1, /// /// 扣款 /// PERFORMANCE_PAYMENTTYPE_DEDUCT = 2 } /// // 履约步骤是否自动 /// public enum ePerformance_IsAuto { /// /// 不自动 /// PERFORMANCE_ISAUTO_NO = 0, /// /// 自动 /// PERFORMANCE_ISAUTO_YES = 1 } /// // 是否最后收款步骤 /// public enum ePerformance_IsLastReceiveStep { /// /// 不是 /// PERFORMANCE_ISLASTRECEIVESTEP_NO = 0, /// /// 是 /// PERFORMANCE_ISLASTRECEIVESTEP_YES = 1 } /// // 履约仓单划转处理状态 /// public enum ePerformance_WR_HandleStatus { /// /// 未划转 /// PERFORMANCE_WR_HANDLESTATUS_NOT = 1, /// /// 已划转 /// PERFORMANCE_WR_HANDLESTATUS_TRANSFERRED = 2 } /// // 履约计划状态 /// public enum ePerformanceStatus { /// /// 正常 /// PERFORMANCESTATUS_NORMAL = 1, /// /// 违约待确认 /// PERFORMANCESTATUS_BREACHING = 2, /// /// 违约 /// PERFORMANCESTATUS_BREACHED = 3, /// /// 完成 /// PERFORMANCESTATUS_FINISHED = 4 } /// // 履约步骤状态 /// public enum ePerformance_StepStatus { /// /// 待开始 /// PERFORMANCE_STEPSTATUS_PENDING = 1, /// /// 进行中 /// PERFORMANCE_STEPSTATUS_EXECUTING = 2, /// /// 已完成 /// PERFORMANCE_STEPSTATUS_FINISHED = 3, /// /// 延期(进行中) /// PERFORMANCE_STEPSTATUS_EXECUTING_DELAY = 4, /// /// 失败 /// PERFORMANCE_STEPSTATUS_FAILED = 5, /// /// 自动完成 /// PERFORMANCE_STEPSTATUS_FINISHED_AUTO = 6 } /// // 履约延期状态 /// public enum ePerformance_DelayStatus { /// /// 待审核 /// PERFORMANCE_DELAYSTATUS_PENDING = 1, /// /// 审核通过 /// PERFORMANCE_DELAYSTATUS_PASS = 2, /// /// 审核拒绝 /// PERFORMANCE_DELAYSTATUS_REJECT = 3, /// /// 已撤销 /// PERFORMANCE_DELAYSTATUS_CANCELLED = 4, /// /// 系统撤销 /// PERFORMANCE_DELAYSTATUS_CANCELLEDBYSYS = 5 } /// // 违约类型 /// public enum eBreachType { /// /// 买方 /// BREACHTYPE_BUY = 1, /// /// 卖方 /// BREACHTYPE_SELL = 2 } /// // 违约状态 /// public enum eBreachStatus { /// /// 待审核 /// BREACHSTATUS_PENDING = 1, /// /// 审核通过 /// BREACHSTATUS_PASS = 2, /// /// 审核拒绝 /// BREACHSTATUS_REJECT = 3 } /// // 履约日志类型 /// public enum ePerformance_LogType { /// /// 执行履约步骤 /// PERFORMANCE_LOGTYPE_EXECUTING = 1, /// /// 完成履约步骤 /// PERFORMANCE_LOGTYPE_FINISHED = 2, /// /// 申请延期 /// PERFORMANCE_LOGTYPE_DELAYAPPLY = 3, /// /// 延期确认 /// PERFORMANCE_LOGTYPE_DELAYPASS = 4, /// /// 延期拒绝 /// PERFORMANCE_LOGTYPE_DELAYREJECT = 5, /// /// 申请违约 /// PERFORMANCE_LOGTYPE_BREACHAPPLY = 6, /// /// 违约确认 /// PERFORMANCE_LOGTYPE_BREACHPASS = 7, /// /// 违约拒绝 /// PERFORMANCE_LOGTYPE_BREACHREJECT = 8 } /// // 履约步骤启动类型 /// public enum ePerformance_StepLanchType { /// /// 系统自动 /// PERFORMANCE_STEPLANCHTYPE_SYSTEM = 1, /// /// 手动 /// PERFORMANCE_STEPLANCHTYPE_MANUAL = 2 } /// // 履约步骤执行方 /// public enum ePerformance_ExecuteSide { /// /// 买方 /// PERFORMANCE_EXECUTESIDE_BUYER = 1, /// /// 卖方 /// PERFORMANCE_EXECUTESIDE_SELLER = 2 } /// // 履约类型 /// public enum ePerformanceType { /// /// 交割 /// PERFORMANCETYPE_DELIVERY = 1, /// /// 仓单贸易 /// PERFORMANCETYPE_WRTRADE = 2 } /// // 用户操作变更类型 /// public enum eUserOperateType { /// /// 新增用户 /// USER_OPERATE_ADD = 0, /// /// 删除用户 /// USER_OPERATE_DEL = 1, /// /// 修改用户 /// USER_OPERATE_UPDATE = 2, /// /// 修改用户个性化 /// USER_OPERATE_UPDATE_PERSONAL = 3 } /// // 账户操作变更类型 /// public enum eAccountOperateType { /// /// 新增帐号 /// ACCOUNT_OPERATE_ADD = 0, /// /// 删除帐号 /// ACCOUNT_OPERATE_DEL = 1, /// /// 修改帐号 /// ACCOUNT_OPERATE_UPDATE = 2, /// /// 修改帐号个性化 /// ACCOUNT_OPERATE_UPDATE_PERSONAL = 3, /// /// 修改账户权限 /// ACCOUNT_OPERATE_UPDATE_RIGHT = 4 } /// // 商品操作变更类型 /// public enum eGoodsOperateType { /// /// 新增商品 /// GOODS_OPERATE_ADD = 0, /// /// 删除商品 /// GOODS_OPERATE_DEL = 1, /// /// 修改商品 /// GOODS_OPERATE_UPDATE = 2 } /// // 消息通知模式 /// public enum eNotifyMode { /// /// 单播 /// NOTIFY_UNICAST = 0, /// /// 组播 /// NOTIFY_MULTICAST = 1, /// /// 广播 /// NOTIFY_BROADCAST = 2 } /// // 公告消息类型 /// public enum eBltMsgType { /// /// 公告类 /// BM_TYPE_BULLETIN = 1, /// /// 重要通知类 /// BM_TYPE_NTF = 2 } /// // 风控通知类型 /// public enum eeRisk_Ntf_Type { /// /// 投资者风控通知 /// RISK_NTF_TYPE_INVESTOR = 0, /// /// 会员风控通知 /// RISK_NTF_TYPE_MEMBER = 1 } /// // 用户令牌状态 /// public enum eTokenStatus { /// /// 令牌有效 /// TOKEN_STATUS_UNEXPIRED = 1, /// /// 令牌过期 /// TOKEN_STATUS_EXPIRED = 2, /// /// 令牌已被更新 /// TOKEN_STATUS_UPDATED = 3 } /// // 终端类型 /// public enum eTerminalType { /// /// 交易端 /// TRADECLIENT = 0, /// /// 管理端 /// MANAGECLIENT = 1, /// /// 运维端 /// MAINTAINCLIENT = 2 } /// // 登陆操作类型 /// public enum eLoginOperatorType { /// /// 人工操作 /// MANUAL_OPER = 1, /// /// 系统操作 /// SYSTEM_OPER = 2 } /// // 数据库中定义的版本类型 /// public enum eDBVersionType { /// /// 产品版本 /// DBVERSIONTYPE_PRODUCT = 1, /// /// 数据库sql版本 /// DBVERSIONTYPE_DB = 2, /// /// 常量版本 /// DBVERSIONTYPE_CONST = 3, /// /// 错误码版本 /// DBVERSIONTYPE_ERRORCODE = 4 } /// // 资金查询位掩码 /// public enum eMoneyQueryBitMask { /// /// 查询可用保证金 /// MONEYQUERY_AVAILABLE_MARGIN = 1, /// /// 查询可出资金 /// MONEYQUERY_AVAILABLE_OUTMONEY = 2 } /// // 修改密码类型 /// public enum eModifyPwdType { /// /// 修改登录ID密码 /// MODIFYPWDTYPE_LOGINID = 1, /// /// 修改资金账户ID密码 /// MODIFYPWDTYPE_ACCOUNTID = 2 } /// // MTP服务 /// public enum eMTPServer { /// /// 接入 /// SERVER_ACCESS = 1, /// /// 前置 /// SERVER_BUSPROXY = 2, /// /// 登录 /// SERVER_LOGIN = 3, /// /// 账户 /// SERVER_ACCOUNT = 4, /// /// 风控 /// SERVER_RISK = 5, /// /// 交易 /// SERVER_TRADE = 6, /// /// 控制 /// SERVER_CTRL = 7, /// /// 交割 /// SERVER_DELIVERY = 8, /// /// 履约 /// SERVER_PERFORMANCE = 10, /// /// 银行 /// SERVER_BANK = 11, /// /// 行情报价 /// SERVER_QUOTE = 12, /// /// 仓单 /// SERVER_WR = 21 } /// // 履约结算节点ID /// public enum ePerformanceReckonNodeID { /// /// 履约服务履约结算节点ID /// PERFORMANCERECKNODEID_PERFORMANC = 1, /// /// 履约服务违约结算节点ID /// PERFORMANCERECKNODEID_CONTRACTED = 2 } /// // 特殊市场ID /// public enum eSpeicalMarketID { /// /// 系统 /// SPEICAL_MARKET_SYSTEM = 0, /// /// 交割 /// SPEICAL_MARKET_DELIVERY = 1, /// /// 账户 /// SPEICAL_MARKET_ACCOUNT = 2, /// /// 履约 /// SPEICAL_MARKET_PERFORMANCE = 3, /// /// 仓单 /// SPEICAL_MARKET_WR = 4, /// /// 积分 /// SPEICAL_MARKET_SCORE = 5, /// /// 银行 /// SPEICAL_MARKET_BANK = 6, /// /// 供应链金融 /// SPEICAL_MARKET_SCF = 7, /// /// 行情接入 /// SPEICAL_MARKET_QUOTE_SOURCE = 100, /// /// 行情处理 /// SPEICAL_MARKET_QUOTE_PRICE = 101, /// /// 行情发布 /// SPEICAL_MARKET_QUOTE_PUBLISH = 102 } /// // 库位操作类别 /// public enum eWarehouseSiteKinds { /// /// 冻结 /// WAREHOUSE_FROZEN = 1, /// /// 履约冻结 /// WAREHOUSE_PERFORMANCE_FROZEN = 2, /// /// 解冻 /// WAREHOUSE_UNFROZEN = 3, /// /// 履约解冻 /// WAREHOUSE_PERFORMANCE_UNFROZEN = 4 } /// // 仓单生成头寸类别 /// public enum eSplitSrcPosType { /// /// 订单头寸(交割) /// SPLIT_SRC_HOLD_POS = 1, /// /// 仓单头寸(仓单贸易) /// SPLIT_SRC_RECEIPT_POS = 2 } /// // 供应链金融合同类型 /// public enum eSCFContractType { /// /// 仓单回购 /// SCF_CONTRACT_TYPE_WRR = 1, /// /// 仓单质押 /// SCF_CONTRACT_TYPE_WRM = 2, /// /// 合作套保 /// SCF_CONTRACT_TYPE_CH = 3, /// /// 资金贷款 /// SCF_CONTRACT_TYPE_LOAN = 4 } /// // 供应链金融流程步骤 /// public enum eSCFProcessStep { /// /// 资金划转 /// SCF_PROCESS_STEP_FUND_TRANSFER = 1, /// /// 支付首笔保证金 /// SCF_PROCESS_STEP_PAY_FIRST_MARGIN = 2, /// /// 合同激活 /// SCF_PROCESS_STEP_CONTRACT_ACTIVE = 3, /// /// 手动结息 /// SCF_PROCESS_STEP_MANUAL_INTEREST = 4, /// /// 仓单回购、购回仓单 /// SCF_PROCESS_STEP_WRR = 5, /// /// 支付欠款 /// SCF_PROCESS_STEP_PAYMENT_ARREAR = 6, /// /// 结算 /// SCF_PROCESS_STEP_SETTLE = 7, /// /// 违约确认 /// SCF_PROCESS_STEP_BERACH_CONFIRM = 8, /// /// 违约处理 /// SCF_PROCESS_STEP_BERACH_HANDLE = 9, /// /// 关闭合同 /// SCF_PROCESS_STEP_CLOSE_CONTRACT = 10, /// /// 合同确认 /// SCF_PROCESS_STEP_CONTRACT_CONFIRM = 11, /// /// 确认放款 /// SCF_PROCESS_STEP_CONFIRM_LOAN = 12, /// /// 增加合作方资金 /// SCF_PROCESS_STEP_ADD_PARTANER_MONEY = 13, /// /// 手动还款 /// SCF_PROCESS_STEP_MANUAL_REPAY = 14 } /// // 供应链金融业务步骤 /// public enum eSCFProcessSubStep { /// /// 收到业务请求 /// SCF_SUB_STEP_RECV_REQ = 1, /// /// 发送业务成功应答 /// SCF_SUB_STEP_SEND_SUCCESS_RSP = 2, /// /// 发送业务失败应答 /// SCF_SUB_STEP_SEND_FAILED_RSP = 3, /// /// 发给账户服务冻结资金请求 /// SCF_SUB_STEP_SEND_ACC_FREEZE_FUND_REQ = 4, /// /// 收到账户服务冻结成功资金应答 /// SCF_SUB_STEP_RECV_ACC_FREEZE_FUND_SUCCESS_RSP = 5, /// /// 收到账户服务冻结失败资金应答 /// SCF_SUB_STEP_RECV_ACC_FREEZE_FUND_FAILED_RSP = 6, /// /// 发给账户服务解冻资金请求 /// SCF_SUB_STEP_SEND_ACC_UNFREEZE_FUND_REQ = 7, /// /// 收到账户服务解冻资金成功应答 /// SCF_SUB_STEP_RECV_ACC_UNFREEZE_FUND_SUCCESS_RSP = 8, /// /// 收到账户服务解冻资金失败应答 /// SCF_SUB_STEP_RECV_ACC_UNFREEZE_FUND_FAILED_RSP = 9, /// /// 发给账户服务解冻扣款请求 /// SCF_SUB_STEP_SEND_ACC_UNFREEZE_FUND_AND_PAY_REQ = 10, /// /// 收到账户服务解冻扣款成功应答 /// SCF_SUB_STEP_RECV_ACC_UNFREEZE_FUND_AND_PAY_SUCCESS_RSP = 11, /// /// 收到账户服务解冻扣款失败应答 /// SCF_SUB_STEP_RECV_ACC_UNFREEZE_FUND_AND_PAY_FAILED_RSP = 12, /// /// 发给账户服务入款请求 /// SCF_SUB_STEP_SEND_ACC_DEPOSIT_FUND_REQ = 13, /// /// 收到账户服务入款成功应答 /// SCF_SUB_STEP_RECV_ACC_DEPOSIT_FUND_SUCCESS_RSP = 14, /// /// 收到账户服务入款失败应答 /// SCF_SUB_STEP_RECV_ACC_DEPOSIT_FUND_FAILED_RSP = 15, /// /// 发给账户服务冻结头寸请求 /// SCF_SUB_STEP_SEND_ACC_FREEZE_POS_REQ = 16, /// /// 收到账户服务冻结头寸成功应答 /// SCF_SUB_STEP_RECV_ACC_FREEZE_POS_SUCCESS_RSP = 17, /// /// 收到账户服务冻结头寸失败应答 /// SCF_SUB_STEP_RECV_ACC_FREEZE_POS_FAILED_RSP = 18, /// /// 发给账户服务解冻头寸请求 /// SCF_SUB_STEP_SEND_ACC_UNFREEZE_POS_REQ = 19, /// /// 收到账户服务解冻头寸成功应答 /// SCF_SUB_STEP_RECV_ACC_UNFREEZE_POS_SUCCESS_RSP = 20, /// /// 收到账户服务解冻头寸失败应答 /// SCF_SUB_STEP_RECV_ACC_UNFREEZE_POS_FAILED_RSP = 21, /// /// 发给仓单服务库位冻结请求 /// SCF_SUB_STEP_SEND_WR_SITE_REQ = 22, /// /// 收到仓单服务库位冻结成功应答 /// SCF_SUB_STEP_RECV_WR_SITE_SUCCESS_RSP = 23, /// /// 收到仓单服务库位冻结失败应答 /// SCF_SUB_STEP_RECV_WR_SITE_FAILED_RSP = 24, /// /// 发给仓单服务库位拆分请求 /// SCF_SUB_STEP_SEND_WR_SPLIT_REQ = 25, /// /// 收到仓单服务库位拆分成功应答 /// SCF_SUB_STEP_RECV_WR_SPLIT_SUCCESS_RSP = 26, /// /// 收到仓单服务库位拆分失败应答 /// SCF_SUB_STEP_RECV_WR_SPLIT_FAILED_RSP = 27, /// /// 发给仓单服务仓单转移请求 /// SCF_SUB_STEP_SEND_WR_MOVE_REQ = 28, /// /// 收到仓单服务仓单转移成功应答 /// SCF_SUB_STEP_RECV_WR_MOVE_SUCCESS_RSP = 29, /// /// 收到仓单服务仓单转移失败应答 /// SCF_SUB_STEP_RECV_WR_MOVE_FAILED_RSP = 30, /// /// 发给账户服务最大扣款请求 /// SCF_SUB_STEP_SEND_ACC_MAX_PAY_REQ = 31, /// /// 收到账户服务最大扣款成功应答 /// SCF_SUB_STEP_SEND_ACC_MAX_PAY_RSP = 32, /// /// 发送业务成功通知 /// SCF_SUB_STEP_SEND_SUCCESS_NOTIFY = 31, /// /// 发送业务失败通知 /// SCF_SUB_STEP_SEND_FAILED_NOTIFY = 32, /// /// 结算开始 /// SCF_SUB_STEP_NODESTATUS_BEGIN = 33, /// /// 结算成功 /// SCF_SUB_STEP_NODESTATUS_SUCCESS = 34, /// /// 结算失败 /// SCF_SUB_STEP_NODESTATUS_FAILED = 35 } /// // 供应链金融合同状态 /// public enum eSCFContractStatus { /// /// 新建 /// SCF_CONTRACTSTATUS_NEW = 1, /// /// 已确认 /// SCF_CONTRACTSTATUS_CONFIRMED = 2, /// /// 确认拒绝 /// SCF_CONTRACTSTATUS_CONFIRMED_REJECTION = 3, /// /// 已支付保证金 /// SCF_CONTRACTSTATUS_PAID_DEPOSIT = 4, /// /// 已激活 /// SCF_CONTRACTSTATUS_ALREADY_ACTIVATED = 5, /// /// 已违约 /// SCF_CONTRACTSTATUS_DEFAULTING = 6, /// /// 到期结束 /// SCF_CONTRACTSTATUS_MATURITY_END = 7, /// /// 延期结束 /// SCF_CONTRACTSTATUS_DEFERRED_END = 8, /// /// 违约结束 /// SCF_CONTRACTSTATUS_DEFAULT_END = 9, /// /// 已注销 /// SCF_CONTRACTSTATUS_LOGOUT = 10, /// /// 已关闭 /// SCF_CONTRACTSTATUS_CLOSE = 11 } /// // 供应链金融结算步骤 /// public enum eSCFSettleStep { /// /// 结算开始 /// SCFSETTLESTEP_START = 1, /// /// 计算风险率 /// SCFSETTLESTEP_CURRISKRATE = 2, /// /// 结算进行中 /// SCFSETTLESTEP_INPROCESS = 3, /// /// 结算成功 /// SCFSETTLESTEP_SUCCESS = 4, /// /// 结算失败 /// SCFSETTLESTEP_FAILED = 5 } /// // 供应链金融是否自动放款 /// public enum eSCFIsAutoLoan { /// /// 手动 /// SCF_ISAUTOLOAN_MANUAL = 0, /// /// 自动 /// SCF_ISAUTOLOAN_AUTO = 1 } /// // 供应链金融结息方式 /// public enum eSCFInterestSettleMode { /// /// 按日结息 /// SCF_INTERESTSETTLEMODE_DAY = 1, /// /// 按周结息 /// SCF_INTERESTSETTLEMODE_WEEK = 2, /// /// 按月结息 /// SCF_INTERESTSETTLEMODE_MONTH = 3 } /// // 供应链金融风控模式 /// public enum eSCFRiskMode { /// /// 比率 /// SCF_SCFRISKMODE_RATIO = 1, /// /// 固定 /// SCF_SCFRISKMODE_FIXED = 2 } /// // 供应链金融结算资金处理类型 /// public enum eSCFReckonAmountType { /// /// A类 /// SCF_RECKONAMOUNTTYPE_A = 1, /// /// B类 /// SCF_RECKONAMOUNTTYPE_B = 2, /// /// C类 /// SCF_RECKONAMOUNTTYPE_C = 3 } /// // 供应链金融计息标志 /// public enum eSCFInterestFlag { /// /// 停止计息 /// SCF_INTERESTFLAG_STOP = 0, /// /// 启动计息 /// SCF_INTERESTFLAG_START = 1 } /// // 供应链金融合同关闭方 /// public enum eSCFContractCloseRole { /// /// 贷款方 /// SCF_CONTRACTCLOSEROLE_LENDER = 1, /// /// 借款方 /// SCF_CONTRACTCLOSEROLE_BORROWER = 2 } /// // 供应链金融合同处理状态 /// public enum eSCFHandleStatus { /// /// 待处理 /// SCF_HANDLESTATUS_TREATED = 1, /// /// 已处理 /// SCF_HANDLESTATUS_ALREADY_PROCESSED = 2, /// /// 处理失败 /// SCF_HANDLESTATUS_FAILURE = 3 } /// // 供应链金融结息状态 /// public enum eSCFCloseInterestStatus { /// /// 未结 /// SCF_CLOSEINTERESTSTATUS_NOT = 1, /// /// 已结 /// SCF_CLOSEINTERESTSTATUS_ALREADY = 2 } /// // 供应链金融违约状态 /// public enum eSCFBreachStatus { /// /// 未完成 /// SCF_BREACHSTATUS_NOT = 1, /// /// 已完成 /// SCF_BREACHSTATUS_ALREADY = 2 } /// // 供应链金融流水类型 /// public enum eSCFSCFContractLogType { /// /// 合同录入 /// SCF_SCFCONTRACTLOGTYPE_CONTRACTINPUT = 1, /// /// 合同确认 /// SCF_SCFCONTRACTLOGTYPE_CONFIRM = 2, /// /// 合同激活 /// SCF_SCFCONTRACTLOGTYPE_ACTIVE = 3, /// /// 仓单回购 /// SCF_SCFCONTRACTLOGTYPE_REPURCHASE = 4, /// /// 手动支付欠款 /// SCF_SCFCONTRACTLOGTYPE_MANUAL_PAYMENTARREARS = 5, /// /// 自动结息 /// SCF_SCFCONTRACTLOGTYPE_AUTO_INTERESTSETTLE = 6, /// /// 自动追缴保证金 /// SCF_SCFCONTRACTLOGTYPE_AUTO_RECOVERRISKRATE = 7, /// /// 自动到期 /// SCF_SCFCONTRACTLOGTYPE_AUTO_EXPIRE = 8, /// /// 违约处理 /// SCF_SCFCONTRACTLOGTYPE_BREACH = 9, /// /// 手动关闭 /// SCF_SCFCONTRACTLOGTYPE_MANUAL_CLOSE = 10, /// /// 手动结算 /// SCF_SCFCONTRACTLOGTYPE_MANUAL_SETTLE = 11 } /// // 仓单持仓转换类型 /// public enum eWRHolderTranslateType { /// /// 仓单转持仓 /// WRHOLDER_TRANSLATETYPE_WRTOHOLDER = 1, /// /// 持仓转仓单 /// WRHOLDER_TRANSLATETYPE_HOLDERTOWR = 2 } /// // 仓单持仓转换解冻标志 /// public enum eWRHolderTranslateUnfreezeFlag { /// /// 需解冻 /// WRHOLDER_TRANSLATE_UNFREEZEFLAG_TRUE = 1, /// /// 不解冻 /// WRHOLDER_TRANSLATE_UNFREEZEFLAG_FALSE = 2 } /// // 提货状态对应表TakeDeliveryRequest /// public enum eLadingStatus { /// /// 待审核 /// LADING_PENDING = 1, /// /// 审核通过 /// LADING_PASS = 2, /// /// 审核拒绝 /// LADING_REFUSE = 3, /// /// 已撤消 /// LADING_CANCEL = 4, /// /// 失败 /// LADING_FAILED = 5, /// /// 提货完成 /// LADING_OK = 6 } /// // 通道交易消息ID /// public enum eMessageID { /// /// 登录请求 /// MID_LOGINREQ = 1, /// /// 登录响应 /// MID_LOGINRSP = 2, /// /// 登出请求 /// MID_LOGOUTREQ = 3, /// /// 登出响应 /// MID_LOGOUTRSP = 4, /// /// 查询资金信息请求 /// MID_QUERYACCOUNTMONEYREQ = 1001, /// /// 查询资金信息应答 /// MID_QUERYACCOUNTMONEYRSP = 1002, /// /// 查询持仓汇总请求 /// MID_QUERYPOSITIONREQ = 1003, /// /// 查询持仓汇总应答 /// MID_QUERYPOSITIONRSP = 1004, /// /// 查询持仓明细请求 /// MID_QUERYPOSITIONDETAILREQ = 1005, /// /// 查询持仓明细应答 /// MID_QUERYPOSITIONDETAILRSP = 1006, /// /// 查询报单请求 /// MID_QUERYORDERREQ = 1007, /// /// 查询报单应答 /// MID_QUERYORDERRSP = 1008, /// /// 查询成交请求 /// MID_QUERYTRADEREQ = 1009, /// /// 查询成交应答 /// MID_QUERYTRADERSP = 1010, /// /// 查询合约请求 /// MID_QUERYINSTRUMENTREQ = 1011, /// /// 查询合约应答 /// MID_QUERYINSTRUMENTRSP = 1012, /// /// 报单录入请求 /// MID_INPUTORDERREQ = 2001, /// /// 报单录入应答 /// MID_INPUTORDERRSP = 2002, /// /// 报单修改请求 /// MID_ORDERACTIONREQ = 2003, /// /// 报单修改应答 /// MID_ORDERACTIONRSP = 2004, /// /// 报单通知 /// MID_NOTICEORDER = 3001, /// /// 成交通知 /// MID_NOTICETRADE = 3002, /// /// 实时行情订阅请求 /// MID_QUTATIONSUBSCRIBEREQ = 4001, /// /// 实时行情订阅应答 /// MID_QUTATIONSUBSCRIBERSP = 4002, /// /// 实时行情推送 /// MID_NOTICEQUTATION = 4003 } /// // 交易通道编号 /// public enum eChannelIDType { /// /// 综合交易平台 /// CID_CTP = 1, /// /// 安粮期货 /// CID_ATP = 2, /// /// 盈透 /// CID_IB = 3 } /// // 持仓多空方向 /// public enum ePositionDirection { /// /// 净 /// PD_NET = 1, /// /// 多头 /// PD_LONG = 2, /// /// 空头 /// PD_SHORT = 3 } /// // 建平仓标志 /// public enum eOffsetFlag { /// /// 建仓 /// OF_OPEN = 0, /// /// 平仓 /// OF_CLOSE = 1, /// /// 强平 /// OF_FORCECLOSE = 2, /// /// 平今 /// OF_CLOSETODAY = 3, /// /// 平昨 /// OF_CLOSEYESTERDAY = 4 } /// // 委托价格类型 /// public enum eOrderPriceType { /// /// 任意价 /// OPT_ANYPRICE = 1, /// /// 限价 /// OPT_LIMITPRICE = 2, /// /// 最优价 /// OPT_BESTPRICE = 3, /// /// 最新价 /// OPT_LASTPRICE = 4 } /// // 有效期类型 /// public enum eTimeConditionType { /// /// 立即完成,否则撤销 /// TC_IOC = 1, /// /// 本节有效 /// TC_GFS = 2, /// /// 当日有效 /// TC_GFD = 3, /// /// 指定日期前有效 /// TC_GTD = 4, /// /// 撤销前有效 /// TC_GTC = 5, /// /// 集合竞价有效 /// TC_GFA = 6 } /// // 报单提交状态 /// public enum eOrderSubmitStatusType { /// /// 已经提交 /// OSS_INSERTSUBMITTED = 0, /// /// 撤单已经提交 /// OSS_CANCELSUBMITTED = 1, /// /// 修改已经提交 /// OSS_MODIFYSUBMITTED = 2, /// /// 已经接受 /// OSS_ACCEPTED = 3, /// /// 报单已经被拒绝 /// OSS_INSERTREJECTED = 4, /// /// 撤单已经被拒绝 /// OSS_CANCELREJECTED = 5, /// /// 改单已经被拒绝 /// OSS_MODIFYREJECTED = 6 } /// // 报单状态类型 /// public enum eOrderStatusType { /// /// 全部成交 /// OST_ALLTRADED = 0, /// /// 部分成交还在队列中 /// OST_PARTTRADEDQUEUEING = 1, /// /// 部分成交不在队列中 /// OST_PARTTRADEDNOTQUEUEING = 2, /// /// 未成交还在队列中 /// OST_NOTRADEQUEUEING = 3, /// /// 未成交不在队列中 /// OST_NOTRADENOTQUEUEING = 4, /// /// 撤单 /// OST_CANCELED = 5, /// /// 未知 /// OST_UNKNOWN = 6, /// /// 尚未触发 /// OST_NOTTOUCHED = 7, /// /// 已触发 /// OST_TOUCHED = 8, /// /// 已撤单报单被拒绝 /// OST_INSERTREJECTED = 9 } /// // 报单状态类型 /// public enum eMhpOrderStatusType { /// /// 接口平台拒绝 /// MOST_MHPREJECTED = 1, /// /// 接口平台已接收(未报送至对应渠道) /// MOST_MHPRECEIVED = 2, /// /// 待确认(已报送至对应渠道) /// MOST_TOBECONFIRMED = 3, /// /// 渠道前置拒绝 /// MOST_CHANNELFRONTREJECTED = 4, /// /// 渠道核心拒绝 /// MOST_CHANNELCOREREJECTED = 5, /// /// 未成交(对应渠道已经返回结果) /// MOST_NOTRADEQUEUEING = 6, /// /// 已撤 /// MOST_CANCELED = 7, /// /// 部分成交还在队列(部成) /// MOST_PARTTRADEDQUEUEING = 8, /// /// 部分成交不在队列(部撤) /// MOST_PARTTRADEDNOTQUEUEING = 9, /// /// 全部成交 /// MOST_ALLTRADED = 10 } /// // 价格源类型 /// public enum ePriceSourceType { /// /// 前成交价 /// PSRC_LASTPRICE = 0, /// /// 买委托价 /// PSRC_BUY = 1, /// /// 卖委托价 /// PSRC_SELL = 2 } /// // 投机套保标志 /// public enum eHedgeFlagType { /// /// 投机 /// HF_SPECULATION = 1, /// /// 套利 /// HF_ARBITRAGE = 2, /// /// 套保 /// HF_HEDGE = 3, /// /// 做市商 /// HF_MARKETMAKER = 5 } /// // 持仓日期类型 /// public enum ePositionDateType { /// /// 今日持仓 /// PSD_TODAY = 1, /// /// 历史持仓 /// PSD_HISTORY = 2 } /// // 撤单的操作类型 /// public enum eWROrderCancelOpType { /// /// 委托撤单 /// WRORDERCANCELOPTYPE_ORDER = 1 } /// // 仓单贸易类型 /// public enum eWRTradeOrderType { /// /// 挂牌 /// WRTRADEORDERTYPE_LISTING = 1, /// /// 摘牌 /// WRTRADEORDERTYPE_DELISTING = 2 } /// // 仓单贸易价格方式 /// public enum eWRTradePriceType { /// /// 固定价 /// WRTRADEPRICETYPE_FIXED_PRICE = 1, /// /// 浮动价 /// WRTRADEPRICETYPE_FLOAT_PRICE = 2 } /// // 仓单贸易委托状态 /// public enum eWRTradeOrderStatus { /// /// 委托请求 /// WRTRADEORDERSTATUS_REQUEST = 1, /// /// 待冻结 /// WRTRADEORDERSTATUS_WAITFREEZE = 2, /// /// 委托成功 /// WRTRADEORDERSTATUS_SUCCEED = 3, /// /// 委托失败 /// WRTRADEORDERSTATUS_FAILED = 4, /// /// 配对成功 /// WRTRADEORDERSTATUS_MATCHED = 5, /// /// 已撤 /// WRTRADEORDERSTATUS_CANCELED = 6, /// /// 已成 /// WRTRADEORDERSTATUS_DEALED = 7, /// /// 成交失败 /// WRTRADEORDERSTATUS_DEALFAILED = 8, /// /// 委托拒绝 /// WRTRADEORDERSTATUS_DENIED = 9, /// /// 挂牌部分成交 /// WRTRADEORDERSTATUS_LISTING_PARTTRADE = 10, /// /// 仓单生成失败 /// WRTRADEORDERSTATUS_WR_FAILED = 11, /// /// 首付扣款失败 /// WRTRADEORDERSTATUS_FIRSTPAYMENT_DEDUCT_FAILED = 12, /// /// 履约失败 /// WRTRADEORDERSTATUS_PERFORMANCE_FAILED = 13, /// /// 撤单解冻贷款失败 /// WRTRADEORDERSTATUS_CANCELE_UNFREZZE_FAILED = 14 } /// // 消息账户记录类型 /// public enum eRecordType { /// /// 资金 /// MSG_ACCOUNT_REC_TYPE_AMOUNT = 1, /// /// 头寸 /// MSG_ACCOUNT_REC_TYPE_POSTION = 2 } #endregion