/// // 交易模式 /// public enum eTradeMode { #region MTP1.0 QuotePAndX = 500, /// /// 托管计划 /// Deposit = 501, /// /// 所有商品 /// AllGoods = 502, /// /// 我的自选 /// MySelected = 503, /// /// 资金汇总 /// AmountSum = 504, /// /// 发售 /// TRADEMODE_SALE = 2, /// /// 竞价即期=混合 /// TRADEMODE_BIDDINGMARKETMAKE = 3, /// /// 挂牌 /// TRADEMODE_HANGTAG = 6, #endregion /// /// 做市 /// TRADEMODE_MARKETMAKE = 10, /// /// 竞价 /// TRADEMODE_BIDDING = 13, /// /// 通道交易 /// TRADEMODE_ENTRUST_HEDGE = 15, /// /// 挂牌点选 /// TRADEMODE_LISTING_SELECT = 16, /// /// 仓单贸易 /// TRADEMODE_SPOT_WRTRADE = 17, /// /// 期权贸易 /// TRADEMODE_OPTION = 18, /// /// 竞拍-降价式 /// TRADEMODE_AUCTIONCUT = 19, /// /// 竞拍-竞价式 /// TRADEMODE_AUCTIONBID = 20, /// /// 竞拍-大宗式 /// TRADEMODE_AUCTIONBULK = 21, /// /// 受托竞价 /// TRADEMODE_ENTRUSTBID = 22, /// /// 预售集采 /// TRADEMODE_PRESALE = 23, /// /// 竞拍-降价式(无仓单) /// TRADEMODE_AUCTIONCUTNOWR = 24, /// /// 点价点选贸易 /// TRADEMODE_POINTANDSELECT = 25, /// /// 挂牌期权 /// TRADEMODE_LISTINGOPTION = 26, /// /// 招投标 /// TRADEMODE_TENDER = 27, /// /// 币币兑换 /// TRADEMODE_COINEXCHANGE = 32, /// /// 竞拍-荷兰式 /// TRADEMODE_AUCTIONDUTCH = 34, /// /// 场外期权-单向 /// TRADEMODE_OTCOPTION_ONEWAY = 35, /// /// 法币C2C /// TRADEMODE_COINC2C = 36, /// /// 挂牌点选-尚志 /// TRADEMODE_SZDZ_LS = 75, /// /// 竞拍-金点拍 /// TRADEMODE_SZDZ_JDP = 76, /// /// 现货商城 /// TRADEMODE_SPOTSHOP = 77, /// /// 报价系统 /// TRADEMODE_SPOTQUOTE = 78, /// /// 挂牌系统 /// TRADEMODE_SPOTLISTING = 79 } /// // 交易属性 /// public enum eTradeProperty { /// /// 收益权(可做空) /// TRADEPROPERTY_CANSHORT = 1, /// /// 所有权(不可做空) /// TRADEPROPERTY_NOSHORT = 2, /// /// 期权 /// TRADEPROPERTY_OPTION = 3, /// /// 现货 /// TRADEPROPERTY_CANGOODS = 4, /// /// 参考行情 /// TRADEPROPERTY_REFERENCEQUOTES = 5, /// /// 通道交易 /// TRADEPROPERTY_CHANNELTRADE = 6, /// /// 币交易 /// TRADEPROPERTY_COINEXCHANGE = 7, /// /// 场外期权 /// TRADEPROPERTY_OTCOPTION = 8 } /// // 持仓类型 /// 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, /// /// 交割协议转让 /// ORDERTYPE_DELIVERY_TRANSFER = 7, /// /// 交割协议平仓 /// ORDERTYPE_DELIVERY_CLOSE = 8, /// /// 交割成交(所有权) /// ORDERTYPE_DELIVERY_TRADE = 9, /// /// 受托市价 /// ORDERTYPE_ENTRUST_MARKET = 10, /// /// 受托限价 /// ORDERTYPE_ENTRUST_LIMIT = 11, /// /// 管理端协议转让 /// ORDERTYPE_MANAGE_TRANSFER = 12 } /// // 触发条件 /// 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, /// /// 报价终端 /// CLIENTTYPE_QUOTE_CLIENT = 9, /// /// 交易接口 /// CLIENTTYPE_TRADE_INTERFACE = 10 } /// // 消息状态 /// public enum eMessageStatus { /// /// 待发送 /// MESSAGESTATUS_PENDING = 1, /// /// 发送完成 /// MESSAGESTATUS_FINISHED = 2 } /// // 成交类型 /// public enum eTradeType { /// /// 正常委托成交 /// TRADETYPE_NORMAL_ORDER_DEAL = 1, /// /// 定向做市成交(接单) /// TRADETYPE_DIRECTED_MM_DEAL = 2, /// /// 交割协议平仓成交 /// TRADETYPE_DELIVERY_AGREECLOSE_DEAL = 3, /// /// 交割减仓成交 /// TRADETYPE_DELIVERY_AGREEREDUCE_DEAL = 4, /// /// 到期强平成交 /// TRADETYPE_EXPIRE_FORCE = 5, /// /// 风控斩仓成交 /// TRADETYPE_RISK_FORCE = 6, /// /// 协议平仓(管理端)成交 /// TRADETYPE_AGREECLOSE_MANAGE_DEAL = 7, /// /// 仓单转持仓成交 /// TRADETYPE_WAREHOUSETOPOSITION = 8, /// /// 协议转让成交 /// TRADETYPE_DELIVERY_TRANSFER = 9, /// /// 受托竞价成交(接单) /// TRADETYPE_ENTRUSTBID_ACCEPT = 10, /// /// 协议转让成交 /// TRADETYPE_MANAGE_PROTO_TRANSFER = 11, /// /// 管理端强平成交 /// TRADETYPE_MANAGE_FORCE_CLOSE = 12, /// /// 违约平仓成交 /// TRADETYPE_BREACK_CLOSE = 13, /// /// 场外期权单向成交 /// TRADETYPE_OPTIONONEWAY = 14, /// /// 冻结头寸解冻申请 /// TRADETYPE_FREEZEPOS_UNFREEZE_REQUEST = 15, /// /// 冻结头寸商品配售 /// TRADETYPE_FREEZEPOS_GOODS_RATION = 16, /// /// 冻结头寸商品转让 /// TRADETYPE_FREEZEPOS_GOODS_TRANSFER = 17, /// /// 冻结头寸商品回购 /// TRADETYPE_FREEZEPOS_GOODS_BUYBACK = 18, /// /// 冻结头寸商品提货 /// TRADETYPE_FREEZEPOS_GOODS_PICKUP = 19 } /// // 成交明细状态 /// public enum eTradeDetailStatus { /// /// 待处理 /// TRADEDETAIL_STATUS_WAIT = 1, /// /// 已处理 /// TRADEDETAIL_STATUS_SECCESS = 2, /// /// 处理失败 /// TRADEDETAIL_STATUS_FAILED = 3, /// /// 履约完成 /// TRADEDETAIL_STATUS_PERFORMANCEFINISHED = 4 } /// // 下单类型 /// public enum eBuildType { /// /// 建仓 /// BUILDTYPE_OPEN = 1, /// /// 平仓 /// BUILDTYPE_CLOSE = 2, /// /// 先平后建 /// 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, /// /// 最后一口价 /// RECKONPRICEALGORITHM_LASTPRICE = 4, /// /// 买一价 /// RECKONPRICEALGORITHM_BID_ONE = 5, /// /// 卖一价 /// RECKONPRICEALGORITHM_ASK_ONE = 6, /// /// 买一卖一均价 /// RECKONPRICEALGORITHM_AVG_BID_ONE_ASK_ONE = 7, /// /// 外部结算价 /// RECKONPRICEALGORITHM_EXTENAL_RECKONPRICE = 8 } /// // 有效状态 /// 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, /// /// 补充交割 /// RUNSTEP_SUPPLEMENTDELIVERY = 3, /// /// 确认行权 /// RUNSTEP_CONFIRMEXERCISE = 4 } /// // 市场状态信号 /// public enum eRunStatus { /// /// 初始状态 /// RUNSTATUS_INIT = 0, /// /// 待开市 /// RUNSTATUS_PENDING = 1, /// /// 开市 /// RUNSTATUS_OPEN = 2, /// /// 休市 /// RUNSTATUS_PAUSE = 3, /// /// 手工休市 /// RUNSTATUS_PAUSE_MANUAL = 4, /// /// 闭市 /// RUNSTATUS_CLOSE = 5, /// /// 确认行权开始 /// RUNSTATUS_EXPIRE_BEGIN = 6, /// /// 确认行权结束 /// RUNSTATUS_EXPIRE_END = 7, /// /// 日终处理开始 /// RUNSTATUS_DAYEND_PROCESSING = 10, /// /// 日终处理成功 /// RUNSTATUS_DAYEND_SUCCESS = 11, /// /// 日终处理失败 /// RUNSTATUS_DAYEND_FAILED = 12, /// /// 基础服务结算开始 /// RUNSTATUS_BASIC_RECKONBEGIN = 13, /// /// 基础服务结算成功 /// RUNSTATUS_BASIC_RECKONSUCCESS = 14, /// /// 日终处理暂停 /// RUNSTATUS_DAYEND_PAUSE = 15, /// /// 资金结算开始 /// RUNSTATUS_RECKON_BEGIN = 23, /// /// 资金结算结束 /// RUNSTATUS_RECKON_FINISHED = 24, /// /// 资金结算失败 /// RUNSTATUS_RECKON_FAILED = 25, /// /// 系统结算成功 /// RUNSTATUS_SYS_RECKON_SUCCESS = 26, /// /// 系统结算失败 /// RUNSTATUS_SYS_RECKON_FAILED = 27, /// /// 盘中处理开始 /// RUNSTATUS_ONTHEPLATE_BEGIN = 28, /// /// 盘中处理成功 /// RUNSTATUS_ONTHEPLATE_SUCCESS = 29, /// /// 盘中处理失败 /// RUNSTATUS_ONTHEPLATE_FAILED = 30, /// /// 资金结算开始(内) /// RUNSTATUS_RECKON_BEGIN_INNER = 31, /// /// 资金结算结束(内) /// RUNSTATUS_RECKON_FINISHED_INNER = 32, /// /// 资金结算失败(内) /// RUNSTATUS_RECKON_FAILED_INNER = 33, /// /// 签到开始 /// 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_SYS_RECKON_BEGIN = 55, /// /// 交割时段开始 /// RUNSTATUS_DELIVERY_BEGIN = 56, /// /// 交割时段结束 /// RUNSTATUS_DELIVERY_END = 57, /// /// 补充交割开始 /// RUNSTATUS_SUPPLY_DELIVERY_BEGIN = 58, /// /// 补充交割结束 /// RUNSTATUS_SUPPLY_DELIVERY_END = 59, /// /// 市场清盘信号 /// RUNSTATUS_MARKET_CLEAR_UP_SIGNAL = 60, /// /// 继续结算 /// RUNSTATUS_CONTINUE_RECKON = 61, /// /// 今日免清算 /// RUNSTATUS_UNNEED_CLEAR = 62, /// /// 结束手工休市信号 /// 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, /// /// 处理中 /// HANDLESTATUS_PROCING = 5 } /// // 委托来源 /// public enum eOrderSrc { /// /// 客户端 /// ORDERSRC_CLIENT = 1, /// /// 管理端 /// ORDERSRC_MANAGE = 2, /// /// 风控服务 /// ORDERSRC_RISK = 3, /// /// 交割服务 /// ORDERSRC_DELIVERY = 4, /// /// 交易服务 /// ORDERSRC_TRADE = 5, /// /// 交易日结 /// ORDERSRC_DAYEND = 6, /// /// 商品强平 /// ORDERSRC_EXPIREFORCECLOSE = 7, /// /// 管理端商品退市强平 /// ORDERSRC_MANAGEFORCECLOSE = 8, /// /// 交易接口 /// ORDERSRC_TRADEINTERFACE = 9, /// /// 交收服务商被动 /// ORDERSRC_ENTRUSACCEPT = 10, /// /// 预埋触发 /// ORDERSRC_PREPOSORDER = 11, /// /// 自动报价服务 /// ORDERSRC_AUTOQUOTE = 12, /// /// 挂牌服务超期回购 /// ORDERSRC_SPOTBUYBACK = 13 } /// // 订单操作类型 /// public enum eOrderOperateType { /// /// 正常下单 /// ORDEROPERATETYPE_NORMAL = 1, /// /// 斩仓 /// ORDEROPERATETYPE_RISK = 2, /// /// 转单 /// ORDEROPERATETYPE_TRANSFER = 3, /// /// 结算撤单 /// ORDEROPERATETYPE_RECKON_CANCEL = 4, /// /// 系统卖出(适用于先平后建的卖出) /// ORDEROPERATETYPE_SYS_CLOSE = 5, /// /// 行情源报价 /// ORDEROPERATETYPE_QUOTEPRICE = 6, /// /// (结算)到期强平 /// ORDEROPERATETYPE_ONTIME_CLOSE = 7, /// /// (结算)协议转让 /// ORDEROPERATETYPE_DEAL_CLOSE = 8, /// /// 系统对冲单 /// ORDEROPERATETYPE_SYS_HEDGE = 9, /// /// (结算)到期无效 /// ORDEROPERATETYPE_RECKON_INVALID = 10, /// /// 交割协议转让 /// ORDEROPERATETYPE_DELIVERY_TRANSFER = 11, /// /// 交割协议平仓 /// ORDEROPERATETYPE_DELIVERY_CLOSE = 12, /// /// 交割成交(所有权) /// ORDEROPERATETYPE_DELIVERY_TRADE = 13, /// /// 管理端强行平仓 /// ORDEROPERATETYPE_MANAGEFORCE_CLOSE = 14, /// /// 管理端协议转让 /// ORDEROPERATETYPE_MANAGE_TRANSFER = 15, /// /// 管理端强行平仓阶段2 /// ORDEROPERATETYPE_MANAGEFORCE_CLOSE_LEVEL2 = 16, /// /// 违约平仓 /// ORDEROPERATETYPE_BREACK_CLOSE = 17, /// /// 管理端强行撤单 /// ORDEROPERATETYPE_MANAGEFORCE_CANCEL = 18, /// /// 预埋单委托 /// ORDEROPERATETYPE_PREPOSORDER_ORDER = 19, /// /// 预埋单撤单 /// ORDEROPERATETYPE_PREPOSORDER_CANCEL = 20, /// /// 风控撤单 /// ORDEROPERATETYPE_RISK_CANCEL = 21, /// /// (结算)会员到期强平 /// ORDEROPERATETYPE_ONTIME_MEMBER_CLOSE = 22 } /// // 订单状态 /// public enum eOrderStatus { /// /// 委托请求 /// ORDERSTATUS_REQUEST = 1, /// /// 待冻结 /// ORDERSTATUS_WAITFREEZE = 2, /// /// 委托成功 /// ORDERSTATUS_SUCCEED = 3, /// /// 委托失败 /// ORDERSTATUS_FAILED = 4, /// /// 配对成功 /// ORDERSTATUS_MATCHED = 5, /// /// 已撤 /// ORDERSTATUS_CANCELED = 6, /// /// 部成 /// ORDERSTATUS_PARTIALDEAL = 7, /// /// 已成 /// ORDERSTATUS_DEALED = 8, /// /// 部成部撤 /// ORDERSTATUS_PARTIALCANCELED = 9, /// /// 成交失败 /// ORDERSTATUS_DEALFAILED = 10, /// /// 委托拒绝 /// ORDERSTATUS_DENIED = 11, /// /// 经过摘牌(先摘后挂专用) /// ORDERSTATUS_MATCH = 12, /// /// 冻结成功(通道交易专用) /// ORDERSTATUS_FREEZE_SUCCESS = 13, /// /// 通道已撤 /// ORDERSTATUS_CHANNEL_CANCELED = 14, /// /// 通道部成部撤 /// ORDERSTATUS_CHANNEL_PARTIALCANCELED = 15, /// /// 成交失败违约(荷兰式竞拍专用) /// ORDERSTATUS_BREACHDEALFAILED = 16 } /// // 手续费收取规则 /// 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, /// /// 持仓保证金公式 /// TRADERULE_MARGINFORMULA = 117 } /// // 是否必填 /// 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, /// /// 卖交割手续费 /// TRADEFEE_SELLDELIVERYCHARGE = 106, /// /// 调期费 /// TRADEFEE_SWAPCHARGE = 107, /// /// 买过夜费 /// TRADEFEE_BUYINTEREST2 = 108, /// /// 卖过夜费 /// TRADEFEE_SELLINTEREST2 = 109, /// /// 利息 /// TRADEFEE_INTERESTCHARGE = 110, /// /// 买递延费2(仓储费2) /// TRADEFEE_BUYDEFERCHARGE = 111, /// /// 卖递延费2 /// TRADEFEE_SELLDEFERCHARGE = 112 } /// // 商品组状态 /// 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 { /// /// 待激活 /// ACCOUNTSTATUS_INACTIVE = 1, /// /// 待审核 /// ACCOUNTSTATUS_PENDINGAUDIT = 2, /// /// 待复审 /// ACCOUNTSTATUS_PENDINGREAUDIT = 3, /// /// 正常 /// ACCOUNTSTATUS_NORMAL = 4, /// /// 审核拒绝 /// ACCOUNTSTATUS_REJECT = 5, /// /// 已注销 /// ACCOUNTSTATUS_CANCELLED = 6 } /// // 登录账号类型 /// public enum eLoginUserType { /// /// 投资者 /// LOGINUSERTYPE_INVESTOR = 1, /// /// 机构交易员 /// LOGINUSERTYPE_TRADER = 2 } /// // 登陆类型 /// public enum eLoginType { /// /// 账号登陆 /// LOGINTYPE_ACCOUNT = 0, /// /// 手机号登陆 /// LOGINTYPE_MOBILEPHONE = 1, /// /// 微信号登陆 /// LOGINTYPE_WECHAT = 2, /// /// 三方认证登陆 /// LOGINTYPE_AUTH = 3 } /// // 登录账号状态 /// public enum eLoginStatus { /// /// 正常 /// LOGINSTATUS_NORMAL = 1, /// /// 冻结 /// LOGINSTATUS_FROZEN = 2, /// /// 无效 /// LOGINSTATUS_INVALID = 3 } /// // 签约状态 /// 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, /// /// 换签待审核 /// SIGNSTATUS_SWITCH_SIGN_BANK_FORAUDIT = 11 } /// // 母账户标识 /// public enum eIsMain { /// /// 不是母账户 /// ISMAIN_NO = 0, /// /// 是母账户 /// ISMAIN_YES = 1 } /// // 资金账号类型 /// public enum eTAAccountType { /// /// 外部账号 /// TAACCOUNTTYPE_OUTER = 1, /// /// 内部账号 /// TAACCOUNTTYPE_INNER = 2, /// /// 内部做市自营账号 /// TAACCOUNTTYPE_INNER_MARKETMAKER_DEALER = 3, /// /// 内部做市接单账号 /// TAACCOUNTTYPE_INNER_MARKETMAKER_ACCEPT = 4 } /// // 资金调整类型 /// 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_MANAGE_MAIN_TRANSFER = 104, /// /// 银行入金 /// 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_FREEZE = 314, /// /// 交易管理端修正建仓 /// ACCOUNTBIZCODE_TRADE_MANAGE_AMEND_HOLDER_OPEN = 315, /// /// 交易管理端修正平仓 /// ACCOUNTBIZCODE_TRADE_MANAGE_AMEND_HOLDER_CLOSE = 316, /// /// 三方入金 /// ACCOUNTBIZCODE_THIRD_IN_MONEY = 317, /// /// 三方出金冻结 /// ACCOUNTBIZCODE_THIRD_OUT_MONEY_FREEZE = 318, /// /// 三方出金解冻 /// ACCOUNTBIZCODE_THIRD_OUT_MONEY_UNFREEZE = 319, /// /// 币币兑换买方委托 /// ACCOUNTBIZCODE_COINEXCHANGE_BUY_ORDER = 320, /// /// 币币兑换卖方委托 /// ACCOUNTBIZCODE_COINEXCHANGE_SELL_ORDER = 321, /// /// 币币兑换买方付款成交 /// ACCOUNTBIZCODE_COINEXCHANGE_BUY_PAYER_DEAL = 322, /// /// 币币兑换买方收款成交 /// ACCOUNTBIZCODE_COINEXCHANGE_BUY_PAYEE_DEAL = 323, /// /// 币币兑换卖方付款成交 /// ACCOUNTBIZCODE_COINEXCHANGE_SELL_PAYEY_DEAL = 324, /// /// 币币兑换卖方收款成交 /// ACCOUNTBIZCODE_COINEXCHANGE_SELL_PAYEE_DEAL = 325, /// /// 币币兑换买方撤单 /// ACCOUNTBIZCODE_COINEXCHANGE_BUY_CANCEL = 326, /// /// 币币兑换卖方撤单 /// ACCOUNTBIZCODE_COINEXCHANGE_SELL_CANCEL = 327, /// /// 币币兑换报价冻结 /// ACCOUNTBIZCODE_COINEXCHANGE_QUOTE_FREEZE = 328, /// /// 三方出金 /// ACCOUNTBIZCODE_THIRD_OUT_MONEY = 329, /// /// 融资合同授信入金 /// ACCOUNTBIZCODE_CONTRACT_IN_MONEY = 330, /// /// 融资合同授信还款 /// ACCOUNTBIZCODE_CONTRACT_PAYBACK_MONEY = 331, /// /// 融资续期合同手续费冻结 /// ACCOUNTBIZCODE_RENEWALCONTRACT_FREEZE = 332, /// /// 融资续期合同手续费解冻 /// ACCOUNTBIZCODE_RENEWALCONTRACT_UNFREEZE = 333, /// /// 融资续期合同手续费解冻扣款 /// ACCOUNTBIZCODE_RENEWALCONTRACT_DEDUCT = 334, /// /// 币交易卖委托 /// ACCOUNTBIZCODE_COINC2C_SELL_ORDER = 350, /// /// 币交易卖成交 /// ACCOUNTBIZCODE_COINC2C_SELL_DEAL = 351, /// /// 币交易卖撤单 /// ACCOUNTBIZCODE_COINC2C_SELL_CANCEL = 352, /// /// 交割平仓委托 /// 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_DELIVERY_CHARGE = 410, /// /// 交割申请仓单订单查询 /// ACCOUNTBIZCODE_DELIVERY_APPLY_WAREHOUSE_QUERY = 411, /// /// 交割申请主商品头寸冻结 /// ACCOUNTBIZCODE_DELIVERY_APPLY_XPOSITION_FREEZE = 412, /// /// 交割申请主商品头寸解冻 /// ACCOUNTBIZCODE_DELIVERY_APPLY_XPOSITION_UNFREEZE = 413, /// /// 交割申请辅商品头寸冻结 /// ACCOUNTBIZCODE_DELIVERY_APPLY_PPOSITION_FREEZE = 414, /// /// 交割申请辅商品头寸解冻 /// ACCOUNTBIZCODE_DELIVERY_APPLY_PPOSITION_UNFREEZE = 415, /// /// 交割申请冻结仓单头寸 /// ACCOUNTBIZCODE_DELIVERY_APPLY_WRPOSTION_FREEZE = 416, /// /// 交割申请解冻仓单头寸 /// ACCOUNTBIZCODE_DELIVERY_APPLY_WRPOSTION_UNFREEZE = 417, /// /// 交割申请冻结货款 /// ACCOUNTBIZCODE_DELIVERY_APPLY_DELIVERYAMOUNT_FREEZE = 418, /// /// 交割申请解冻货款 /// ACCOUNTBIZCODE_DELIVERY_APPLY_DELIVERYAMOUNT_UNFREEZE = 419, /// /// 交割申请付款 /// ACCOUNTBIZCODE_DELIVERY_APPLY_PAYMENT = 420, /// /// 交割申请收款 /// ACCOUNTBIZCODE_DELIVERY_APPLY_RECEIPT = 421, /// /// 交割申报冻结货款 /// ACCOUNTBIZCODE_DELIVERY_FUND_FREEZE = 422, /// /// 交割申报解冻货款 /// ACCOUNTBIZCODE_DELIVERY_FUND_UNFREEZE = 423, /// /// 交割调期费 /// ACCOUNTBIZCODE_DELIVERY_SWAY_FEE = 424, /// /// 冻结货款(无仓单) /// ACCOUNTBIZCODE_DELIVERY_APPLY_NONWR_DELIVERYAMOUNT_FREEZE = 430, /// /// 解冻货款(无仓单) /// ACCOUNTBIZCODE_DELIVERY_APPLY_NONWR_DELIVERYAMOUNT_UNFREEZE = 431, /// /// 冻结主商品头寸(无仓单) /// ACCOUNTBIZCODE_DELIVERY_APPLY_NONWR_XPOSITION_FREEZE = 432, /// /// 解冻主商品头寸(无仓单) /// ACCOUNTBIZCODE_DELIVERY_APPLY_NONWR_XPOSITION_UNFREEZE = 433, /// /// 交割申报冻结货款(无仓单) /// ACCOUNTBIZCODE_DELIVERY_NONWR_DELIVERYAMOUNT_FREEZE = 434, /// /// 交割申报解冻货款(无仓单) /// ACCOUNTBIZCODE_DELIVERY_NONWR_DELIVERYAMOUNT_UNFREEZE = 435, /// /// 交割申报冻结主商品头寸(无仓单) /// ACCOUNTBIZCODE_DELIVERY_NONWR_XPOSITION_FREEZE = 436, /// /// 交割申报解冻主商品头寸(无仓单) /// ACCOUNTBIZCODE_DELIVERY_NONWR_XPOSITION_UNFREEZE = 437, /// /// 交收补偿费(无仓单) /// ACCOUNTBIZCODE_DELIVERY_NONWR_COMPENSATION_FEE = 438, /// /// 查询可点选头寸(无仓单) /// ACCOUNTBIZCODE_DELIVERY_NONWR_POSITION_QUERY = 439, /// /// 交割申请会员仓单订单查询 /// ACCOUNTBIZCODE_DELIVERY_MEMBER_APPLY_WAREHOUSE_QUERY = 440, /// /// 交割申请会员主商品头寸冻结 /// ACCOUNTBIZCODE_DELIVERY_MEMBER_APPLY_XPOSITION_FREEZE = 441, /// /// 交割申请会员主商品头寸解冻 /// ACCOUNTBIZCODE_DELIVERY_MEMBER_APPLY_XPOSITION_UNFREEZE = 442, /// /// 交割申请会员冻结仓单头寸 /// ACCOUNTBIZCODE_DELIVERY_MEMBER_APPLY_WRPOSTION_FREEZE = 445, /// /// 交割申请会员解冻仓单头寸 /// ACCOUNTBIZCODE_DELIVERY_MEMBER_APPLY_WRPOSTION_UNFREEZE = 446, /// /// 交割申请会员冻结货款 /// ACCOUNTBIZCODE_DELIVERY_MEMBER_APPLY_DELIVERYAMOUNT_FREEZE = 447, /// /// 交割申请会员解冻货款 /// ACCOUNTBIZCODE_DELIVERY_MEMBER_APPLY_DELIVERYAMOUNT_UNFREEZE = 448, /// /// 无仓单交割冻结履约保证金 /// ACCOUNTBIZCODE_DELIVERY_NONWR_PERFORMANCEMARGIN_FREEZE = 449, /// /// 履约卖方发货 /// 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_PERFORMANCE_UNFREEZE_PLAN_END = 511, /// /// 卖方释放履约前冻结剩余金额 /// ACCOUNTBIZCODE_PERFORMANCE_SELLER_UNFREEZE = 512, /// /// 仓单注册审核通过的仓单服务处理 /// 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_WR_MERGE_LOCATION = 611, /// /// 提货撤消 /// ACCOUNTBIZCODE_WR_LADING_CANCEL = 612, /// /// 退市订单转仓单请求 /// ACCOUNTBIZCODE_WR_H2R_DELIST = 613, /// /// 运费拒绝请求 /// ACCOUNTBIZCODE_WR_FREIGHT_REJECT = 614, /// /// 收货确认 /// ACCOUNTBIZCODE_WR_RECEIVE_CONFIRM = 615, /// /// 运费确认 /// ACCOUNTBIZCODE_WR_FREIGHT_CONFIRM = 616, /// /// 发货业务 /// ACCOUNTBIZCODE_WR_DELIVERY_DISTRIBUTE = 617, /// /// 运费收入 /// ACCOUNTBIZCODE_WR_FREIGHT_INCOME = 618, /// /// 重新发布 /// ACCOUNTBIZCODE_WR_RETRANSMIT_DISTRIBUTE = 619, /// /// 提货计划审核通过 /// ACCOUNTBIZCODE_WR_TAKE_PLAN = 620, /// /// 合同生效 /// ACCOUNTBIZCODE_WR_CONTRACT_FORCE = 621, /// /// 仓单贸易挂牌委托 /// ACCOUNTBIZCODE_WRTRADE_LISTING_ORDER = 701, /// /// 仓单贸易挂牌撤单 /// ACCOUNTBIZCODE_WRTRADE_LISTING_CANCEL = 702, /// /// 仓单贸易摘牌委托 /// ACCOUNTBIZCODE_WRTRADE_DELISTING_ORDER = 703, /// /// 仓单贸易摘牌成交 /// ACCOUNTBIZCODE_WRTRADE_DELISTING_DEAL = 704, /// /// 仓单贸易挂牌成交 /// ACCOUNTBIZCODE_WRTRADE_LISTING_DEAL = 705, /// /// 报价系统冻结仓单头寸 /// ACCOUNTBIZCODE_SPOTQUOTE_WRPOSTION_FREEZE = 706, /// /// 报价系统解冻仓单头寸 /// ACCOUNTBIZCODE_SPOTQUOTE_WRPOSTION_UNFREEZE = 707, /// /// 挂牌系统先撤后挂 /// ACCOUNTBIZCODE_WRTRADE_CANCELTEHNLISTING = 708, /// /// 供应链金融冻结 /// ACCOUNTBIZCODE_SCF_FREEZE = 801, /// /// 供应链金融扣款 /// ACCOUNTBIZCODE_SCF_DEDUCT = 802, /// /// 供应链金融收款 /// ACCOUNTBIZCODE_SCF_RECEIVE = 803, /// /// 供应链金融冻结仓单头寸 /// ACCOUNTBIZCODE_SCF_POS_FREEZE = 804, /// /// 供应链金融解冻仓单头寸 /// ACCOUNTBIZCODE_SCF_POS_UNFREEZE = 805, /// /// 供应链金融解冻扣减头寸 /// ACCOUNTBIZCODE_SCF_POS_UNFREEZE_DEDUCT = 806, /// /// 供应链金融增加头寸 /// ACCOUNTBIZCODE_SCF_POS_ADD = 807, /// /// 供应链金融最大扣款 /// ACCOUNTBIZCODE_SCF_MAX_DEDUCT = 808, /// /// 供应链金融合并仓单 /// ACCOUNTBIZCODE_SCF_WR_LOCATION_MARGE = 809, /// /// 供应链金融转移仓单 /// ACCOUNTBIZCODE_SCF_WR_LOCATION_MOVE = 810, /// /// 供应链金融风控通知 /// ACCOUNTBIZCODE_SCF_RISK_NTF = 811, /// /// 期权交易建仓委托 /// ACCOUNTBIZCODE_OPTION_OPEN_ORDER = 901, /// /// 期权交易建仓撤单 /// ACCOUNTBIZCODE_OPTION_OPEN_CANCEL = 902, /// /// 期权交易建仓成交 /// ACCOUNTBIZCODE_OPTION_OPEN_DEAL = 903, /// /// 期权交易平仓委托 /// ACCOUNTBIZCODE_OPTION_CLOSE_ORDER = 904, /// /// 期权交易平仓撤单 /// ACCOUNTBIZCODE_OPTION_CLOSE_CANCEL = 905, /// /// 期权交易平仓成交 /// ACCOUNTBIZCODE_OPTION_CLOSE_DEAL = 906, /// /// 扩展服务仓单头寸汇总查询 /// ACCOUNTBIZCODE_MS_WRPOSION_QUERY = 1001, /// /// 扩展服务仓单订单头寸冻结 /// ACCOUNTBIZCODE_MS_WRPOSION_FREEZE = 1002, /// /// 扩展服务仓单订单头寸扣减 /// ACCOUNTBIZCODE_MS_WRPOSION_DEDUCT = 1003, /// /// 扩展服务资金扣减请求 /// ACCOUNTBIZCODE_MS_MONEY_DEDUCT = 1004, /// /// 扩展服务资金增加请求 /// ACCOUNTBIZCODE_MS_MONEY_ADD = 1005, /// /// 扩展服务资金冻结请求 /// ACCOUNTBIZCODE_MS_MONEY_FREEZE = 1006, /// /// 扩展服务资金解冻扣减请求 /// ACCOUNTBIZCODE_MS_MONEY_UNFREEZE_DEDUCT = 1007, /// /// 扩展服务仓单订单头寸解冻 /// ACCOUNTBIZCODE_MS_WRPOSION_UNFREEZE = 1008, /// /// 扩展积分头寸查询 /// ACCOUNTBIZCODE_MS_SCOREPOSION_QUERY = 1009, /// /// 扩展交收分润扣款 /// ACCOUNTBIZCODE_MS_DELIVERY_DIVIDE_MONEY_DEDUCT = 1010, /// /// 扩展交收分润增加 /// ACCOUNTBIZCODE_MS_DELIVERY_DIVIDE_MONEY_ADD = 1011, /// /// 扩展交收红包返现扣款 /// ACCOUNTBIZCODE_MS_DELIVERY_RETURN_MONEY_DEDUCT = 1012, /// /// 扩展交收红包返现增加 /// ACCOUNTBIZCODE_MS_DELIVERY_RETURN_MONEY_ADD = 1013, /// /// 扩展交易分润资金扣款 /// ACCOUNTBIZCODE_MS_TRADE_DIVIDE_MONEY_DEDUCT = 1014, /// /// 扩展交易分润资金入款 /// ACCOUNTBIZCODE_MS_TRADE_DIVIDE_MONEY_ADD = 1015, /// /// 扩展交易交收配送费扣款 /// ACCOUNTBIZCODE_MS_EXPRESSFEE_MONEY_DEDUCT = 1016, /// /// 扩展交易交收配送费入款 /// ACCOUNTBIZCODE_MS_EXPRESSFEE_MONEY_ADD = 1017, /// /// 扩展购物分润资金扣款 /// ACCOUNTBIZCODE_MS_SHOPPING_DIVIDE_MONEY_DEDUCT = 1018, /// /// 扩展购物分润资金入款 /// ACCOUNTBIZCODE_MS_SHOPPING_DIVIDE_MONEY_ADD = 1019, /// /// 扩展盈利转积分扣款 /// ACCOUNTBIZCODE_MS_PROFIT_TOSCORE_MONEY_DEDUCT = 1020, /// /// 扩展盈利转积分入款 /// ACCOUNTBIZCODE_MS_PROFIT_TOSCORE_MONEY_ADD = 1021, /// /// 扩展购物分润交易所手续费扣款 /// ACCOUNTBIZCODE_MS_SHOPPING_DIVIDE_EXCH_DIV_DEDUCT = 1022, /// /// 积分服务积分头寸增加 /// ACCOUNTBIZCODE_SCORE_ADD = 1101, /// /// 积分服务积分头寸减少 /// ACCOUNTBIZCODE_SCORE_DOWN = 1102, /// /// 机构决算时积分回购 /// ACCOUNTBIZCODE_SCORE_RECKON_ADD = 1103, /// /// 决算时消灭过期积分 /// ACCOUNTBIZCODE_SCORE_RECKON_DESTROY = 1104, /// /// 积分结算冻结请求 /// ACCOUNTBIZCODE_SCORE_RECKON_FREEZE = 1105, /// /// 积分结算解冻请求 /// ACCOUNTBIZCODE_SCORE_RECKON_UNFREEZE = 1106, /// /// 积分清理积分商增加 /// ACCOUNTBIZCODE_SCORE_CLEAR_ADD = 1107, /// /// 积分清理冻结 /// ACCOUNTBIZCODE_SCORE_CLEAR_FREEZE = 1108, /// /// 积分清理解冻 /// ACCOUNTBIZCODE_SCORE_CLEAR_UNFREEZE = 1109, /// /// 积分撤单解冻 /// ACCOUNTBIZCODE_SCORE_CANCEL_UNFREEZE = 1110, /// /// 积分核销冻结请求 /// ACCOUNTBIZCODE_SCORE_CLOSEDOWN_FREEZE = 1111, /// /// 积分核销解冻请求 /// ACCOUNTBIZCODE_SCORE_CLOSEDOWN_UNFREEZE = 1112, /// /// 会员积分头寸减少 /// ACCOUNTBIZCODE_SCORE_LESSEN = 1113, /// /// 首次登陆送红包积分增加 /// ACCOUNTBIZCODE_SCORE_FRIST_LOAD_REDPACKET_ADD = 1114, /// /// 开户送红包积分增加 /// ACCOUNTBIZCODE_SCORE_OPENACC_REDPACKET_ADD = 1115, /// /// 开户推荐人红包增加 /// ACCOUNTBIZCODE_SCORE_OPEN_REFEREE_REDPACKET_ADD = 1116, /// /// 积分返还 /// ACCOUNTBIZCODE_SCORE_RESTORE = 1117, /// /// 积分资金互转 /// ACCOUNTBIZCODE_SCORE_MONEYSCOREEXCHANGE = 1118, /// /// 积分结算积分减少 /// ACCOUNTBIZCODE_SCORE_RECKON_DOWN = 1119, /// /// 买方竞拍委托 /// ACCOUNTBIZCODE_BUYAUCTION_ORDER = 1201, /// /// 竞拍违约扣款 /// ACCOUNTBIZCODE_AUCTION_BREACH_DEDUCT = 1202, /// /// 竞拍违约收款 /// ACCOUNTBIZCODE_AUCTION_BREACH_RECV = 1203, /// /// 竞拍资金冻结 /// ACCOUNTBIZCODE_AUCTION_AMOUNT_FREEZE = 1204, /// /// 买方竞拍成交 /// ACCOUNTBIZCODE_BUYAUCTION_TRADE = 1205, /// /// 卖方竞拍委托 /// ACCOUNTBIZCODE_SELLAUCTION_ORDER = 1206, /// /// 卖方竞拍成交 /// ACCOUNTBIZCODE_SELLAUCTION_TRADE = 1207, /// /// 买方竞拍撤单 /// ACCOUNTBIZCODE_BUYAUCTION_CANCEL = 1208, /// /// 卖方竞拍撤单 /// ACCOUNTBIZCODE_SELLAUCTION_CANCEL = 1209, /// /// 卖方竞拍申请注销 /// ACCOUNTBIZCODE_SELLAUCTION_APPLYCANCEL = 1210, /// /// 买方参与场次 /// ACCOUNTBIZCODE_BUYAUCTION_GOGROUP = 1211, /// /// 竞拍资金冻结 /// ACCOUNTBIZCODE_AUCTION_AMOUNT_FREEZEGROUP = 1212, /// /// 买方退出场次 /// ACCOUNTBIZCODE_BUYAUCTION_ENDGROUP = 1213, /// /// 竞拍返利扣款 /// ACCOUNTBIZCODE_AUCTION_REBATE_DEDUCT = 1214, /// /// 竞拍返利收款 /// ACCOUNTBIZCODE_AUCTION_REBATE_RECV = 1215, /// /// 竞拍资金解冻 /// ACCOUNTBIZCODE_AUCTION_AMOUNT_UNFREEZE = 1216, /// /// 竞拍审核 /// ACCOUNTBIZCODE_AUCTION_VERIFY = 1217, /// /// 金点拍累计拍得者大奖 /// ACCOUNTBIZCODE_AUCTION_PRIZE_PDZ_CUMULATIVE = 1218, /// /// 金点拍当期拍得者大奖 /// ACCOUNTBIZCODE_AUCTION_PRIZE_PDZ_CURRENT = 1219, /// /// 金点拍直推VIP当日TOPN奖励 /// ACCOUNTBIZCODE_AUCTION_PRIZE_VIP_TOPN = 1220, /// /// 金点拍用户VIP升级 /// ACCOUNTBIZCODE_AUCTION_USER_VIP_UPGRADE = 1221, /// /// 金点拍用户VIP升级奖励 /// ACCOUNTBIZCODE_AUCTION_USER_VIP_UPGRADE_PRIZE = 1222, /// /// 金点拍交易所手续费收入 /// ACCOUNTBIZCODE_AUCTION_EXCHANE_FEERECV = 1223, /// /// 金点拍抽奖 /// ACCOUNTBIZCODE_AUCTION_PRIZE_LOTTERY = 1224, /// /// 预售集采建仓委托 /// ACCOUNTBIZCODE_PRESALE_OPEN_ORDER = 1301, /// /// 预售集采建仓撤单 /// ACCOUNTBIZCODE_PRESALE_OPEN_CANCEL = 1302, /// /// 预售集采建仓成交 /// ACCOUNTBIZCODE_PRESALE_OPEN_DEAL = 1303, /// /// 预售集采平仓委托 /// ACCOUNTBIZCODE_PRESALE_CLOSE_ORDER = 1304, /// /// 预售集采平仓撤单 /// ACCOUNTBIZCODE_PRESALE_CLOSE_CANCEL = 1305, /// /// 预售集采平仓成交 /// ACCOUNTBIZCODE_PRESALE_CLOSE_DEAL = 1306, /// /// 预售集审核 /// ACCOUNTBIZCODE_PRESALE_VERIFY = 1307, /// /// 预售采集撤销 /// ACCOUNTBIZCODE_PRESALE_CANCEL = 1308, /// /// 解冻买方货款 /// ACCOUNTBIZCODE_LISTINGOPTION_UNFREEZEBUYER = 1309, /// /// 冻结卖方货款 /// ACCOUNTBIZCODE_LISTINGOPTION_FREEZESELLER = 1310, /// /// 买方划转 /// ACCOUNTBIZCODE_LISTINGOPTION_BUYER = 1311, /// /// 卖方划转 /// ACCOUNTBIZCODE_LISTINGOPTION_SELLER = 1312, /// /// 融资方划转 /// ACCOUNTBIZCODE_LISTINGOPTION_MIDDLEIN = 1313, /// /// 确认行权平仓 /// ACCOUNTBIZCODE_LISTINGOPTION_CONFIRMCLOSE = 1314, /// /// 确认行权委托 /// ACCOUNTBIZCODE_LISTINGOPTION_CONFIRMORDER = 1315, /// /// 招标采购招标确认 /// ACCOUNTBIZCODE_TENDER_TENDER_CONFIRM = 1401, /// /// 招标采购投标审核通过 /// ACCOUNTBIZCODE_TENDER_BID_VERIFY = 1402, /// /// 招标采购确认中标(解冻投标方的保证金) /// ACCOUNTBIZCODE_TENDER_WIN_DEAL = 1403, /// /// 招标采购终止招标 /// ACCOUNTBIZCODE_TENDER_TENDER_STOP = 1404, /// /// 招标采购投标终止 /// ACCOUNTBIZCODE_TENDER_BID_STOP = 1405, /// /// 招标采购确认中标(解冻招标方冻结保证金) /// ACCOUNTBIZCODE_TENDER_WIN_DEAL_FORTENDER = 1406, /// /// 商城支付 /// ACCOUNTBIZCODE_MALL_PAY = 1501, /// /// 商城积分冻结 /// ACCOUNTBIZCODE_MALL_SCORE_FREEZE = 1502, /// /// 商城积分解冻 /// ACCOUNTBIZCODE_MALL_SCORE_UNFREEZE = 1503, /// /// 商城积分解冻扣款 /// ACCOUNTBIZCODE_MALL_SCORE_REDUCE = 1504, /// /// 商城收款 /// ACCOUNTBIZCODE_MALL_RECEIVE = 1505, /// /// 商城退货 /// ACCOUNTBIZCODE_MALL_REFUND = 1506, /// /// 清算账户数据更新 /// ACCOUNTBIZCODE_SETTLE_ACCOUNT_UPDATE = 1550, /// /// 清算用户数据更新 /// ACCOUNTBIZCODE_SETTLE_USER_UPDATE = 1551, /// /// 通知账户持仓头寸日变动 /// ACCOUNTBIZCODE_RECKON_HOLDERPOSITION_DAYCHANGE = 1601, /// /// 账户费用日变动 /// ACCOUNTBIZCODE_RECKON_TRADEFEE_DAYCHANGE = 1602, /// /// 交易所账户日变动 /// ACCOUNTBIZCODE_RECKON_EXCHACC_DAYCHANGE = 1603, /// /// 场外期权建仓委托 /// ACCOUNTBIZCODE_OUTOPTION_OPEN = 1701, /// /// 场外期权行权 /// ACCOUNTBIZCODE_OUTOPTION_EXERCISE = 1702, /// /// 场外期权对冲 /// ACCOUNTBIZCODE_OUTOPTION_HEDGE = 1703, /// /// 场外期权建仓成交 /// ACCOUNTBIZCODE_OUTOPTION_OPEN_DEAL = 1704, /// /// 通道锁仓委托 /// ACCOUNTBIZCODE_CAHNNEL_LOCK_REQ = 1801, /// /// 通道锁仓撤销 /// ACCOUNTBIZCODE_CAHNNEL_LOCK_CANCEL = 1802, /// /// 通道锁仓完成 /// ACCOUNTBIZCODE_CAHNNEL_LOCK_DEAL = 1803, /// /// 通道锁仓审核通过 /// ACCOUNTBIZCODE_CAHNNEL_LOCK_PASS = 1804, /// /// 金点拍外部JD转入 /// ACCOUNTBIZCODE_JDP_JD_TRANSFER_IN = 1901, /// /// 金点拍JD转能量 /// ACCOUNTBIZCODE_JDP_JD_TRANSFER_MP = 1902, /// /// 金点拍PD购买体力 /// ACCOUNTBIZCODE_JDP_PD_TRANSFER_HP = 1903, /// /// 金点拍JD转PD /// ACCOUNTBIZCODE_JDP_JD_TRANSFER_PD = 1904, /// /// 金点拍PD互转 /// ACCOUNTBIZCODE_JDP_PD_TRANSFER_PD = 1905, /// /// 交易所PD/JD增加 /// ACCOUNTBIZCODE_JDP_EXCHANGE_RECEIVE = 1906, /// /// 金点拍JD或PD处理 /// ACCOUNTBIZCODE_JDP_JD_PD_DEAL = 1907, /// /// 冻结头寸解冻审核通过 /// ACCOUNTBIZCODE_TRADE_FREEZEPOS_UNFREEZE_AUDIT_PASS = 1950, /// /// 冻结头寸商品配售冻结 /// ACCOUNTBIZCODE_TRADE_FREEZEPOS_GOODS_RATION_FREEZE = 1951, /// /// 冻结头寸商品配售成交 /// ACCOUNTBIZCODE_TRADE_FREEZEPOS_GOODS_RATION_TRADE = 1952, /// /// 冻结头寸商品转让冻结 /// ACCOUNTBIZCODE_TRADE_FREEZEPOS_GOODS_TRANSFER_FREEZE = 1953, /// /// 冻结头寸商品转让解冻 /// ACCOUNTBIZCODE_TRADE_FREEZEPOS_GOODS_TRANSFER_UNFREEZE = 1954, /// /// 冻结头寸商品转让成交 /// ACCOUNTBIZCODE_TRADE_FREEZEPOS_GOODS_TRANSFER_TRADE = 1955, /// /// 冻结头寸商品回购冻结 /// ACCOUNTBIZCODE_TRADE_FREEZEPOS_GOODS_BUYBACK_FREEZE = 1956, /// /// 冻结头寸商品回购解冻 /// ACCOUNTBIZCODE_TRADE_FREEZEPOS_GOODS_BUYBACK_UNFREEZE = 1957, /// /// 冻结头寸商品回购成交 /// ACCOUNTBIZCODE_TRADE_FREEZEPOS_GOODS_BUYBACK_TRADE = 1958, /// /// 冻结头寸商品提货 /// ACCOUNTBIZCODE_TRADE_FREEZEPOS_GOODS_PICKUP = 1959 } /// // 账户服务资金操作子指令类型 /// public enum eAccountFundCmdOp { /// /// 入金 /// ACCOUNTFUNDCMDOP_DEPOSIT = 101, /// /// 入金手续费 /// ACCOUNTFUNDCMDOP_DEPOSIT_FEE = 102, /// /// 出金 /// ACCOUNTFUNDCMDOP_WITHDRAW = 103, /// /// 出金冻结 /// ACCOUNTFUNDCMDOP_WITHDRAW_FREEZE = 104, /// /// 出金解冻 /// ACCOUNTFUNDCMDOP_WITHDRAW_UNFREEZE = 105, /// /// 出金手续费 /// ACCOUNTFUNDCMDOP_WITHDRAW_FEE = 106, /// /// 出金手续费冻结 /// ACCOUNTFUNDCMDOP_WITHDRAW_FEE_FREEZE = 107, /// /// 出金手续费解冻 /// ACCOUNTFUNDCMDOP_WITHDRAW_FEE_UNFREEZE = 108, /// /// 入金手续费收入 /// ACCOUNTFUNDCMDOP_DEPOSIT_FEE_INCOME = 109, /// /// 出金手续费收入 /// ACCOUNTFUNDCMDOP_WITHDRAW_FEE_INCOME = 110, /// /// 三方入金 /// ACCOUNTFUNDCMDOP_3RD_DEPOSIT = 111, /// /// 三方出金 /// ACCOUNTFUNDCMDOP_3RD_WITHDRAW = 112, /// /// 交易冻结 /// ACCOUNTFUNDCMDOP_TRADE_FREEZE = 201, /// /// 交易解冻 /// ACCOUNTFUNDCMDOP_TRADE_UNFREEZE = 202, /// /// 交易占用 /// ACCOUNTFUNDCMDOP_TRADE_OCCUPY = 203, /// /// 交易解占用 /// ACCOUNTFUNDCMDOP_TRADE_FREE = 204, /// /// 交易手续费冻结 /// ACCOUNTFUNDCMDOP_TRADE_FEE_FREEZE = 205, /// /// 交易手续费解冻 /// ACCOUNTFUNDCMDOP_TRADE_FEE_UNFREEZE = 206, /// /// 交易手续费 /// ACCOUNTFUNDCMDOP_TRADE_FEE = 207, /// /// 交易货款 /// ACCOUNTFUNDCMDOP_TRADE_GOODS_PAYMENT = 208, /// /// 交易盈亏 /// ACCOUNTFUNDCMDOP_TRADE_PROFIT_LOSS = 209, /// /// 外部交易冻结 /// ACCOUNTFUNDCMDOP_EXTRADE_FREEZE = 211, /// /// 外部交易解冻 /// ACCOUNTFUNDCMDOP_EXTRADE_UNFREEZE = 212, /// /// 外部交易占用 /// ACCOUNTFUNDCMDOP_EXTRADE_OCCUPY = 213, /// /// 外部交易解占用 /// ACCOUNTFUNDCMDOP_EXTRADE_FREE = 214, /// /// 外部交易手续费冻结 /// ACCOUNTFUNDCMDOP_EXTRADE_FEE_FREEZE = 215, /// /// 外部交易手续费解冻 /// ACCOUNTFUNDCMDOP_EXTRADE_FEE_UNFREEZE = 216, /// /// 外部交易手续费 /// ACCOUNTFUNDCMDOP_EXTRADE_FEE = 217, /// /// 外部交易货款 /// ACCOUNTFUNDCMDOP_EXTRADE_GOODS_PAYMENT = 218, /// /// 外部交易盈亏 /// ACCOUNTFUNDCMDOP_EXTRADE_PROFIT_LOSS = 219, /// /// 锁仓认购手续费冻结 /// ACCOUNTFUNDCMDOP_CHANNEL_LOCKFEE_FREEZE = 220, /// /// 锁仓认购手续费解冻 /// ACCOUNTFUNDCMDOP_CHANNEL_LOCKFEE_UNFREEZE = 221, /// /// 锁仓认购手续费 /// ACCOUNTFUNDCMDOP_CHANNEL_LOCKFEE = 222, /// /// 认购费用冻结 /// ACCOUNTFUNDCMDOP_CHANNEL_LOCKAMOUNT_FREEZE = 223, /// /// 认购费用解冻 /// ACCOUNTFUNDCMDOP_CHANNEL_LOCKAMOUNT_UNFREEZE = 224, /// /// 认购费用 /// ACCOUNTFUNDCMDOP_CHANNEL_LOCKAMOUNT = 225, /// /// 盈利扣减 /// ACCOUNTFUNDCMDOP_CHANNEL_PROFIT_DEDUCTION = 226, /// /// 亏损划转 /// ACCOUNTFUNDCMDOP_CHANNEL_LOSS_TRANSFER = 227, /// /// 交割冻结 /// ACCOUNTFUNDCMDOP_DELIVERY_FREEZE = 301, /// /// 交割解冻 /// ACCOUNTFUNDCMDOP_DELIVERY_UNFREEZE = 302, /// /// 交割手续费 /// ACCOUNTFUNDCMDOP_DELIVERY_FEE = 303, /// /// 交割手续费冻结 /// ACCOUNTFUNDCMDOP_DELIVERY_FEE_FREEZE = 304, /// /// 交割手续费解冻 /// ACCOUNTFUNDCMDOP_DELIVERY_FEE_UNFREEZE = 305, /// /// 交割货款 /// ACCOUNTFUNDCMDOP_DELIVERY_GOODS_PAYMENT = 306, /// /// 交割税款 /// ACCOUNTFUNDCMDOP_DELIVERY_TAX = 307, /// /// 交割调期费 /// ACCOUNTFUNDCMDOP_DELIVERY_SWAP_FEE = 308, /// /// 交收补偿费 /// ACCOUNTFUNDCMDOP_DELIVERY_COMPENSATION_FEE = 309, /// /// 交割最大冻结 /// ACCOUNTFUNDCMDOP_DELIVERY_MAX_FREEZE = 310, /// /// 结算盈亏 /// ACCOUNTFUNDCMDOP_SETTLE_PROFIT_LOSS = 401, /// /// 结算递延费 /// ACCOUNTFUNDCMDOP_SETTLE_DEFERRED_FEE = 402, /// /// 分润收入 /// ACCOUNTFUNDCMDOP_SHARE_PROFIT = 403, /// /// 延期分润 /// ACCOUNTFUNDCMDOP_STAY_SHARE_PROFIT = 404, /// /// 分润确认 /// ACCOUNTFUNDCMDOP_SHARE_PROFIT_CONFIRM = 405, /// /// 结算隔夜费 /// ACCOUNTFUNDCMDOP_SETTLE_OVERNIGHT_FEE = 406, /// /// 利息费用 /// ACCOUNTFUNDCMDOP_SETTLE_INTERESTCHARGE_FEE = 407, /// /// 递延费2 /// ACCOUNTFUNDCMDOP_SETTLE_DEFERCHARGE = 408, /// /// 授信增加 /// ACCOUNTFUNDCMDOP_CREDIT_INCREASE = 501, /// /// 授信减少 /// ACCOUNTFUNDCMDOP_CREDIT_DECREASE = 502, /// /// 转积分 /// ACCOUNTFUNDCMDOP_PAY_POINTS = 503, /// /// 转入 /// ACCOUNTFUNDCMDOP_TRANSFER_IN = 504, /// /// 转出 /// ACCOUNTFUNDCMDOP_TRANSFER_OUT = 505, /// /// 转出冻结 /// ACCOUNTFUNDCMDOP_TRANSFER_OUT_FREEZE = 506, /// /// 转出解冻 /// ACCOUNTFUNDCMDOP_TRANSFER_OUT_UNFREEZE = 507, /// /// 外部入金(优先) /// ACCOUNTFUNDCMDOP_EXCREDIT_INCREASE = 508, /// /// 外部出金(优先) /// ACCOUNTFUNDCMDOP_EXCREDIT_DECREASE = 509, /// /// 外部入金(劣后) /// ACCOUNTFUNDCMDOP_EXINOUT_INCREASE = 510, /// /// 外部出金(劣后) /// ACCOUNTFUNDCMDOP_EXINOUT_DECREASE = 511, /// /// 外部余额增加 /// ACCOUNTFUNDCMDOP_EXBALANCE_INCREASE = 512, /// /// 外部余额减少 /// ACCOUNTFUNDCMDOP_EXBALANCE_DECREASE = 513, /// /// 授信手续费冻结 /// ACCOUNTFUNDCMDOP_CREDIT_FEE_FREEZE = 514, /// /// 授信手续费解冻 /// ACCOUNTFUNDCMDOP_CREDIT_FEE_UNFREEZE = 515, /// /// 授信手续费 /// ACCOUNTFUNDCMDOP_CREDIT_FEE = 516, /// /// 外部出金(优先,系统) /// ACCOUNTFUNDCMDOP_EXCREDIT_DECREASE_EX = 517, /// /// 履约金额冻结 /// 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_PERFORMANCE_STAY_PAYMENT = 609, /// /// 履约运费 /// ACCOUNTFUNDCMDOP_PERFORMANCE_FREIGHT = 610, /// /// 供应链金融冻结 /// 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_WRTRADE_PAYMEN_FREEZE = 805, /// /// 仓单贸易货款保证金解冻 /// ACCOUNTFUNDCMDOP_WRTRADE_PAYMEN_UNFREEZE = 806, /// /// 仓单贸易手续费冻结 /// ACCOUNTFUNDCMDOP_WRTRADE_FEE_FREEZE = 807, /// /// 仓单贸易手续费解冻 /// ACCOUNTFUNDCMDOP_WRTRADE_FEE_UNFREEZE = 808, /// /// 仓单贸易手续费扣除 /// ACCOUNTFUNDCMDOP_WRTRADE_FEE = 809, /// /// 商城扣款冻结 /// ACCOUNTFUNDCMDOP_MALL_FREEZE = 901, /// /// 商城扣款解冻 /// ACCOUNTFUNDCMDOP_MALL_UNFREEZE = 902, /// /// 商城扣款 /// ACCOUNTFUNDCMDOP_MALL_DEDUCT = 903, /// /// 商城收款 /// ACCOUNTFUNDCMDOP_MALL_RECEIVE = 904, /// /// 商城待付款 /// ACCOUNTFUNDCMDOP_MALL_STAY_PAYMENT = 905, /// /// 期权冻结 /// ACCOUNTFUNDCMDOP_OPTION_FREEZE = 1001, /// /// 期权解冻 /// ACCOUNTFUNDCMDOP_OPTION_UNFREEZE = 1002, /// /// 期权权力金 /// ACCOUNTFUNDCMDOP_OPTION_PREMIUM = 1003, /// /// 期权手续费冻结 /// ACCOUNTFUNDCMDOP_OPTION_FEE_FREEZE = 1004, /// /// 期权手续费解冻 /// ACCOUNTFUNDCMDOP_OPTION_FEE_UNFREEZE = 1005, /// /// 期权手续费 /// ACCOUNTFUNDCMDOP_OPTION_FEE = 1006, /// /// 期权盈亏 /// ACCOUNTFUNDCMDOP_OPTION_PROFIT_LOSS = 1007, /// /// 期权货款 /// ACCOUNTFUNDCMDOP_OPTION_GOODS_PAYMENT = 1008, /// /// 扩展扣款 /// ACCOUNTFUNDCMDOP_MARKETING_DEDUCT = 1101, /// /// 扩展收款 /// ACCOUNTFUNDCMDOP_MARKETING_RECEIVE = 1102, /// /// 扩展扣款冻结 /// ACCOUNTFUNDCMDOP_MARKETING_FREEZE = 1103, /// /// 扩展扣款解冻 /// ACCOUNTFUNDCMDOP_MARKETING_UNFREEZE = 1104, /// /// 竞拍冻结保证金 /// ACCOUNTFUNDCMDOP_AUCTION_FREEZE = 1201, /// /// 竞拍解冻保证金 /// ACCOUNTFUNDCMDOP_AUCTION_UNFREEZE = 1202, /// /// 竞拍扣款 /// ACCOUNTFUNDCMDOP_AUCTION_DEDUCT = 1203, /// /// 竞拍收款 /// ACCOUNTFUNDCMDOP_AUCTION_RECEIVE = 1204, /// /// 竞拍手续费冻结 /// ACCOUNTFUNDCMDOP_AUCTION_FEE_FREEZE = 1205, /// /// 竞拍手续费解冻 /// ACCOUNTFUNDCMDOP_AUCTION_FEE_UNFREEZE = 1206, /// /// 竞拍手续费 /// ACCOUNTFUNDCMDOP_AUCTION_FEE = 1207, /// /// 竞拍货款冻结 /// ACCOUNTFUNDCMDOP_AUCTION_PAYMENT_FREEZE = 1208, /// /// 竞拍货款解冻 /// ACCOUNTFUNDCMDOP_AUCTION_PAYMENT_UNFREEZE = 1209, /// /// 竞拍手续费收入 /// ACCOUNTFUNDCMDOP_AUCTION_FEE_INCOME = 1210, /// /// 预售集采卖方保证金冻结 /// ACCOUNTFUNDCMDOP_PRESALE_SELLER_FREEZE = 1301, /// /// 预售集采卖方保证金解冻 /// ACCOUNTFUNDCMDOP_PRESALE_SELLER_UNFREEZE = 1302, /// /// 预售集采手续费冻结 /// ACCOUNTFUNDCMDOP_PRESALE_FEE_FREEZE = 1303, /// /// 预售集采手续费解冻 /// ACCOUNTFUNDCMDOP_PRESALE_FEE_UNFREEZE = 1304, /// /// 预售集采手续费 /// ACCOUNTFUNDCMDOP_PRESALE_FEE = 1305, /// /// 招标手续费冻结 /// ACCOUNTFUNDCMDOP_TENDER_FEE_FREEZE = 1401, /// /// 招标手续费解冻 /// ACCOUNTFUNDCMDOP_TENDER_FEE_UNFREEZE = 1402, /// /// 招标手续费 /// ACCOUNTFUNDCMDOP_TENDER_FEE = 1403, /// /// 投标保证金冻结 /// ACCOUNTFUNDCMDOP_TENDER_FREEZE = 1404, /// /// 投标保证金解冻 /// ACCOUNTFUNDCMDOP_TENDER_UNFREEZE = 1405, /// /// 招标手续费收入 /// ACCOUNTFUNDCMDOP_TENDER_FEE_INCOME = 1406, /// /// 招标保证金冻结 /// ACCOUNTFUNDCMDOP_BIDTENDER_FREEZE = 1407, /// /// 招标保证金解冻 /// ACCOUNTFUNDCMDOP_BIDTENDER_UNFREEZE = 1408, /// /// 运费冻结 /// ACCOUNTFUNDCMDOP_WR_FREIGHT_FREEZE = 1501, /// /// 运费解冻 /// ACCOUNTFUNDCMDOP_WR_FREIGHT_UNFREEZE = 1502, /// /// 运费 /// ACCOUNTFUNDCMDOP_WR_FREIGHT = 1503, /// /// 运费收入 /// ACCOUNTFUNDCMDOP_WR_FREIGHT_INCOME = 1504, /// /// 币币冻结付款 /// ACCOUNTFUNDCMDOP_COIN_TRADE_FREEZE = 1601, /// /// 币币解冻付款 /// ACCOUNTFUNDCMDOP_COIN_TRADE_UNFREEZE = 1602, /// /// 币币手续费冻结 /// ACCOUNTFUNDCMDOP_COIN_TRADE_FEE_FREEZE = 1603, /// /// 币币手续费解冻 /// ACCOUNTFUNDCMDOP_COIN_TRADE_FEE_UNFREEZE = 1604, /// /// 币币手续费 /// ACCOUNTFUNDCMDOP_COIN_TRADE_FEE = 1605, /// /// 币币货款 /// ACCOUNTFUNDCMDOP_COIN_TRADE_AMOUNT = 1606 } /// // 账户持仓指令类型 /// public enum eAccountHolderCmdOp { /// /// 验证委托数量 /// ACCOUNTHOLDERCMDOP_VERIFY_ORDER = 101, /// /// 验证头寸数量和金额 /// ACCOUNTHOLDERCMDOP_VERIFY_POSITION = 102, /// /// 验证交易冻结数量 /// ACCOUNTHOLDERCMDOP_VERIFY_FROZEN = 103, /// /// 验证其他冻结数量 /// ACCOUNTHOLDERCMDOP_VERIFY_OTHERFROZEN = 104, /// /// 查询交易头寸数量和金额 /// ACCOUNTHOLDERCMDOP_QUERY_POSITION = 105, /// /// 系统待开市 /// ACCOUNTHOLDERCMDOP_SYSTEM_PENDING = 106, /// /// 系统结算 /// ACCOUNTHOLDERCMDOP_SYSTEM_RECKON = 107, /// /// 交易开仓委托 /// 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_TRADE_WRTOPOSITION = 210, /// /// 交易头寸转仓单冻结 /// ACCOUNTHOLDERCMDOP_TRADE_POSITIONTOWR_FREEZE = 211, /// /// 交易头寸转仓单解冻 /// ACCOUNTHOLDERCMDOP_TRADE_POSITIONTOWR_UNFREEZE = 212, /// /// 交易头寸转仓单 /// ACCOUNTHOLDERCMDOP_TRADE_POSITIONTOWR = 213, /// /// 交易T+N头寸增加(T4) /// ACCOUNTHOLDERCMDOP_TRADE_TN_INCREASE = 214, /// /// 交易T+N头寸减少(T4) /// ACCOUNTHOLDERCMDOP_TRADE_TN_DECREASE = 215, /// /// 交易平仓T+N冻结 /// ACCOUNTHOLDERCMDOP_TRADE_CLOSE_TN_FREEZE = 216, /// /// 交易平仓T+N成交 /// ACCOUNTHOLDERCMDOP_TRADE_CLOSE_TN_DEAL = 217, /// /// 交易平仓T+N解冻 /// ACCOUNTHOLDERCMDOP_TRADE_CLOSE_TN_UNFREEZE = 218, /// /// 交易平仓T+N最大冻结 /// ACCOUNTHOLDERCMDOP_TRADE_CLOSE_TN_MAX_FREEZE = 219, /// /// 交易净头寸冻结 /// ACCOUNTHOLDERCMDOP_TRADE_NET_FREEZE = 220, /// /// 交易净头寸交割校验 /// ACCOUNTHOLDERCMDOP_TRADE_NET_DELIVERY_VERIFY = 221, /// /// 交易平今仓冻结 /// ACCOUNTHOLDERCMDOP_TRADE_CLOSETODAY_FREEZE = 222, /// /// 交易平今仓成交 /// ACCOUNTHOLDERCMDOP_TRADE_CLOSETODAY_DEAL = 223, /// /// 交易平今仓解冻 /// ACCOUNTHOLDERCMDOP_TRADE_CLOSETODAY_UNFREEZE = 224, /// /// 交易平昨仓冻结 /// ACCOUNTHOLDERCMDOP_TRADE_CLOSEYESTERDAY_FREEZE = 225, /// /// 交易平昨仓成交 /// ACCOUNTHOLDERCMDOP_TRADE_CLOSEYESTERDAY_DEAL = 226, /// /// 交易平昨仓解冻 /// ACCOUNTHOLDERCMDOP_TRADE_CLOSEYESTERDAY_UNFREEZE = 227, /// /// 交割冻结 /// ACCOUNTHOLDERCMDOP_DELIVERY_FREEZE = 301, /// /// 交割成交 /// ACCOUNTHOLDERCMDOP_DELIVERY_DEAL = 302, /// /// 交割解冻 /// ACCOUNTHOLDERCMDOP_DELIVERY_UNFREEZE = 303, /// /// 交割最大冻结 /// ACCOUNTHOLDERCMDOP_DELIVERY_MAX_FREEZE = 304, /// /// 交割成交扣除 /// ACCOUNTHOLDERCMDOP_DELIVERY_DEAL_DEDUCT = 305, /// /// 锁仓认购冻结 /// ACCOUNTHOLDERCMDOP_CHANNEL_LOCK_FREEZE = 401, /// /// 锁仓认购解冻 /// ACCOUNTHOLDERCMDOP_CHANNEL_LOCK_UNFREEZE = 402, /// /// 锁仓认购赠送 /// ACCOUNTHOLDERCMDOP_CHANNEL_LOCK_GIFT = 403, /// /// 认购成交 /// ACCOUNTHOLDERCMDOP_CHANNEL_LOCK_BUY = 404 } /// // 账户仓单头寸指令类型 /// public enum eAccountWRPositionCmdOp { /// /// 冻结 /// ACCOUNTWRPOSITIONCMDOP_FREEZE = 101, /// /// 最大冻结 /// ACCOUNTWRPOSITIONCMDOP_MAX_FREEZE = 102, /// /// 解冻 /// ACCOUNTWRPOSITIONCMDOP_UNFREEZE = 103, /// /// 增加 /// ACCOUNTWRPOSITIONCMDOP_INCREASE = 104, /// /// 减少 /// ACCOUNTWRPOSITIONCMDOP_DECREASE = 105, /// /// 仓单订单头寸数量增加 /// ACCOUNTWRPOSITIONCMDOP_WRTRADE_POS_INCREASE = 106, /// /// 仓单订单头寸数量减少 /// ACCOUNTWRPOSITIONCMDOP_WRTRADE_POS_DECREASE = 107 } /// // 账户仓单订单头寸指令类型 /// public enum eAccountWRTradePSCmdOp { /// /// 冻结 /// ACCOUNTWRTRADEPSCMDOP_FREEZE = 101, /// /// 最大冻结 /// ACCOUNTWRTRADEPSCMDOP_MAX_FREEZE = 102, /// /// 解冻 /// ACCOUNTWRTRADEPSCMDOP_UNFREEZE = 103, /// /// 增加 /// ACCOUNTWRTRADEPSCMDOP_INCREASE = 104, /// /// 减少 /// ACCOUNTWRTRADEPSCMDOP_DECREASE = 105, /// /// 查询可用 /// ACCOUNTWRTRADEPSCMDOP_QUERY_AVAILABLE = 106, /// /// 查询合约商品所有订单头寸 /// ACCOUNTWRTRADEPSCMDOP_QUERY_GOODSID_ALL = 107 } /// // 账户积分头寸指令类型 /// public enum eAccountScorePositionCmdOp { /// /// 冻结 /// ACCOUNTSCOREPOSITIONCMDOP_FREEZE = 101, /// /// 解冻 /// ACCOUNTSCOREPOSITIONCMDOP_UNFREEZE = 102, /// /// 增加 /// ACCOUNTSCOREPOSITIONCMDOP_INCREASE = 103, /// /// 减少 /// ACCOUNTSCOREPOSITIONCMDOP_DECREASE = 104, /// /// 查询 /// ACCOUNTSCOREPOSITIONCMDOP_QUERY = 105, /// /// 代扣 /// ACCOUNTSCOREPOSITIONCMDOP_WITHHOLD = 106, /// /// 代付 /// ACCOUNTSCOREPOSITIONCMDOP_PAY = 107, /// /// 代收 /// ACCOUNTSCOREPOSITIONCMDOP_COLLECTION = 108 } /// // 账户期权头寸指令类型 /// public enum eAccountOptionPositionCmdOp { /// /// 建仓 /// ACCOUNTOPTIONPOSITIONCMDOP_OPEN = 101, /// /// 行权 /// ACCOUNTOPTIONPOSITIONCMDOP_EXERCISE = 102, /// /// 对冲 /// ACCOUNTOPTIONPOSITIONCMDOP_HEDGE = 103 } /// // 账户风控指令类型 /// public enum eAccountRiskCtrlCmdOp { /// /// 激活 /// ACCOUNTRISKCTRLCMDOP_ACTIVATE = 101, /// /// 关闭 /// ACCOUNTRISKCTRLCMDOP_INACTIVATE = 102 } /// // 账户风控关联类型 /// public enum eAccountRiskCtrlRelatedType { /// /// 合作套保 /// ACCOUNTRISKCTRLRELATEDTYPE_SCF = 1 } /// // 积分申请状态头 /// public enum eAppScoreStatus { /// /// 待审核 /// APP_SCORE_STATUS_UNAUDIT = 1, /// /// 审核中 /// APP_SCORE_STATUS_AUDITING = 2, /// /// 审核拒绝 /// APP_SCORE_STATUS_AUDITING_REJECTION = 3, /// /// 审核成功 /// APP_SCORE_STATUS_AUDITING_SUCCESS = 4, /// /// 审核失败 /// APP_SCORE_STATUS_AUDITING_FAIL = 5, /// /// 已撤销 /// APP_SCORE_STATUS_CANCEL = 6 } /// // 积分平仓类型 /// public enum eCloseScoreStatus { /// /// 消费平仓 /// CLOSE_SCORE_STATUS_COMSUNE = 1, /// /// 核销平仓 /// CLOSE_SCORE_STATUS_CLOSEDOWN = 2, /// /// 过期平仓 /// CLOSE_SCORE_STATUS_EXPIRE = 3, /// /// 清理平仓 /// CLOSE_SCORE_STATUS_CLEAR = 4, /// /// 减少平仓 /// CLOSE_SCORE_STATUS_REDUCE = 5 } /// // 积分消费操作类型 /// public enum eOperatorType { /// /// 商家加积分 /// OPERATOR_ADD = 1, /// /// 用积分消费 /// OPERATOR_REDUCE = 2 } /// // 积分业务类型 /// public enum eScoreBussiness { /// /// 积分消费 /// SCORE_BUSINESS_CONSUME = 0, /// /// 积分获取 /// SCORE_BUSINESS_FETCH = 1, /// /// 积分核销 /// SCORE_BUSINESS_CLOSEDOWN = 2, /// /// 积分清理 /// SCORE_BUSINESS_CLEAR = 3, /// /// 积分结算 /// SCORE_BUSINESS_RECKON = 4, /// /// 积分减少 /// SCORE_BUSINESS_REDUCE = 5 } /// // 风控模式 /// 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 eTradeStatus { /// /// 正常 /// TRADESTATUS_NORMAL = 1, /// /// 受限 /// TRADESTATUS_LIMITED = 2, /// /// 冻结 /// TRADESTATUS_FROZEN = 3, /// /// 人工受限(禁止建仓) /// TRADESTATUS_LIMITEDMANUAL = 4, /// /// 人工冻结(禁止交易) /// TRADESTATUS_FROZENMANUAL = 5 } /// // 合作套保风险等级 /// public enum eScfRiskLv { /// /// 正常 /// SCF_RISKLV_NORMAL = 0, /// /// 预警 /// SCF_RISKLV_PRE_WARN = 1, /// /// 禁开 /// SCF_RISKLV_WARNING = 2, /// /// 止损 /// SCF_RISKLV_STOPPING = 3, /// /// 恢复 /// SCF_RISKLV_RECOVER = 4 } /// // 合作套保风险状态 /// public enum eScfRiskStatus { /// /// 正常 /// SCF_RISKSTATUS_NORMAL = 1, /// /// 受限 /// SCF_RISKSTATUS_BELIMITED = 2, /// /// 冻结 /// SCF_RISKSTATUS_FROZEN = 3 } /// // 默认标志 /// 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, /// /// 商城店铺 /// ROLETYPE_MALLSHOP = 11, /// /// 子机构 /// ROLETYPE_SUBAREA = 12, /// /// 报价商 /// ROLETYPE_QUOTIENT = 13, /// /// 积分服务商 /// ROLETYPE_SCOREPROVIDER = 14, /// /// 供货商 /// ROLETYPE_SUPPLIER = 15, /// /// 圈内会员 /// ROLETYPE_RINGDEAL = 16, /// /// 物流机构 /// ROLETYPE_LOGISTICSAREA = 17, /// /// 报价配置机构 /// ROLETYPE_QUOTECONFIGAREA = 18, /// /// 场外期权做市商 /// ROLETYPE_EXTERNOPTION_MARKETMAKER = 19, /// /// 省级代理 /// ROLETYPE_ONE_AGENT = 20, /// /// 市级代理 /// ROLETYPE_TWO_AGENT = 21, /// /// 区级代理 /// ROLETYPE_THREE_AGENT = 22 } /// // 保证金算法 /// 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, /// /// 递延费2 /// TRADEFEETYPE_DEFERCHARGE = 6, /// /// 开户奖励费 /// TRADEFEETYPE_OPENACCOUNT = 7, /// /// 入金奖励费 /// TRADEFEETYPE_DEPOSIT = 8, /// /// 普通净创收 /// TRADEFEETYPE_NORMAL = 9, /// /// 信用净创收 /// TRADEFEETYPE_CREDIT = 10, /// /// 期权净创收 /// TRADEFEETYPE_OPTION = 11, /// /// 其它 /// 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, /// /// 定期解冻持仓单节点ID /// BIDRECKNODEID_PERIODIC_UNFREEZE_HOLDERDETAIL = 4, /// /// 定期强平节点ID /// BIDRECKNODEID_PERIODIC_FORCECLOSE = 5, /// /// 持仓单备份节点ID /// BIDRECKNODEID_HOLDERDETAIL_BACKUP = 6, /// /// 单据试算平衡节点 /// BIDRECKNODEID_ORDER_BALANCE_CALCULATE = 7, /// /// 持仓单处理节点 /// BIDRECKNODEID_HOLDERDETAIL_DEAL = 8, /// /// 委托单日照节点 /// BIDRECKNODEID_ORDER_DAY = 9, /// /// 交易分润节点 /// BIDRECKNODEID_SHARE_PROFIT = 10, /// /// 交割调续费节点 /// BIDRECKNODEID_DELAY_FEE = 11, /// /// 补偿费(无仓单) /// BIDRECKNODEID_COMPEMSATION_FEE = 12 } /// // 仓单变动类型 /// 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, /// /// 注册成功 /// WR_AUDITSTATUS_SUCCESS = 5, /// /// 注册失败 /// WR_AUDITSTATUS_FAILED = 6 } /// // 仓单状态 /// 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 { /// /// 仓单注册 /// WR_TRADE_REGISTER = 1, /// /// 交割成交 /// WR_TRADE_DELIVERY = 2, /// /// 履约 /// WR_TRADE_PERFORMANCE = 3, /// /// 仓单贸易 /// WR_TRADE_WRTRADE = 4, /// /// 供应链金融 /// WR_TRADE_SCF = 5, /// /// 提货 /// WR_TRADE_LADING = 6, /// /// 竞拍 /// WR_TRADE_AUCTION = 7 } /// // 仓库类型 /// 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 { /// /// 待成交 /// DELIVERYSTATUS_PENDING = 1, /// /// 已成交 /// DELIVERYSTATUS_TRADED = 2, /// /// 成交失败 /// DELIVERYSTATUS_FAILED = 3, /// /// 履约完成 /// 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 { /// /// 待审核 /// DELIVERYORDERSTATUS_PENDING = 1, /// /// 审核通过 /// DELIVERYORDERSTATUS_AUDITED = 2, /// /// 审核拒绝 /// DELIVERYORDERSTATUS_REJECTED = 3, /// /// 已撤销 /// DELIVERYORDERSTATUS_CANCELLED = 4, /// /// 失败 /// 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, /// /// 冻结交收货款 /// DELIVERYORDERHANDLESTATUS_FREEZE_AMOUNT = 12, /// /// 冻结交收货款失败 /// DELIVERYORDERHANDLESTATUS_FREEZE_AMOUNT_FAILED = 13, /// /// 成交失败 /// DELIVERYORDERHANDLESTATUS_TRADE_FAILD = 14, /// /// 部成部撤 /// DELIVERYORDERHANDLESTATUS_PARTTRADE_CANCELED = 15, /// /// 全部成交 /// DELIVERYORDERHANDLESTATUS_ALLTRADE = 16, /// /// 撤销 /// DELIVERYORDERHANDLESTATUS_CANCELED = 17, /// /// 部分成交 /// DELIVERYORDERHANDLESTATUS_PARTTRADE = 18, /// /// 资金不足 /// DELIVERYORDERHANDLESTATUS_INSUFFICIENT_FUNDS = 19, /// /// 无仓单交收待点选 /// DELIVERYORDERHANDLESTATUS_SELECTABLE = 20, /// /// 可点选数量不足 /// DELIVERYORDERHANDLESTATUS_INSUFFICIENT_POSITION = 21 } /// // 交割单处理状态 /// 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, /// /// 交割付款 /// DELIVERYDETAILHANDLESTATUS_PAYMENT = 8, /// /// 交割付款失败 /// DELIVERYDETAILHANDLESTATUS_PAYMENT_FAILED = 9, /// /// 头寸转移失败 /// DELIVERYDETAILHANDLESTATUS_POSITION_MOVE_FAILED = 10, /// /// 仓单转移失败 /// DELIVERYDETAILHANDLESTATUS_WH_MOVE_FAILED = 11, /// /// 交易成功 /// DELIVERYDETAILHANDLESTATUS_TRADE_SUCCESS = 12, /// /// 冻结履约保证金 /// DELIVERYDETAILHANDLESTATUS_FREEZE_PERFORMANCEMARGIN = 13, /// /// 冻结履约保证金失败 /// DELIVERYDETAILHANDLESTATUS_FREEZE_PERFORMANCEMARGIN_FAILED = 14, /// /// 冻结履约保证金成功 /// DELIVERYDETAILHANDLESTATUS_PERFORMANCEMARGIN_FREEZED = 15 } /// // 手续费收取方式 /// 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_OUT = 1, /// /// 入金 /// BANK_OUTORIN_IN = 2, /// /// 单边帐调整,入金 /// BANK_OUTORIN_SINGLESIDE_IN = 3, /// /// 单边帐调整,出金 /// BANK_OUTORIN_SINGLESIDE_OUT = 4 } /// // 上传状态 /// public enum eBank_DealStatus { /// /// 待上传 /// BANK_DEALSTATUS_PENDING = 1, /// /// 上传成功 /// BANK_DEALSTATUS_SUCCESS = 2, /// /// 上传失败 /// BANK_DEALSTATUS_FAILED = 3, /// /// 已注销 /// BANK_DEALSTATUS_CANCEL = 4 } /// // 客户类型 /// 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_OUT = 1, /// /// 入金 /// BANK_AMOUNTTYPE_IN = 2 } /// // 对账状态 /// public enum eBank_CheckStatus { /// /// 未对账 /// BANK_CHECKSTATUS_UNCHECK = 1, /// /// 对账成功 /// BANK_CHECKSTATUS_SUCCESS = 2, /// /// 对账失败 /// BANK_CHECKSTATUS_FAILED = 3, /// /// 单边账调整成功 /// BANK_CHECKSTATUS_ADJUSTSUCCESS = 4 } /// // 差错处理状态 /// 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, /// /// 银行端审核中 /// BANK_APPLYSTATUS_BANK_PENDING = 13, /// /// 账户服务入金失败 /// BANK_APPLYSTATUS_AS_BANKIN = 14, /// /// 账户服务解冻失败 /// BANK_APPLYSTATUS_AS_UNFREEZE = 15, /// /// 账户服务解冻扣款失败 /// BANK_APPLYSTATUS_AS_UNFREEZE_AND_OUT = 16, /// /// 账户服务出金失败 /// BANK_APPLYSTATUS_AS_BANKOUT = 17, /// /// 复审通过 /// BANK_APPLYSTATUS_RECONFIRM_OK = 18, /// /// 复审拒绝 /// BANK_APPLYSTATUS_RECONFIRM_REJECT = 19, /// /// 提交审核,账户冻结中 /// BANK_APPLYSTATUS_FREEZE_BEFOR_CONFIRM = 20, /// /// 审核拒绝,账户解冻中 /// BANK_APPLYSTATUS_UNFEEZE_ON_CONFIRM_REJECT = 21 } /// // 签约状态 /// 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, /// /// 今日免清算 /// BANK_CLEARPROCESSSTATUS_UNNEED_CLEAR = 18 } /// // 银行业务操作状态 /// 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_TRADELOGID = 106, /// /// 对冲内部委托单 /// ORDERIDTYPE_TRADE_HEDGEINNERORDERID = 107, /// /// 对冲内部成交单 /// ORDERIDTYPE_TRADE_HEDGEINNERTRADEID = 108, /// /// 源记录ID /// ORDERIDTYPE_TRADE_SOURCERECORDID = 109, /// /// 受托交易成交单/交易持仓单/交易成交配对 /// ORDERIDTYPE_TRADE_ENTRUST_TRADEID = 110, /// /// 对冲内部撤单ID /// ORDERIDTYPE_TRADE_HEDGEINNERCANCELID = 111, /// /// 对冲内部平仓ID /// ORDERIDTYPE_TRADE_HEDGEINNERCLOSEID = 112, /// /// 对冲外部委托单ID /// ORDERIDTYPE_TRADE_HEDGEOUTORDERID = 113, /// /// 对冲外部成交单ID /// ORDERIDTYPE_TRADE_HEDGEOUTTRADEID = 114, /// /// 对冲外部撤单ID /// ORDERIDTYPE_TRADE_HEDGEOUTCANCEL = 115, /// /// 对冲外部成交检查ID /// ORDERIDTYPE_RECKON_HEDGEOUTCHECKID = 116, /// /// 场外期权对冲流水ID /// ORDERIDTYPE_OTCOPTION_HEDGELOGID = 117, /// /// 锁仓ID /// ORDERIDTYPE_TRADE_CHANNELLOCKID = 118, /// /// 认购ID /// ORDERIDTYPE_TRADE_CHANNELBUYID = 119, /// /// 交割申报单 /// ORDERIDTYPE_TRADE_DELIVERYORDERID = 120, /// /// 交割单 /// ORDERIDTYPE_TRADE_DELIVERYID = 121, /// /// 提单ID /// ORDERIDTYPE_WR_TAKEORDERID = 122, /// /// 配送单ID /// ORDERIDTYPE_WR_DISTRIBUTEORDERID = 123, /// /// 履约计划 /// ORDERIDTYPE_TRADE_PERFORMANCEPLANID = 130, /// /// 履约计划步骤 /// ORDERIDTYPE_TRADE_PERFORMANCESTEPID = 131, /// /// 履约违约申请ID /// ORDERIDTYPE_TRADE_PERFORMANCEBREACHAPPLYID = 132, /// /// 履约交易日志流水号 /// ORDERIDTYPE_PERFORMANCE_TRADELOGID = 133, /// /// 实时行情流水 /// ORDERIDTYPE_TRADE_REALQUOTESERIALID = 140, /// /// 账户请求消息流水ID /// ORDERIDTYPE_ACCOUNTREQ_FLOWID = 141, /// /// 预售集采挂牌ID /// ORDERIDTYPE_PRESALE_LISTINGID = 150, /// /// 预售集采委托ID /// ORDERIDTYPE_PRESALE_ORDERID = 151, /// /// 预售集采成交ID /// ORDERIDTYPE_PRESALE_TRADEID = 152, /// /// 招投标中标ID /// ORDERIDTYPE_TENDER_WINID = 160, /// /// 持仓头寸变动日照表流水ID /// ORDERIDTYPE_RECKONDAY_MOTIFY_POSITION_FLOWID = 171, /// /// 仓单头寸变动日照表流水ID /// ORDERIDTYPE_RECKONDAY_MOTIFY_WRPOSITION_FLOWID = 172, /// /// 订单仓单头寸变动日照表流水ID /// ORDERIDTYPE_RECKONDAY_MOTIFY_TWRPOSITION_FLOWID = 173, /// /// 积分头寸变动日照表流水ID /// ORDERIDTYPE_RECKONDAY_MOTIFY_SCOREPOSITION_FLOWID = 174, /// /// 机构分润日统计明细表流水ID /// ORDERIDTYPE_DAYSTATIS_AREA_SHAREPROFIT_DETAIL_FLOWID = 175, /// /// 资金处理表流水ID /// ORDERIDTYPE_MONEY_PROCESS_FLOWID = 176, /// /// 仓单 /// ORDERIDTYPE_WR_WRID = 200, /// /// 仓单头寸 /// ORDERIDTYPE_WR_WRPOSITIONID = 201, /// /// 仓单头寸流水 /// ORDERIDTYPE_WR_WRPOSITIONFLOWID = 202, /// /// 仓单流水 /// ORDERIDTYPE_WR_WRFLOWID = 203, /// /// 库位流水 /// ORDERIDTYPE_WR_LOCATIONFLOWID = 204, /// /// 仓单转用途 /// ORDERIDTYPE_WR_WRREQUESTID = 205, /// /// 订单仓单头寸 /// ORDERIDTYPE_WR_TRADEWRPOSITIONID = 206, /// /// 订单仓单头寸流水 /// ORDERIDTYPE_WR_TRADEWRPOSITIONFLOWID = 207, /// /// 提单ID /// ORDERIDTYPE_WR_LADINGBILLID = 208, /// /// 库位ID /// ORDERIDTYPE_WR_LOCATIONID = 209, /// /// 积分ID /// ORDERIDTYPE_SCOREID = 210, /// /// 积分流水 /// ORDERIDTYPE_SCOREFLOWID = 211, /// /// 仓单要素类型ID /// ORDERIDTYPE_FACTORTYPEID = 212, /// /// 资金流水 /// ORDERIDTYPE_AMOUNTFLOWID = 220, /// /// 头寸流水 /// ORDERIDTYPE_POSITIONFLOWID = 221, /// /// 仓单持仓单ID /// ORDERIDTYPE_WR_HOLDDETAILID = 222, /// /// 商城成交单 /// ORDERIDTYPE_MALL_TRADEID = 300, /// /// SCF合同ID /// ORDERIDTYPE_SUPPLYCHAIN_TRADEID = 310, /// /// SCF业务消息日志ID /// ORDERIDTYPE_SCF_EXCHTICKET = 311, /// /// SCF仓单回购明细ID /// ORDERIDTYPE_SCF_WRBUYBACKID = 312, /// /// SCF合同计息ID /// ORDERIDTYPE_SCF_INTERESTID = 313, /// /// 仓单贸易委托单ID /// ORDERIDTYPE_WRTRADE_ORDERID = 320, /// /// 仓单贸易成交单ID /// ORDERIDTYPE_WRTRADE_TRADEID = 321, /// /// 仓单贸易撤单ID /// ORDERIDTYPE_WRTRADE_CANCELORDERID = 322, /// /// 竞拍申请单ID /// ORDERIDTYPE_AUCTION_APPLYID = 323, /// /// 竞拍委托单ID /// ORDERIDTYPE_AUCTION_ORDERID = 324, /// /// 竞拍报价流水单ID /// ORDERIDTYPE_AUCTION_QUOTEID = 325, /// /// 竞拍成交单ID /// ORDERIDTYPE_AUCTION_TRADEID = 326, /// /// 竞拍金点拍拍得者奖成交单ID /// ORDERIDTYPE_AUCTION_JDP_PDZ_TRADEID = 327, /// /// 仓单贸易合同ID /// ORDERIDTYPE_WRTRADE_TRADECONTRACT = 328, /// /// 银行交易流水 /// ORDERIDTYPE_BANK_EXCHTICKETID = 400, /// /// 银行发消息到清算中心ID /// ORDERIDTYPE_BANK_SEND_TO_CENTER_ID = 401, /// /// 银行发消息到交易系统ID /// ORDERIDTYPE_BANK_SEND_TO_INNER_ID = 402, /// /// 扩展策略ID /// ORDERIDTYPE_MS_MARKETINGSTRATEGYID = 500, /// /// 扩展服务账户商品成交流水ID /// ORDERIDTYPE_MS_GOODSTRADELOGID = 501, /// /// 主动申报的扩展发货单ID /// ORDERIDTYPE_MS_ACTIVE_SHIPID = 502, /// /// 强制发货的扩展发货单ID /// ORDERIDTYPE_MS_PASSIVE_SHIPID = 503, /// /// 扩展发货单明细ID /// ORDERIDTYPE_MS_DETAIL_SHIPID = 504, /// /// 扩展发货单分润明细ID /// ORDERIDTYPE_MS_DIVIDE_DETAIL_SHIPID = 505, /// /// 扩展流水ID /// ORDERIDTYPE_MS_EXCHTICKETID = 506, /// /// 扩展券转积分明细ID /// ORDERIDTYPE_MS_DETAILID = 508, /// /// 扩展分润明细ID /// ORDERIDTYPE_MS_INVOICEDIVIDEID = 509, /// /// 扩展配送费明细ID /// ORDERIDTYPE_MS_EXPRESSFEEDETAILID = 510, /// /// 内存数据库SQL日志流水ID /// ORDERIDTYPE_MEMDB_SQLLOG_SERIALID = 600, /// /// 交易服务日志流水ID /// ORDERIDTYPE_TRADE_LOGID = 901, /// /// 提货单号ID /// ORDERIDTYPE_TRADE_TAKE_ORDERID = 905, /// /// 下单接口平台账户ID /// ORDERIDTYPE_MHP_ACCOUNTID = 1, /// /// 下单接口平台委托单ID /// ORDERIDTYPE_MHP_ORDERID = 2, /// /// 下单接口平台成交ID /// ORDERIDTYPE_MHP_MHPTRADEID = 3, /// /// 下单接口平台撤单ID /// ORDERIDTYPE_MHP_CANCELTRADEID = 4, /// /// 下单接口平台交易日志ID /// ORDERIDTYPE_MHP_TRADELOGID = 5 } /// // 商品交易权限类型 /// public enum eGoodsTradeType { /// /// 可建可平 /// GOODSTRADETYPE_OPENANDCLOSE = 1, /// /// 可建不可平 /// GOODSTRADETYPE_OPENONLY = 2, /// /// 不可建可平 /// GOODSTRADETYPE_CLOSEONLY = 3, /// /// 不可建不可平 /// GOODSTRADETYPE_NONE = 4 } /// // 挂牌点选类型 /// public enum eListingSelectType { /// /// 挂牌 /// LISTINGSELECTTYPE_LISTING = 1, /// /// 摘牌 /// LISTINGSELECTTYPE_DELISTING = 2, /// /// 先摘后挂 /// 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, /// /// 卖持仓收 /// MARGINFORMULA_SELL = 5 } /// // 交割价格方式 /// 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_WRMOVE = 8, /// /// 释放卖方履约前剩余保证金 /// PERFORMANCE_STEPTYPE_SELLER_UNFREEZE = 9, /// /// 溢短 /// PERFORMANCE_STEPTYPE_OVER_SHORT = 10, /// /// 生成合同 /// PERFORMANCE_STEPTYPE_BUILD_AGREEMENT = 11, /// /// 运费 /// PERFORMANCE_STEPTYPE_BUILD_EXPRESSFEE = 12, /// /// 确认付款(买方) /// PERFORMANCE_STEPTYPE_COINC2C_CONFIRM_PAYMENT = 90, /// /// 确认放行(卖方) /// PERFORMANCE_STEPTYPE_COINC2C_CONFIRM_PASS = 91, /// /// 买方支付(直接扣款) /// PERFORMANCE_STEPTYPE_BUYER_PAYMENT_NOW = 92 } /// // 履约步骤是否可自动确认 /// 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, /// /// 已解冻 /// PERFORMANCE_WR_HANDLESTATUS_UNFREEZED = 3 } /// // 履约计划状态 /// public enum ePerformanceStatus { /// /// 初始化 /// PERFORMANCESTATUS_INI = 1, /// /// 正常 /// PERFORMANCESTATUS_NORMAL = 2, /// /// 处理错误 /// PERFORMANCESTATUS_ERROR = 3, /// /// 违约待确认 /// PERFORMANCESTATUS_BREACHING = 4, /// /// 违约 /// PERFORMANCESTATUS_BREACHED = 5, /// /// 完成 /// PERFORMANCESTATUS_FINISHED = 6, /// /// 违约已完成 /// PERFORMANCESTATUS_BREACHE_FINISHED = 7, /// /// 释放冻结失败 /// PERFORMANCESTATUS_UNFREEZE_FAIL = 8, /// /// 超时待处理 /// PERFORMANCESTATUS_TIMEOUT_WAIT = 9, /// /// 超时关闭 /// PERFORMANCESTATUS_TIMEOUT_FINISHED = 10 } /// // 履约步骤状态 /// 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, /// /// 超时关闭 /// PERFORMANCE_STEPSTATUS_FINISHED_TIMEOUT = 7 } /// // 履约延期状态 /// 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, /// /// 已完成 /// BREACHSTATUS_FINISHED = 4 } /// // 履约日志类型 /// 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, /// /// 预售采集 /// PERFORMANCETYPE_PRESALE = 3, /// /// 竞拍-降价式 (无仓单) /// PERFORMANCETYPE_AUCTIONCUT = 4, /// /// 挂牌期权 (无仓单) /// PERFORMANCETYPE_LISTINGOPTION = 5, /// /// 竞拍-降价式 /// PERFORMANCETYPE_AUCTIONLOWER = 6, /// /// 竞拍-竞价式 /// PERFORMANCETYPE_AUCTIONUPPER = 7, /// /// 竞拍-大宗式 /// PERFORMANCETYPE_AUCTIONBULK = 8, /// /// 竞拍-荷兰式 /// PERFORMANCETYPE_AUCTIODUTCH = 9, /// /// 法币C2C /// PERFORMANCETYPE_COINC2C = 10, /// /// 报价系统 /// PERFORMANCETYPE_SPOTQUOTE = 11, /// /// 挂牌系统 /// PERFORMANCETYPE_SPOTLISTING = 12 } /// // 用户操作变更类型 /// 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, /// /// 删除三方登陆信息 /// ACCOUNT_OPERATE_DEL_USERAUTHINFO = 5 } /// // 商品操作变更类型 /// 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, /// /// 外部账户 /// SERVER_EX_ACCOUNT = 22, /// /// 对冲平台 /// SERVER_HEDGE = 23 } /// // 履约结算节点ID /// public enum ePerformanceReckonNodeID { /// /// 履约服务履约结算节点ID /// PERFORMANCERECKNODEID_PERFORMANC = 1, /// /// 履约服务违约结算节点ID /// PERFORMANCERECKNODEID_CONTRACTED = 2, /// /// 履约服务统计结算节点ID /// PERFORMANCERECKNODEID_STATISTICS = 3 } /// // 特殊市场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_REPORT = 8, /// /// 扩展 /// SPEICAL_MARKET_MARKETING = 9, /// /// 自动报价 /// SPEICAL_MARKET_AUTOQUOTE = 10, /// /// 商城 /// SPEICAL_MARKET_MALL = 11, /// /// 外盘账户 /// SPEICAL_MARKET_OUTERACCOUNT = 12, /// /// 非交易日银行测试服务 /// SPEICAL_MARKET_UNTRADE_TEST_BANK = 13, /// /// 银行服务(清算) /// SPEICAL_MARKET_BANK_SETTLE = 14, /// /// 结算服务 /// SPEICAL_MARKET_RECKON = 15, /// /// 统计服务 /// SPEICAL_MARKET_SUM = 16, /// /// 行情接入 /// SPEICAL_MARKET_QUOTE_SOURCE = 100, /// /// 行情处理 /// SPEICAL_MARKET_QUOTE_PRICE = 101, /// /// 行情发布 /// SPEICAL_MARKET_QUOTE_PUBLISH = 102, /// /// 积分-尚志金点拍 /// SPEICAL_MARKET_SCORE_SZ_JDP = 200 } /// // 库位操作类别 /// 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, /// /// 竞拍头寸(竞拍服务) /// SPLIT_SRC_AUCTION_POS = 3 } /// // 供应链金融合同类型 /// 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, /// /// 合同状态修改 /// SCF_PROCESS_STEP_CONTRACTSTATUSMODIFY = 15 } /// // 供应链金融业务步骤 /// 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_ACC_UNFREEZE_SUB_POS_REQ = 22, /// /// 收到账户服务解冻扣减头寸成功应答 /// SCF_SUB_STEP_RECV_ACC_UNFREEZE_SUB_POS_SUCCESS_RSP = 23, /// /// 收到账户服务解冻扣减头寸失败应答 /// SCF_SUB_STEP_RECV_ACC_UNFREEZE_SUB_POS_FAILED_RSP = 24, /// /// 发给账户服务增加头寸请求 /// SCF_SUB_STEP_SEND_ACC_ADD_POS_REQ = 25, /// /// 收到账户服务增加头寸成功应答 /// SCF_SUB_STEP_RECV_ACC_ADD_POS_SUCCESS_RSP = 26, /// /// 收到账户服务增加头寸失败应答 /// SCF_SUB_STEP_RECV_ACC_ADD_POS_FAILED_RSP = 27, /// /// 发给仓单服务库位操作请求 /// SCF_SUB_STEP_SEND_WR_SITE_REQ = 28, /// /// 收到仓单服务库位操作成功应答 /// SCF_SUB_STEP_RECV_WR_SITE_SUCCESS_RSP = 29, /// /// 收到仓单服务库位操作失败应答 /// SCF_SUB_STEP_RECV_WR_SITE_FAILED_RSP = 30, /// /// 发给仓单服务库位合并请求 /// SCF_SUB_STEP_SEND_WR_MARGE_REQ = 31, /// /// 收到仓单服务库位合并成功应答 /// SCF_SUB_STEP_RECV_WR_MARGE_SUCCESS_RSP = 32, /// /// 收到仓单服务库位合并失败应答 /// SCF_SUB_STEP_RECV_WR_MARGE_FAILED_RSP = 33, /// /// 发给仓单服务仓单转移请求 /// SCF_SUB_STEP_SEND_WR_MOVE_REQ = 34, /// /// 收到仓单服务仓单转移成功应答 /// SCF_SUB_STEP_RECV_WR_MOVE_SUCCESS_RSP = 35, /// /// 收到仓单服务仓单转移失败应答 /// SCF_SUB_STEP_RECV_WR_MOVE_FAILED_RSP = 36, /// /// 发给账户服务最大扣款请求 /// SCF_SUB_STEP_SEND_ACC_MAX_PAY_REQ = 37, /// /// 收到账户服务最大扣款成功应答 /// SCF_SUB_STEP_SEND_ACC_MAX_PAY_RSP = 38, /// /// 发送业务成功通知 /// SCF_SUB_STEP_SEND_SUCCESS_NOTIFY = 39, /// /// 发送业务失败通知 /// SCF_SUB_STEP_SEND_FAILED_NOTIFY = 40, /// /// 结算开始 /// SCF_SUB_STEP_NODESTATUS_BEGIN = 41, /// /// 结算成功 /// SCF_SUB_STEP_NODESTATUS_SUCCESS = 42, /// /// 结算失败 /// SCF_SUB_STEP_NODESTATUS_FAILED = 43, /// /// 发送风控操作请求 /// SCF_SUB_STEP_SEND_RISK_REQ = 44, /// /// 单向贷方合同结算加钱 /// SCF_SUB_STEP_SINGLE_LENDER_SETTLE_ADD = 45, /// /// 单向借方合同结算扣减 /// SCF_SUB_STEP_SINGLE_BORROWER_SETTLE_DEDUCT = 46 } /// // 供应链金融合同状态 /// 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, /// /// D类 /// SCF_RECKONAMOUNTTYPE_D = 4 } /// // 供应链金融计息标志 /// 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 eSCFContractDirection { /// /// 1:双向合同 /// SCF_CONTRACT_DIRECTION_BOTH = 1, /// /// 2:单向贷方合同 /// SCF_CONTRACT_DIRECTION_SINGLE_LENDER = 2, /// /// 3:单向借方合同 /// SCF_CONTRACT_DIRECTION_SINGLE_BORROWER = 3 } /// // 仓单持仓转换类型 /// public enum eWRHolderTranslateType { /// /// 仓单转持仓 /// WRHOLDER_TRANSLATETYPE_WRTOHOLDER = 1, /// /// 持仓转仓单 /// WRHOLDER_TRANSLATETYPE_HOLDERTOWR = 2 } /// // 仓单持仓转换解冻标志 /// public enum eWRHolderTranslateUnfreezeFlag { /// /// 需解冻 /// WRHOLDER_TRANSLATE_UNFREEZEFLAG_TRUE = 1, /// /// 不解冻 /// WRHOLDER_TRANSLATE_UNFREEZEFLAG_FALSE = 2 } /// // 库位提取源 /// public enum ePickupOrigin { /// /// 库位ID /// PU_ORIGIN_LOCID = 1, /// /// 仓单ID /// PU_ORIGIN_WRID = 2, /// /// 仓单要素完整数据 /// PU_ORIGIN_FACTOR = 3, /// /// 仓单要素ID /// PU_ORIGIN_FACTORID = 4 } /// // 数据转移数据库 /// public enum eLocationMoveOrigin { /// /// 仓单ID /// LM_ORIGIN_WRID = 1, /// /// 仓单要素及数量 /// LM_ORIGIN_FACTOR_NUM = 2 } /// // 提货状态对应表TakeDeliveryRequest /// public enum eLadingStatus { /// /// 待审核 /// LADING_PENDING = 1, /// /// 审核通过 /// LADING_PASS = 2, /// /// 审核拒绝 /// LADING_REFUSE = 3, /// /// 已撤消 /// LADING_CANCEL = 4, /// /// 失败 /// LADING_FAILED = 5, /// /// 提货完成 /// LADING_OK = 6, /// /// 待收货 /// LADING_WAITING_RECEIVE = 7 } /// // 通道交易消息ID /// public enum eMessageID { /// /// 登录请求 /// MID_LOGINREQ = 1, /// /// 登录响应 /// MID_LOGINRSP = 2, /// /// 登出请求 /// MID_LOGOUTREQ = 3, /// /// 登出响应 /// MID_LOGOUTRSP = 4, /// /// 查询资金信息请求 /// MID_QUERYACCOUNTMONEYREQ = 10001, /// /// 查询资金信息应答 /// MID_QUERYACCOUNTMONEYRSP = 10002, /// /// 查询持仓汇总请求 /// MID_QUERYPOSITIONREQ = 10003, /// /// 查询持仓汇总应答 /// MID_QUERYPOSITIONRSP = 10004, /// /// 查询持仓明细请求 /// MID_QUERYPOSITIONDETAILREQ = 10005, /// /// 查询持仓明细应答 /// MID_QUERYPOSITIONDETAILRSP = 10006, /// /// 查询报单请求 /// MID_QUERYORDERREQ = 10007, /// /// 查询报单应答 /// MID_QUERYORDERRSP = 10008, /// /// 查询成交请求 /// MID_QUERYTRADEREQ = 10009, /// /// 查询成交应答 /// MID_QUERYTRADERSP = 10010, /// /// 查询合约请求 /// MID_QUERYINSTRUMENTREQ = 10011, /// /// 查询合约应答 /// MID_QUERYINSTRUMENTRSP = 10012, /// /// 报单录入请求 /// MID_INPUTORDERREQ = 20001, /// /// 报单录入应答 /// MID_INPUTORDERRSP = 20002, /// /// 报单修改请求 /// MID_ORDERACTIONREQ = 20003, /// /// 报单修改应答 /// MID_ORDERACTIONRSP = 20004, /// /// 报单通知 /// MID_NOTICEORDER = 30001, /// /// 成交通知 /// MID_NOTICETRADE = 30002, /// /// 实时行情订阅请求 /// MID_QUTATIONSUBSCRIBEREQ = 40001, /// /// 实时行情订阅应答 /// MID_QUTATIONSUBSCRIBERSP = 40002, /// /// 实时行情推送 /// MID_NOTICEQUTATION = 40003 } /// // 交易通道编号 /// public enum eChannelIDType { /// /// 场外交易 /// CID_OUTSIDE = 0, /// /// 综合交易平台 /// CID_CTP = 1, /// /// 安粮期货 /// CID_ATP = 2, /// /// 盈透 /// CID_IB = 3, /// /// 易盛 /// CID_TAP = 4, /// /// 直达 /// CID_DA = 5, /// /// 富途 /// CID_FUTU = 6, /// /// 火币 /// CID_HUOBI = 7, /// /// 艾雅斯 /// CID_AYERS = 8, /// /// 恒生 /// CID_HS = 9, /// /// 持仓修正 /// CID_MANAGE = 97, /// /// 通道交易测试渠道 /// CID_CHANNEL_TEST = 98, /// /// 下单接口平台测试渠道 /// CID_MHP_TEST = 99 } /// // 持仓多空方向 /// 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_LIMITPRICE = 1, /// /// 市价 /// OPT_MARKETPRICE = 2 } /// // 有效期类型 /// 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_INVALID = 0, /// /// 投机 /// HF_SPECULATION = 1, /// /// 套保 /// HF_HEDGE = 2, /// /// 套利 /// HF_ARBITRAGE = 3 } /// // 持仓日期类型 /// 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, /// /// 部成部撤 /// WRTRADEORDERSTATUS_PARTIALCANCELED = 15 } /// // 消息账户记录类型 /// public enum eRecordType { /// /// 资金 /// MSG_ACCOUNT_REC_TYPE_AMOUNT = 1, /// /// 头寸 /// MSG_ACCOUNT_REC_TYPE_POSTION = 2 } /// // 履约步骤控制状态 /// public enum ePerformance_StepHandleStatus { /// /// 开始 /// PERFORMANCE_STEPHANDLESTATUS_BEGIN = 1, /// /// 结束 /// PERFORMANCE_STEPHANDLESTATUS_FINISHED = 2, /// /// 冻结请求 /// PERFORMANCE_STEPHANDLESTATUS_FREEZE_REQ = 3, /// /// 冻结返回成功 /// PERFORMANCE_STEPHANDLESTATUS_FREEZE_RSP_SUC = 4, /// /// 冻结返回失败 /// PERFORMANCE_STEPHANDLESTATUS_FREEZE_RSP_FAIL = 5, /// /// 扣款请求 /// PERFORMANCE_STEPHANDLESTATUS_DEDUCT_REQ = 6, /// /// 扣款返回成功 /// PERFORMANCE_STEPHANDLESTATUS_DEDUCT_RSP_SUC = 7, /// /// 扣款返回失败 /// PERFORMANCE_STEPHANDLESTATUS_DEDUCT_RSP_FAIL = 8, /// /// 仓单转移请求 /// PERFORMANCE_STEPHANDLESTATUS_RECEIPTTRANSFER_REQ = 9, /// /// 仓单转移返回成功 /// PERFORMANCE_STEPHANDLESTATUS_RECEIPTTRANSFER_RSP_SUC = 10, /// /// 仓单转移返回失败 /// PERFORMANCE_STEPHANDLESTATUS_RECEIPTTRANSFER_RSP_FAIL = 11, /// /// 加钱请求 /// PERFORMANCE_STEPHANDLESTATUS_ADDMONEY_REQ = 12, /// /// 加钱返回成功 /// PERFORMANCE_STEPHANDLESTATUS_ADDMONEY_RSP_SUC = 13, /// /// 加钱返回失败 /// PERFORMANCE_STEPHANDLESTATUS_ADDMONEY_RSP_FAIL = 14, /// /// 解冻仓单头寸请求 /// PERFORMANCE_STEPHANDLESTATUS_UNFREZZE_WRPOSTION_REQ = 15, /// /// 解冻仓单头寸返回成功 /// PERFORMANCE_STEPHANDLESTATUS_UNFREZZE_WRPOSTION_RSP_SUC = 16, /// /// 解冻仓单头寸返回失败 /// PERFORMANCE_STEPHANDLESTATUS_UNFREZZE_WRPOSTION_RSP_FAIL = 17, /// /// 解冻库位请求 /// PERFORMANCE_STEPHANDLESTATUS_UNFREZZE_WAREHOUSE_REQ = 18, /// /// 解冻库位返回成功 /// PERFORMANCE_STEPHANDLESTATUS_UNFREZZE_WAREHOUSE_RSP_SUC = 19, /// /// 解冻库位返回失败 /// PERFORMANCE_STEPHANDLESTATUS_UNFREZZE_WAREHOUSE_RSP_FAIL = 20, /// /// 卖方剩余金额解冻请求 /// PERFORMANCE_STEPHANDLESTATUS_SELLER_UNFREZZE_REQ = 21, /// /// 卖方剩余金额解冻成功 /// PERFORMANCE_STEPHANDLESTATUS_SELLER_UNFREZZE_RSP_SUC = 22, /// /// 卖方剩余金额解冻失败 /// PERFORMANCE_STEPHANDLESTATUS_SELLER_UNFREZZE_RSP_FAIL = 23 } /// // 外盘委托状态 /// public enum eChannelOutOrderStatus { /// /// 接收成功 /// OUTERSTATUS_RECVMSG = 1, /// /// 发送成功 /// OUTERSTATUS_SENDSUCC = 2, /// /// 委托成功 /// OUTERSTATUS_ORDERSUCC = 3, /// /// 委托失败 /// OUTERSTATUS_ORDERFAIL = 4, /// /// 全部成交 /// OUTERSTATUS_ALLTRADE = 5, /// /// 部成部撤 /// OUTERSTATUS_TRADECANCEL = 6, /// /// 全部撤单 /// OUTERSTATUS_ALLCANCEL = 7 } /// // 违约处理状态 /// public enum eBreachHandleStatus { /// /// 待处理 /// BREACH_HANDLESTATUS_TREATED = 1, /// /// 已处理 /// BREACH_HANDLESTATUS_PROCESSED = 2, /// /// 已完成 /// BREACH_HANDLESTATUS_FINISHED = 3 } /// // 对冲平仓方式 /// public enum eHedgeCloseFlagType { /// /// 平仓 /// HEDGECLOSEFLAGTYPE_CLOSE = 0, /// /// 平今 /// HEDGECLOSEFLAGTYPE_CLOSETODAY = 1, /// /// 平昨 /// HEDGECLOSEFLAGTYPE_CLOSEHISTORY = 2 } /// // 头寸初始化 /// public enum ePsInit { /// /// 头寸未初始化 /// PSINIT_NOINIT = 0, /// /// 头寸已初始化 /// PSINIT_INIT = 1 } /// // 期权类型 /// public enum eOptionType { /// /// 认购 /// OPTIONTYPE_CALL = 1, /// /// 认沽 /// OPTIONTYPE_PUT = 2 } /// // 行权日类型 /// public enum eExpireType { /// /// 滚动行权 /// EXPIRETYPE_CYCLE = 1, /// /// 固定日期行权 /// EXPIRETYPE_DATE = 2 } /// // 期权接单状态 /// public enum eOptionAcceptStatus { /// /// 无效 /// OPTIONACCEPTSTATUS_INVALID = 0, /// /// 有效 /// OPTIONACCEPTSTATUS_AVAILABE = 1 } /// // 期权行情类型 /// public enum eOptionQuoteType { /// /// 行权价报价 /// OPTIONQUOTETYPE_STRIKEPRICE = 1, /// /// 权利金报价 /// OPTIONQUOTETYPE_PREMIUM = 2, /// /// 行权价权利金报价 /// OPTIONQUOTETYPE_ALL = 3, /// /// 空报价 /// OPTIONQUOTETYPE_NONE = 4 } /// // 扩展策略是否有效 /// public enum eMS_IsValid { /// /// 无效 /// MS_ISVALID_NO = 0, /// /// 有效 /// MS_ISVALID_YES = 1 } /// // 提货方式 /// public enum eMS_TakeMode { /// /// 无 /// MS_TAKEMODE_NONE = 1, /// /// 自提 /// MS_TAKEMODE_PICK_UP = 2, /// /// 配送 /// MS_TAKEMODE_DISPATCH = 3 } /// // 扩展策略数据来源 /// public enum eMS_DataSrc { /// /// 无 /// MS_DATASRC_NONE = 1, /// /// 交易成交通知 /// MS_DATASRC_TRADENTF = 2, /// /// 订单仓单互转成交通知 /// MS_DATASRC_ORDERWRTRANSFERNTF = 3, /// /// 结算信号通知 /// MS_DATASRC_RECKONSIGNALNTF = 4, /// /// 开户成功通知 /// MS_DATASRC_OPENACCOUNT = 5, /// /// 首次登录通知 /// MS_DATASRC_FIRSTLOGIN = 6, /// /// 交割成交通知 /// MS_DATASRC_DELIVERYDEALEDNTF = 7, /// /// 交收成交通知(交收服务) /// MS_DATASRC_DELIVERYDEALNTF = 8, /// /// 商城收款成功通知 /// MS_DATASRC_MAILRECEIVENTF = 9 } /// // 扩展策略临时停用状态 /// public enum eMS_IsStop { /// /// 未停止 /// MS_ISSTOP_NO = 0, /// /// 已停止 /// MS_ISSTOP_YES = 1 } /// // 扩展策略类型 /// public enum eMS_Type { /// /// 累计盈亏策略 /// MS_COUNTPL = 1, /// /// 转版策略 /// MS_TRANSFERPLATE = 2, /// /// 定期汇总策略 /// MS_REGULARCOUNT = 3, /// /// 发货策略 /// MS_SHIPGOODS = 4, /// /// 发货结算策略 /// MS_SHIPGOODSRECKON = 5, /// /// 订单行权策略 /// MS_ORDERRIGHT = 6, /// /// 券转积分策略 /// MS_SCOUPON2SCORE = 7, /// /// 提货申请策略 /// MS_LADINGORDER = 8, /// /// 发票申请策略 /// MS_INVOICEAPP = 9, /// /// 累计盈亏策略(新) /// MS_COUNTPL_ZY = 10, /// /// 定期汇总策略(新) /// MS_REGULARCOUNT_ZY = 11, /// /// 发货策略(新) /// MS_SHIPGOODS_ZY = 12, /// /// 订单行权策略(新) /// MS_ORDERRIGHT_ZY = 13, /// /// 提货申请策略(新) /// MS_LADINGORDER_ZY = 14, /// /// 剩余券处理 /// MS_SCOUPONHANDLE = 15, /// /// 报表数据策略 /// MS_REPORT_ZY = 16, /// /// 开户送红包策略(尚志) /// MS_OPENACCOUNT_GIFT_SZ = 17, /// /// 首次登录红包策略(尚志) /// MS_FIRSTLOGIN_GIFT_SZ = 18, /// /// 交易分润策略(尚志) /// MS_TRADEDIVIDE_SZ = 19, /// /// 交割分润策略(尚志) /// MS_DELIVERYDIVIDE_SZ = 20, /// /// 交收配送费策略(尚志) /// MS_EXPRESSFEE_SZ = 21, /// /// 报表数据策略(尚志) /// MS_REPORT_SZ = 22, /// /// 成交短信通知策略(临沂国际) /// MS_DEALMESSAGENTF_LXGJ = 23, /// /// 购物分润策略(尚志) /// MS_SHOPPINGDIVIDE_SZ = 24, /// /// 投资者亏损转积分(通用) /// MS_INVESTOR_PL_TO_SCORE = 25, /// /// 投资者盈利转积分(通用/烟台) /// MS_INVESTOR_PROFIT_TO_SCORE = 26, /// /// 投资者成交量转积分(尚志) /// MS_INVESTOR_VOLUME_TO_SCORE_SZ = 27, /// /// 净头寸对冲策略(中远) /// MS_NETPOSITION_HEDGE_ZY = 28, /// /// 投资者建仓限制策略(辽东湾) /// MS_INVESTOR_OPENLIMIT_LDW = 29, /// /// 投资者交易手续费转积分策略(辽东湾) /// MS_INVESTOR_CHARGE_TO_SCORE_LDW = 30, /// /// 竞拍商城送积分策略(海南) /// MS_PERFOPLANPROCNTF_TO_SCORE = 31, /// /// 场外期权交易限制策略(辽东湾) /// MS_OUTSIDETRADELIMIT = 32, /// /// 数据同步策略(百色矿业) /// MS_SYNCHRONIZE_DATA_BSKY = 33 } /// // 非标履约计划模板ID /// public enum eSpecialPerformancePlanTemplateID { /// /// 仓单转移履约计划 /// SPPTID_WRTRANSFER = -1, /// /// 法币交易C2C履约计划 /// SPPTID_COINC2C = -2 } /// // 期权交易结算节点ID /// public enum eOptionReckonNodeID { /// /// 结算价节点ID /// OPTIONRECKNODEID_RECK_PRICE = 1, /// /// 行权节点ID /// OPTIONRECKNODEID_EXPIRE = 2, /// /// 持仓单备份节点ID /// OPTIONRECKNODEID_HOLDERDETAIL_BACKUP = 3, /// /// 单据试算平衡节点ID /// OPTIONRECKNODEID_ORDER_BALANCE_CALCULATE = 4, /// /// 持仓单处理节点 /// OPTIONRECKNODEID_HOLDERDETAIL_DEAL = 5, /// /// 交易分润节点 /// OPTIONRECKNODEID_SHARE_PROFIT = 6 } /// // 履约模式 /// public enum ePerformanceMode { /// /// 立即执行 /// PERFORMANCEMODE_IMMEDIATE = 1, /// /// 选择模板 /// PERFORMANCEMODE_CHOOSE_TEMPLDATE = 2 } /// // 交割模式 /// public enum eDeliveryMode { /// /// 点选式 /// DELIVERYMODE_PICK = 1, /// /// 申报式 /// DELIVERYMODE_APPLY = 2, /// /// 无仓单申报式 /// DELIVERYMODE_NONWR = 3 } /// // 发货单处理状态 /// public enum eInvoiceOrderHandleStatus { /// /// 未处理 /// SHIPHANDLESTATUS_NO = 1, /// /// 处理中 /// SHIPHANDLESTATUS_DOING = 2, /// /// 处理成功 /// SHIPHANDLESTATUS_SUCCESS = 3, /// /// 处理失败 /// SHIPHANDLESTATUS_FAILED = 4, /// /// 行权审核处理中 /// SHIPHANDLESTATUS_AUDIT_DOING = 5 } /// // 扩展流水表业务步骤 /// public enum eMS_BusinessStep { /// /// 收到业务请求 /// MS_BUSINESSSTEP_RECV_REQ = 1, /// /// 发给账户服务查询订单仓单头寸请求 /// MS_BUSINESSSTEP_SEND_ACC_QUERY_HOLD_REQ = 2, /// /// 收到账户服务查询订单仓单头寸应答成功 /// MS_BUSINESSSTEP_RECV_ACC_QUERY_HOLD_SUCCESS_RSP = 3, /// /// 收到账户服务查询订单仓单头寸应答失败 /// MS_BUSINESSSTEP_RECV_ACC_QUERY_HOLD_FAILED_RSP = 4, /// /// 发给账户服务冻结仓单头寸请求 /// MS_BUSINESSSTEP_SEND_ACC_FREEZE_WRHOLD_REQ = 5, /// /// 收到账户服务冻结仓单头寸应答成功 /// MS_BUSINESSSTEP_RECV_ACC_FREEZE_WRHOLD_SUCCESS_RSP = 6, /// /// 收到账户服务冻结仓单头寸应答失败 /// MS_BUSINESSSTEP_RECV_ACC_FREEZE_WRHOLD_FAILED_RSP = 7, /// /// 发给账户服务解冻扣减仓单头寸请求 /// MS_BUSINESSSTEP_SEND_ACC_DEDUCT_WRHOLD_REQ = 8, /// /// 收到账户服务解冻扣减仓单头寸应答成功 /// MS_BUSINESSSTEP_RECV_ACC_DEDUCT_WRHOLD_SUCCESS_RSP = 9, /// /// 收到账户服务解冻扣减仓单头寸应答失败 /// MS_BUSINESSSTEP_RECV_ACC_DEDUCT_WRHOLD_FAILED_RSP = 10, /// /// 发给账户服务扣款请求 /// MS_BUSINESSSTEP_SEND_ACC_DEDUCT_MONEY_REQ = 11, /// /// 收到账户服务扣款应答成功 /// MS_BUSINESSSTEP_RECV_ACC_DEDUCT_MONEY_SUCCESS_RSP = 12, /// /// 收到账户服务扣款应答失败 /// MS_BUSINESSSTEP_RECV_ACC_DEDUCT_MONEY_FAILED_RSP = 13, /// /// 发给账户服务入款请求 /// MS_BUSINESSSTEP_SEND_ACC_ADD_MONEY_REQ = 14, /// /// 收到账户服务入款应答成功 /// MS_BUSINESSSTEP_RECV_ACC_ADD_MONEY_SUCCESS_RSP = 15, /// /// 收到账户服务入款应答失败 /// MS_BUSINESSSTEP_RECV_ACC_ADD_MONEY_FAILED_RSP = 16, /// /// 发送业务操作成功应答 /// MS_BUSINESSSTEP_SEND_SUCCESS_RSP = 17, /// /// 发送业务操作失败应答 /// MS_BUSINESSSTEP_SEND_FAILED_RSP = 18, /// /// 发给账户服务冻结资金请求 /// MS_BUSINESSSTEP_SEND_ACC_FREEZE_MONEY_REQ = 19, /// /// 收到账户服务冻结资金成功应答 /// MS_BUSINESSSTEP_RECV_ACC_FREEZE_MONEY_SUCCESS_RSP = 20, /// /// 收到账户服务冻结资金失败应答 /// MS_BUSINESSSTEP_RECV_ACC_FREEZE_MONEY_FAILED_RSP = 21, /// /// 发给账户服务解冻扣减资金请求 /// MS_BUSINESSSTEP_SEND_ACC_UNFREEZE_DEDUCT_MONEY_REQ = 22, /// /// 收到账户服务解冻扣减资金成功应答 /// MS_BUSINESSSTEP_RECV_ACC_UNFREEZE_DEDUCT_MONEY_SUCCESS_RSP = 23, /// /// 收到账户服务解冻扣减资金失败应答 /// MS_BUSINESSSTEP_RECV_ACC_UNFREEZE_DEDUCT_MONEY_FAILED_RSP = 24, /// /// 发给账户服务解冻仓单头寸请求 /// MS_BUSINESSSTEP_SEND_ACC_UNFREEZE_WRHOLD_REQ = 25, /// /// 收到账户服务解冻仓单头寸应答成功 /// MS_BUSINESSSTEP_RECV_ACC_UNFREEZE_WRHOLD_SUCCESS_RSP = 26, /// /// 收到账户服务解冻仓单头寸应答失败 /// MS_BUSINESSSTEP_RECV_ACC_UNFREEZE_WRHOLD_FAILED_RSP = 27, /// /// 发给积分服务券转积分请求 /// MS_BUSINESSSTEP_SEND_SCORE_TRANSFER_REQ = 28, /// /// 收到积分服务券转积分应答成功 /// MS_BUSINESSSTEP_RECV_SCORE_TRANSFER_SUCCESS_RSP = 29, /// /// 收到积分服务券转积分应答失败 /// MS_BUSINESSSTEP_RECV_SCORE_TRANSFER_FAILED_RSP = 30, /// /// 发给账户服务查询积分头寸请求 /// MS_BUSINESSSTEP_SEND_ACC_QUERY_SCORE_QTY_REQ = 31, /// /// 收到账户服务查询积分头寸应答成功 /// MS_BUSINESSSTEP_RECV_ACC_QUERY_SCORE_QTY_SUCCESS_RSP = 32, /// /// 收到账户服务查询积分头寸应答失败 /// MS_BUSINESSSTEP_RECV_ACC_QUERY_SCORE_QTY_FAILED_RSP = 33, /// /// 发给账户服务二次扣款请求 /// MS_BUSINESSSTEP_SEND_ACC_SECOND_DEDUCT_MONEY_REQ = 34, /// /// 收到账户服务二次扣款应答成功 /// MS_BUSINESSSTEP_RECV_ACC_SECOND_DEDUCT_MONEY_SUCCESS_RSP = 35, /// /// 收到账户服务二次扣款应答失败 /// MS_BUSINESSSTEP_RECV_ACC_SECOND_DEDUCT_MONEY_FAILED_RSP = 36, /// /// 发给账户二次服务入款请求 /// MS_BUSINESSSTEP_SEND_ACC_SECOND_ADD_MONEY_REQ = 37, /// /// 收到账户服务二次入款应答成功 /// MS_BUSINESSSTEP_RECV_ACC_SECOND_ADD_MONEY_SUCCESS_RSP = 38, /// /// 收到账户服务二次入款应答失败 /// MS_BUSINESSSTEP_RECV_ACC_SECOND_ADD_MONEY_FAILED_RSP = 39, /// /// 发给积分服务积分减少请求 /// MS_BUSINESSSTEP_SEND_SCORE_REDUCESCORE_REQ = 40, /// /// 收到积分服务券转积分减少成功 /// MS_BUSINESSSTEP_SEND_SCORE_REDUCESCORE_SUCCESS_RSP = 41, /// /// 收到积分服务券转积分减少失败 /// MS_BUSINESSSTEP_SEND_SCORE_REDUCESCORE_FAILED_RSP = 42, /// /// 发给积分服务增加积分请求 /// MS_BUSINESSSTEP_SEND_SCORE_ADD_REQ = 43, /// /// 收到积分服务增加积分成功 /// MS_BUSINESSSTEP_RECV_SCORE_SUCCESS_RSP = 44, /// /// 收到积分服务增加积分失败 /// MS_BUSINESSSTEP_RECV_SCORE_FAILED_RSP = 45 } /// // 扩展提货模式 /// public enum eMS_PickupMode { /// /// 券提货 /// MS_PICKUP_MODE_SCORE = 1, /// /// 亏损提货 /// MS_PICKUP_MODE_DEFICIT = 2, /// /// 行权提货 /// MS_PICKUP_MODE_EXPIRE = 3 } /// // 扩展尚志资金类型 /// public enum eMS_SZ_AmountType { /// /// 货款分润(非投资者) /// MS_SZ_AMOUNTTYPE_AMOUNT = 1, /// /// 交收返现(投资者) /// MS_SZ_AMOUNTTYPE_DELIVERY_RETURN = 2, /// /// 商城分润 /// MS_SZ_AMOUNTTYPE_MALLDIVIDE = 3, /// /// 交易所分润 /// MS_SZ_AMOUNTTYPE_EXCHDIVIDE = 4 } /// // 扩展发票类型 /// public enum eMS_ReceiptType { /// /// 个人 /// MS_RECEIPTTYPE_PERSONAL = 1, /// /// 企业 /// MS_RECEIPTTYPE_COMPANY = 2 } /// // 扩展发货状态 /// public enum eMS_ShipperStatus { /// /// 待审核 /// MS_SHIPPERSTATUS_PENDING = 1, /// /// 未发货 /// MS_SHIPPERSTATUS_UNSHIPPED = 2, /// /// 已发货 /// MS_SHIPPERSTATUS_ALREADY = 3, /// /// 已收货 /// MS_SHIPPERSTATUS_TAKE = 4, /// /// 申请失败 /// MS_SHIPPERSTATUS_FAIL = 5, /// /// 待发货处理中 /// MS_SHIPPERSTATUS_WAITTING_SHIP = 6, /// /// 审核拒绝 /// MS_SHIPPERSTATUS_REJECT = 7 } /// // 扩展申请类型 /// public enum eMS_ApplyType { /// /// 强制配货 /// MS_APPLYTYPE_FORCE = 1, /// /// 自主申请 /// MS_APPLYTYPE_ACTIVE = 2 } /// // 扩展分润角色类型 /// public enum eMS_DivideTargetType { /// /// 经销商 /// MS_DIVIDETARGETTYPE_BROKER = 1, /// /// 大区经销商 /// MS_DIVIDETARGETTYPE_MC = 2, /// /// 特许经销商 /// MS_DIVIDETARGETTYPE_SPEC = 3, /// /// 积分服务商 /// MS_DIVIDETARGETTYPE_SCORE = 4 } /// // 扩展结算步骤 /// public enum eMS_RockenStep { /// /// 定期汇总结算 /// MS_ROCKENSTEP_REGULARSUM = 1, /// /// 发货结算 /// MS_ROCKENSTEP_SENDGOODS = 2, /// /// 剩余券转积分结算 /// MS_ROCKENSTEP_TICKETTOSCORE = 3 } /// // 扩展券变更类型 /// public enum eMS_ChangeType { /// /// 结算增加 /// MS_CHANGETYPE_ROCKONADD = 1, /// /// 提货减少 /// MS_CHANGETYPE_DILIVERSUB = 2, /// /// 盈亏减少 /// MS_CHANGETYPE_PLSUB = 3 } /// // 数据库操作类型 /// public enum eDBOperateType { /// /// 查询 /// DBOPERATETYPE_SELECT = 1, /// /// 插入 /// DBOPERATETYPE_INSERT = 2, /// /// 删除 /// DBOPERATETYPE_DELETE = 3, /// /// 更新 /// DBOPERATETYPE_UPDATE = 4, /// /// I /// DBOPERATETYPE_EXECUTESQL = 5 } /// // 是否预行权 /// public enum eIsPreExercise { /// /// 否 /// ISPREEXERCISE_NO = 0, /// /// 是 /// ISPREEXERCISE_YES = 1 } /// // 是否确认行权 /// public enum eIsConfirmExercise { /// /// 否 /// ISCONFIRMEXERCISE_NO = 0, /// /// 是 /// ISCONFIRMEXERCISE_YES = 1 } /// // 发票状态 /// public enum eMS_ReceiptStatus { /// /// 未申请开票 /// MS_RECEIPT_STATUS_UNKNOW = 1, /// /// 已申请开票 /// MS_RECEIPT_STATUS_APPLY = 2, /// /// 发票已发 /// MS_RECEIPT_STATUS_CONFIRM = 3 } /// // 是否转积分 /// public enum eMS_IsTransfer { /// /// 不转积分 /// MS_ISTRANSFER_NO = 0, /// /// 转积分 /// MS_ISTRANSFER_YES = 1 } /// // 转换类型 /// public enum eMS_TransferType { /// /// 结算券转积分 /// MS_TRANSFERTYPE_SETTLE2SCORE = 1, /// /// 剩余券处理 /// MS_TRANSFERTYPE_COUPON2SCORE = 2 } /// // 积分业务状态 /// public enum eScoreStatus { /// /// 处理中 /// SCORESTATUS_TRANSACT = 0, /// /// 已成功 /// SCORESTATUS_SUCCESS = 1, /// /// 已失败 /// SCORESTATUS_FAIL = 2 } /// // 竞拍结算节点ID /// public enum eAuctionReckonNodeID { /// /// 竞拍撤销委托单节点ID /// AUCTIONRECKONNODEID_ORDERCANCELNODE = 1, /// /// 竞拍日照统计节点ID /// AUCTIONRECKONNODEID_DAYAUCTIONCOUNTNODE = 2, /// /// 竞拍竞拍分润节点 /// AUCTIONRECKONNODEID_SHARE_PROFIT = 3 } /// // 竞拍状态 /// public enum eAcutionStatus { /// /// 待生效 /// ACUTIONSTATUS_PENDING = 0, /// /// 竞拍中 /// ACUTIONSTATUS_BIDING = 1, /// /// 未开始 /// ACUTIONSTATUS_NOTBEGIN = 2, /// /// 竞拍结束(成交) /// ACUTIONSTATUS_FINISHED_TRADE = 3, /// /// 竞拍结束(流拍) /// ACUTIONSTATUS_FINISHED_UNSOLD = 4, /// /// 竞拍结束(履约) /// ACUTIONSTATUS_FINISHED_PERFORMANCEHANDING = 5, /// /// 竞拍结束(部分成交) /// ACUTIONSTATUS_FINISHED_PART_TRADE = 6, /// /// 已注销 /// ACUTIONSTATUS_CANCEL = 7, /// /// 新增拍品 /// ACUTIONSTATUS_ADDGOODS = 8, /// /// 人工流拍 /// ACUTIONSTATUS_NOBEAT = 9 } /// // 竞拍成交状态 /// public enum eAcutionTradeStatus { /// /// 违约待处理 /// ACUTIONTRADESTATUS_BREACH_PENDING = 1, /// /// 违约处理中 /// ACUTIONTRADESTATUS_BREACH_HANDING = 2, /// /// 完成 /// ACUTIONTRADESTATUS_FINISHED = 3, /// /// 违约完成 /// ACUTIONTRADESTATUS_BREACH_FINISHED = 4, /// /// 履约中 /// ACUTIONTRADESTATUS_PERFORMANCE_HANDING = 5, /// /// 履约完成 /// ACUTIONTRADESTATUS_PERFORMANCE = 6, /// /// 流拍 /// ACUTIONTRADESTATUS_FAIL = 7, /// /// 出价失败 /// ACUTIONTRADESTATUS_GIVEPRICEFAIL = 8 } /// // 红包赠送类型 /// public enum eGiveType { /// /// 开户送 /// OPEN_SCORE_GIVE = 1, /// /// 首次登陆送 /// FIRST_LOGIN_GIVE = 2 } /// // SZ关联单类型 /// public enum eZS_RelatedType { /// /// 交易分润 /// ZS_RELATEDTYPE_TRADEDIVIDE = 1, /// /// 交收分润 /// ZS_RELATEDTYPE_DELIVERYDIVIDE = 2, /// /// 购物分润 /// ZS_RELATEDTYPE_SHOPPINGDIVIDE = 3 } /// // SZ分润角色类型 /// public enum eZS_DivideTargetType { /// /// 供货商 /// ZS_DIVIDETARGETTYPE_SUP = 1, /// /// 交易所 /// ZS_DIVIDETARGETTYPE_EXCH = 2, /// /// 总经销商 /// ZS_DIVIDETARGETTYPE_DIS = 3, /// /// 经销商 /// ZS_DIVIDETARGETTYPE_BROKER = 4, /// /// 投资者 /// ZS_DIVIDETARGETTYPE_INVESTOR = 5 } /// // SZ处理状态 /// public enum eZS_HandleStatus { /// /// 未处理 /// ZS_HANDLESTATUS_NO = 1, /// /// 处理中 /// ZS_HANDLESTATUS_HAND = 2, /// /// 处理成功 /// ZS_HANDLESTATUS_SUCCESS = 3, /// /// 处理失败 /// ZS_HANDLESTATUS_FAILED = 4, /// /// 投资者成功推荐人失败 /// ZS_HANDLESTATUS_IS_RF = 5, /// /// 投资者失败推荐人成功 /// ZS_HANDLESTATUS_IF_RS = 6, /// /// 投资者成功推荐人处理中 /// ZS_HANDLESTATUS_IS_RI = 7, /// /// 投资者失败推荐人处理中 /// ZS_HANDLESTATUS_IF_RI = 8, /// /// 投资者处理中推荐人成功 /// ZS_HANDLESTATUS_II_RS = 9, /// /// 投资者处理中推荐人失败 /// ZS_HANDLESTATUS_II_RF = 10 } /// // 角色优先类型 /// public enum eRolePriorityType { /// /// 无 /// ROLEPRIORITYTYPE_NONE = 1, /// /// 报价商优先 /// ROLEPRIORITYTYPE_QUOTER_FIRST = 2, /// /// 非报价商优先 /// ROLEPRIORITYTYPE_NOQUOTER_FIRST = 3 } /// // 记录成交源标志 /// public enum eIsRecordSource { /// /// 不记录 /// RECORDSOURCE_NO = 0, /// /// 记录(所有权) /// RECORDSOURCE_YES = 1 } /// // 已登陆标志 /// public enum eHasLogined { /// /// 未登陆 /// HASLOGINED_NO = 0, /// /// 已登录 /// HASLOGINED_YES = 1 } /// // 已修改密码标志 /// public enum eHasUpdatedPwd { /// /// 未修改 /// HASUPDATEDPWD_NO = 0, /// /// 已修改 /// HASUPDATEDPWD_YES = 1 } /// // 发货/券转积分分润明细关联单类型 /// public enum eZYDivideRelatedType { /// /// 发货明细 /// ZYDIVIDERELATEDTYPE_SHIP = 1, /// /// 券转积分明细 /// ZYDIVIDERELATEDTYPE_T2S = 2 } /// // 预售处理状态 /// public enum ePreSaleStatus { /// /// 初始状态 /// PRESALESTATUS_INIT = 0, /// /// 预售中 /// PRESALESTATUS_ING = 1, /// /// 未开始 /// PRESALESTATUS_NOT_BEGIN = 2, /// /// 预售成功 /// PRESALESTATUS_SUCCESS = 3, /// /// 预售失败 /// PRESALESTATUS_FAILED = 4, /// /// 处理失败 /// PRESALESTATUS_PROC_FAILED = 5, /// /// 已注销 /// PRESALESTATUS_CANCEL = 6, /// /// 已过期 /// PRESALESTATUS_OVERDUE = 7 } /// // 预售集采交易结算节点ID /// public enum ePreSaleReckonNodeID { /// /// 委托单处理节点 /// PRESALERECKNODEID_ORDER_DETAIL = 1, /// /// 单据试算平衡节点 /// PRESALERECKNODEID_ORDER_BALANCE_CALCULATE = 2, /// /// 预售过期撤销 /// PRESALERECKNODEID_EXPIRE_CANCEL = 3, /// /// 履约交易申请节点 /// PRESALERECKNODEID_PERFORMANCETRADE_APPLY = 4, /// /// 日照表节点 /// PRESALERECKNODEID_DAY_LISTING = 5, /// /// 手续费分成节点 /// PRESALERECKNODEID_SHARE_PROFIT = 6 } /// // 预售集采委托状态 /// public enum ePreSaleOrderStatus { /// /// 委托中 /// PRESALE_ORDERSTATUS_ING = 1, /// /// 委托成功 /// PRESALE_ORDERSTATUS_SUCCESS = 2, /// /// 委托失败 /// PRESALE_ORDERSTATUS_FAILED = 3, /// /// 已撤销 /// PRESALE_ORDERSTATUS_CANCEL = 4, /// /// 已成交 /// PRESALE_ORDERSTATUS_TRADE = 5, /// /// 部成部撤 /// PRESALE_ORDERSTATUS_TRADE_CANCEL = 6 } /// // 券/盈亏流水关联类型 /// public enum eScoreLogRelatedType { /// /// 盈亏 /// SCORELOGRELATEDTYPE_PL = 1, /// /// 兑换券 /// SCORELOGRELATEDTYPE_SCOUPON = 2 } /// // 报价商品涨跌停限制 /// public enum eQuoteLimitMove { /// /// 无效 /// QUOTE_LIMITMOVE_INVALID = 0, /// /// 有效 /// QUOTE_LIMITMOVE_VALID = 1 } /// // 挂牌点选行情价格合并 /// public enum eListingSelect { /// /// 不合并 /// LISTING_SELECT_NOMERGE = 0, /// /// 合并 /// LISTING_SELECT_MERGE = 1 } /// // 预售集采成交单履约状态 /// public enum ePreSaleTradeDetailStatus { /// /// 未履约 /// PRESALE_TRADEDETAILSTATUS_WAIT = 1, /// /// 履约中 /// PRESALE_TRADEDETAILSTATUS_ING = 2, /// /// 履约完成 /// PRESALE_TRADEDETAILSTATUS_SUCCESS = 3 } /// // 履约计划是否确认溢短 /// public enum ePerformancePlanHasOverShort { /// /// 没有 /// NO_CONFIRM = 0, /// /// 买方确认 /// BUYER_CONFIRM = 1, /// /// 卖方确认 /// SELLER_CONFIRM = 2 } /// // 履约计划是否有仓单 /// public enum ePerformancePlanHasWR { /// /// 没有仓单 /// NO_WR = 0, /// /// 有仓单 /// HAS_WR = 1 } /// // 三方认证类型 /// public enum eAuthType { /// /// 微信 /// AUTHTYPE_WECHAT = 1, /// /// 支付宝 /// AUTHTYPE_ALIPAY = 2 } /// // 报价激活状态 /// public enum eQuoteActiveStatus { /// /// 待冻结卖量 /// NEED_FREEZE_SELLQTY = 0, /// /// 激活 /// ACTIVED = 1, /// /// 待冻结资金 /// NEED_FREEZE_BUYAMOUT = 2, /// /// 待冻结卖量和资金 /// NEED_FREEZE_SELLQTY_BUYAMOUT = 3, /// /// 删除报价解冻卖量 /// DEL_UNFREEZE_SELLQTY = 4, /// /// 删除报价解冻资金 /// DEL_UNFREEZE_BUYAMOUT = 5, /// /// 删除报价卖量和资金 /// DEL_UNFREEZE_SELLQTY_BUYAMOUT = 6, /// /// 结算后解冻资金(不删除报价) /// RECK_UNFREEZE_BUYAMOUT = 7, /// /// 重新冻结 /// RECK_RENEW_FREEZE = 8 } /// // 商品退市处理状态 /// public enum eGoodsDelistHandleStatus { /// /// 退市处理中 /// GOODS_DELIST_HANDLE_ING = 1, /// /// 处理成功 /// GOODS_DELIST_HANDLE_SUCCESS = 2, /// /// 处理失败 /// GOODS_DELIST_HANDLE_FAILED = 3 } /// // 协议转让处理状态 /// public enum eProtoTransferHandleStatus { /// /// 未处理 /// PROTO_TRANSFER_HANDLESTATUS_NOT_BEGIN = 1, /// /// 转出方处理完成 /// PROTO_TRANSFER_HANDLESTATUS_OUT = 2, /// /// 转入方处理完成 /// PROTO_TRANSFER_HANDLESTATUS_IN = 3, /// /// 处理成功 /// PROTO_TRANSFER_HANDLESTATUS_SUCCESS = 4 } /// // 竞拍类别 /// public enum eAuctionTradeType { /// /// 正常委托成交 /// AUCTIONTRADE_TYPE_MATCH = 1, /// /// 流拍成交 /// AUCTIONTRADE_TYPE_UNSOLD = 2, /// /// 违约成交 /// AUCTIONTRADE_TYPE_BREACH = 3 } /// // 定期强平方式 /// public enum ePeriodicCloseMode { /// /// 无 /// PERIODIC_CLOSEMODE_NULL = 1, /// /// 每日 /// PERIODIC_CLOSEMODE_DAY = 2, /// /// 每周 /// PERIODIC_CLOSEMODE_WEEK = 3, /// /// 每月 /// PERIODIC_CLOSEMODE_MONTH = 4 } /// // 令牌校验类型 /// public enum eTokenCheckType { /// /// 令牌校验 /// TOKENCHECKTYPE_TOKON_CHECK = 1, /// /// 登陆校验 /// TOKENCHECKTYPE_LOGIN_CHECK = 2 } /// // 扩展业务处理状态 /// public enum eMarketingBizDealStatus { /// /// 未定义 /// MARKETINGBIZDEALSTATUS_UNKOMN = 0, /// /// 成功 /// MARKETINGBIZDEALSTATUS_SUCCESS = 1, /// /// 失败 /// MARKETINGBIZDEALSTATUS_FAILED = 2 } /// // 自动报价状态 /// public enum eAutoQuoteStatus { /// /// 未开始 /// AUTOQUOTESTATUS_NOTBEGIN = 1, /// /// 已报价 /// AUTOQUOTESTATUS_QUOTED = 2, /// /// 报价失败 /// AUTOQUOTESTATUS_QUOTE_FAILED = 3, /// /// 报价完成 /// AUTOQUOTESTATUS_QUOTE_FINISHED = 4, /// /// 撤销中 /// AUTOQUOTESTATUS_QUOTE_CANCELE = 5, /// /// 部成部撤 /// AUTOQUOTESTATUS_QUOTE_PARTIALCANCELED = 6, /// /// 撤销 /// AUTOQUOTESTATUS_QUOTE_CANCELED = 7, /// /// 已到期 /// AUTOQUOTESTATUS_QUOTE_EXPIRE = 8, /// /// 报价中 /// AUTOQUOTESTATUS_QUOTING = 9 } /// // 报价来源 /// public enum eQuoteSource { /// /// 外部行情 /// QUOTESOURCE_OUT_QUOTE = 0, /// /// 管理端手动报价 /// QUOTESOURCE_MANAGE_QUOTE = 1, /// /// 自动报价服务报价 /// QUOTESOURCE_AUTO_QUOTE = 2, /// /// 外部接口报价 /// QUOTESOURCE_OUT_INTERFACE_QUOTE = 3 } /// // 商品退市账户类型 /// public enum eGoodsDelistAccountType { /// /// 非做市会员 /// GOODSDELIST_ACCOUNTTYPE_NON_MARKETMAKER = 1, /// /// 做市会员 /// GOODSDELIST_ACCOUNTTYPE_MARKETMAKER = 2 } /// // 期权下单限制 /// public enum eOptionBuild { /// /// 不限制 /// OPTION_BUILD_NOT_LIMITED = 0, /// /// 限制 /// OPTION_BUILD_LIMITED = 1 } /// // 赔付上限方式 /// public enum ePayMode { /// /// 不限制 /// PAYMODE_NOT_LIMITED = 1, /// /// 权利金倍数 /// PAYMODE_PREMIUM_TIMES = 2 } /// // 权利金报价方式-挂牌期权 /// public enum ePremiumQuoteMode { /// /// 自动 /// PREMIUMQUOTEMODE_AUTO = 1, /// /// 手动 /// PREMIUMQUOTEMODE_MANUAL = 2 } /// // 商品期权类型 /// public enum eGoodsOptionType { /// /// 认购 /// GOODSOPTIONTYPE_CALL = 1, /// /// 认沽 /// GOODSOPTIONTYPE_PUT = 2, /// /// 认购认沽 /// GOODSOPTIONTYPE_CALL_PUT = 3 } /// // 可现货行权类型 /// public enum eCanGoodsExerciseType { /// /// 认购 /// CANGOODSEXERCISETYPE_CALL = 1, /// /// 认沽 /// CANGOODSEXERCISETYPE_PUT = 2, /// /// 认购认沽 /// CANGOODSEXERCISETYPE_CALL_PUT = 3 } /// // 权利金自动方式-挂牌期权 /// public enum ePremiumAutoMode { /// /// 比率 /// PREMIUMAUTOMODE_RATIO = 1, /// /// 固定 /// PREMIUMAUTOMODE_FIXED = 2 } /// // 挂牌期权节点 /// public enum eListingOptionNode { /// /// 委托撤单节点 /// LISTINGOPTIONNODE_ORDER_CANCEL = 1, /// /// 结算价节点ID /// LISTINGOPTIONNODE_PRICE = 2, /// /// 确认行权明细生成节点 /// LISTINGOPTIONNODE_CONFIRMEXERCISEDETAIL = 3, /// /// 冻结卖方货款节点 /// LISTINGOPTIONNODE_FREESELLERPAYMENT = 4, /// /// 解冻买方货款节点 /// LISTINGOPTIONNODE_UNFREEBUYERPAYMENT = 5, /// /// 确认行权平仓节点 /// LISTINGOPTIONNODE_CONFIRMEXERCISECLOSE = 6, /// /// 资金划转节点 /// LISTINGOPTIONNODE_CAPITALTRANSFER = 7, /// /// 违约处理节点 /// LISTINGOPTIONNODE_BREACHHANDLE = 8, /// /// 履约节点 /// LISTINGOPTIONNODE_PERFORMANCETRADE_APPLY = 9, /// /// 行权节点ID /// LISTINGOPTIONNODE_EXPIRE = 10, /// /// 持仓单备份节点ID /// LISTINGOPTIONNODE_HOLDERDETAIL_BACKUP = 11, /// /// 单据试算平衡节点ID /// LISTINGOPTIONNODE_ORDER_BALANCE_CALCULATE = 12, /// /// 持仓单处理节点 /// LISTINGOPTIONNODE_HOLDERDETAIL_DEAL = 13, /// /// 交易分润节点 /// LISTINGOPTIONNODE_SHARE_PROFIT = 14 } /// // 期权行权明细表-处理状态 /// public enum eExerciseDetailStatus { /// /// 冻结卖方货款节点 /// EXERCISEDETAIL_FREESELLERPAYMENT = 1, /// /// 解冻买方货款节点 /// EXERCISEDETAIL_UNFREEBUYERPAYMENT = 2, /// /// 确认行权平仓 /// EXERCISEDETAIL_CONFIRMEXERCISECLOSE = 3, /// /// 资金划转 /// EXERCISEDETAIL_CAPITALTRANSFER = 4, /// /// 违约处理 /// EXERCISEDETAIL_BREACHHANDLE = 5, /// /// 确认行权成功 /// EXERCISEDETAIL_CONFIRMEXERCISESUCCESS = 6, /// /// 确认行权失败 /// EXERCISEDETAIL_CONFIRMEXERCISEFAIL = 7, /// /// 违约行权 /// EXERCISEDETAIL_BREACHEXERCISE = 8 } /// // 期权行权明细表-履约状态 /// public enum eExercisePerformanceStatus { /// /// 未履约 /// EXERCISEDETAIL_PERFORMANCE_WAIT = 1, /// /// 履约中 /// EXERCISEDETAIL_PERFORMANCE_ING = 2, /// /// 履约完成 /// EXERCISEDETAIL_PERFORMANCE_FINISH = 3 } /// // 期权成交对手方式 /// public enum eTradeMatchMode { /// /// 经纪会员自接 /// TRADEMATCHMODE_MEMBER = 1, /// /// 按对手关系 /// TRADEMATCHMODE_RELATION = 2 } /// // 期权商品是否限制可售数量 /// public enum eOptionQtyLimit { /// /// 不限制 /// OPTIONQTYLIMIT_NOT_LIMITED = 0, /// /// 限制 /// OPTIONQTYLIMIT_LIMITED = 1 } /// // 扩展成交类型 /// public enum eMSTradeType { /// /// 买建仓 /// MSTRADETYPE_BUY_OPEN = 1, /// /// 卖建仓 /// MSTRADETYPE_SELL_OPEN = 2, /// /// 卖平仓 /// MSTRADETYPE_SELL_CLOSE = 3, /// /// 买平仓 /// MSTRADETYPE_BUY_CLOSE = 4 } /// // 是否存在买卖价 /// public enum eIsExsitBidAskPrice { /// /// 不存在买卖价 /// ISEXSITBIDASKPRICE_NO = 0, /// /// 存在买卖价 /// ISEXSITBIDASKPRICE_YES = 1 } /// // 单据成交处理标志 /// public enum eOrderTradeFlag { /// /// 初始化 /// ORDERTRADEFLAG_INIT = 0, /// /// 成交处理 /// ORDERTRADEFLAG_TRADEPROC = 1, /// /// 已成交 /// ORDERTRADEFLAG_DEALED = 2 } /// // 是否预平仓 /// public enum eIsPreCLose { /// /// 非预平仓 /// ISPRECLOSE_NO = 0, /// /// 预平仓 /// ISPRECLOSE_YES = 1 } /// // 今日是否平仓 /// public enum eIsCloseToday { /// /// 今日能平仓 /// ISCLOSETODAY_YES = 0, /// /// 今日不能平仓 /// ISCLOSETODAY_NO = 1 } /// // 客户端类型是否允许登陆 /// public enum eClientTypeLogin { /// /// 不允许 /// CLIENTTYPELOGIN_NO = 0, /// /// 允许 /// CLIENTTYPELOGIN_YES = 1 } /// // 挂牌期权盘中结算节点 /// public enum eListingOptionTradeNode { /// /// 委托撤单节点 /// LISTINGOPTIONTRADENODE_ORDER_CANCEL = 0, /// /// 结算价节点ID /// LISTINGOPTIONTRADENODE_PRICE = 1, /// /// 确认行权明细生成节点 /// LISTINGOPTIONTRADENODE_CONFIRMEXERCISEDETAIL = 2, /// /// 冻结卖方货款节点 /// LISTINGOPTIONTRADENODE_FREESELLERPAYMENT = 3, /// /// 解冻买方货款节点 /// LISTINGOPTIONTRADENODE_UNFREEBUYERPAYMENT = 4, /// /// 确认行权平仓节点 /// LISTINGOPTIONTRADENODE_CONFIRMEXERCISECLOSE = 5, /// /// 资金划转节点 /// LISTINGOPTIONTRADENODE_CAPITALTRANSFER = 6, /// /// 违约处理节点 /// LISTINGOPTIONTRADENODE_BREACHHANDLE = 7, /// /// 履约节点 /// LISTINGOPTIONTRADENODE_PERFORMANCETRADE_APPLY = 8, /// /// 行权节点ID /// LISTINGOPTIONTRADENODE_EXPIRE = 9, /// /// 节点数量 /// LISTINGOPTIONTRADENODE_NUM = 10 } /// // 是否允许多时段盘中行权 /// public enum eCanMultiStageType { /// /// 不允许 /// CANMULTISTAGE_NO = 0, /// /// 允许 /// CANMULTISTAGE_YES = 1 } /// // 确认行权是否允许接收行情 /// public enum eCanAcceptQuoteType { /// /// 不接收 /// CANACCEPTQUOTE_NO = 0, /// /// 接收 /// CANACCEPTQUOTE_YES = 1 } /// // 是否限制买量 /// public enum eIsBuyLimited { /// /// 不限制 /// ISBUYLIMITED_NO = 0, /// /// 限制 /// ISBUYLIMITED_YES = 1 } /// // 履约资金类型 /// public enum ePerformanceAmountType { /// /// 贷款 /// AMOUNTTYPE_LOAN = 1, /// /// 违约处理 /// AMOUNTTYPE_CONTRACTED = 2 } /// // 招标类型 /// public enum eTenderType { /// /// 公开招标 /// TENDERTYPE_OPENLY = 1, /// /// 制定招标 /// TENDERTYPE_DESIGNATED = 2 } /// // 评分类型 /// public enum eGradeType { /// /// 现场评分 /// GRADETYPE_SITE = 1, /// /// 在线评分 /// GRADETYPE_ONLINE = 2 } /// // 招标状态 /// public enum eTenderStatus { /// /// 待确认 /// TENDERSTATUS_WAIT_CONFIRM = 1, /// /// 招标中 /// TENDERSTATUS_TENDERING = 10, /// /// 已开标 /// TENDERSTATUS_OPENED = 20, /// /// 已评分 /// TENDERSTATUS_GRADED = 30, /// /// 已确定 /// TENDERSTATUS_CONFIRMED = 40, /// /// 公示中 /// TENDERSTATUS_PUBLICATION = 50, /// /// 招标结束 /// TENDERSTATUS_FINISH = 60, /// /// 确认拒绝 /// TENDERSTATUS_CONFIRM_REJECT = 61, /// /// 流标 /// TENDERSTATUS_ABORTIVE = 62, /// /// 已终止 /// TENDERSTATUS_STOP = 63 } /// // 投标状态 /// public enum eBidStatus { /// /// 已投标 /// BIDSTATUS_TENDERED = 1, /// /// 已开标 /// BIDSTATUS_OPENED = 10, /// /// 已评分 /// BIDSTATUS_GRADED = 20, /// /// 未中标 /// BIDSTATUS_LOSE = 30, /// /// 已中标 /// BIDSTATUS_WIN = 31, /// /// 已终止 /// BIDSTATUS_STOP = 32 } /// // 中标状态 /// public enum eWinStatus { /// /// 待审核 /// WINSTATUS_WAIT_AUDIT = 1, /// /// 公示中 /// WINSTATUS_PUBLICATION = 20, /// /// 审核拒绝 /// WINSTATUS_AUDIT_REJECT = 30, /// /// 已作废 /// WINSTATUS_DISABLED = 31, /// /// 已中标 /// WINSTATUS_WIN = 32, /// /// 已终止 /// WINSTATUS_STOP = 33 } /// // 公示标志 /// public enum eIsPublicity { /// /// 不公示 /// ISPUBLICITY_NOT = 0, /// /// 公示 /// ISPUBLICITY_YES = 1 } /// // 招投标审核状态 /// public enum eTender_AuditStatus { /// /// 审核通过 /// TENDER_AUDITSTATUS_PASS = 1, /// /// 审核拒绝 /// TENDER_AUDITSTATUS_REJECT = 2 } /// // 招投标确认状态 /// public enum eTender_ConfirmStatus { /// /// 确认通过 /// TENDER_CONFIRMSTATUS_PASS = 1, /// /// 确认拒绝 /// TENDER_CONFIRMSTATUS_REJECT = 2 } /// // 报价类型 /// public enum eQuotePriceType { /// /// 不报价 /// QUOTEPRICETYPE_NOT_QUOTEPRICE = 1, /// /// 手工报价 /// QUOTEPRICETYPE_QUOTEPRICE = 2 } /// // 报量类型 /// public enum eQuoteQtyType { /// /// 随机量 /// QUOTEQTYTYPE_RAND_QTY = 1, /// /// 手工报量 /// QUOTEQTYTYPE_MANUAL_QTY = 2, /// /// 沿用量 /// QUOTEQTYTYPE_USE_OLDQTY = 3 } /// // 招标采购结算节点 /// public enum eTenderReckonNode { /// /// 处理招标开标节点 /// TENDERRECK_NODE_DEAL_TENDER_OPEN = 1, /// /// 处理招标公示节点 /// TENDERRECK_NODE_DEAL_TENDER_PUBLICATION = 2, /// /// 试算平衡节点 /// TENDERRECK_NODE_TENDER_CALCULATE = 3, /// /// 招投标分润节点 /// TENDERRECK_NODE_SHAREPROFIT = 4 } /// // 报价操作类型 /// public enum eQuoteOpType { /// /// 报价 /// QUOTEOPTYPE_QUOTE = 1, /// /// 撤销报价 /// QUOTEOPTYPE_CANCEL_QUOTE = 2 } /// // 报价是否撤销 /// public enum eQuoteCancel { /// /// 未撤销 /// QUOTECANCEL_NOT_CANCEL = 0, /// /// 已撤销 /// QUOTECANCEL_CANCELED = 1 } /// // 报价冻结状态 /// public enum eQuoteFreezeStatus { /// /// 无冻结 /// QUOTEFREEZESTATUS_NO_FREEZE = 1, /// /// 已冻结 /// QUOTEFREEZESTATUS_FREEZED = 2, /// /// 已解冻 /// QUOTEFREEZESTATUS_UNFREEZED = 3, /// /// 冻结中 /// QUOTEFREEZESTATUS_FREEZING = 4 } /// // 报价请求冻结类型 /// public enum eQuoteFreezeReqType { /// /// 报价冻结 /// QUOTEFREEZEREQTYPE_QUOTE = 1, /// /// 撤销报价解冻 /// QUOTEQUOTEFREEZESTATUS_CANCEL = 2, /// /// 删除无效报价解冻 /// QUOTEQUOTEFREEZESTATUS_DEL_INVALID_QUOTE = 3, /// /// 结算解冻 /// QUOTEQUOTEFREEZESTATUS_RECK_UNFREEZE = 4, /// /// 开市重新冻结 /// QUOTEQUOTEFREEZESTATUS_MARKET_OPEN_REFREEZE = 5 } /// // 对冲内盘委托状态 /// public enum eChannelInnerOrderStatus { /// /// 委托请求 /// INNERSTATUS_ORDERREQ = 1, /// /// 冻结成功 /// INNERSTATUS_FREEZESUCC = 2, /// /// 委托失败 /// INNERSTATUS_ORDERFAIL = 3, /// /// 委托部成部失败 /// INNERSTATUS_PARTIAL_TRADE_FAIL = 4, /// /// 委托成功 /// INNERSTATUS_ORDERSUCC = 5, /// /// 全部撤销 /// INNERSTATUS_ALLCANCEL = 6, /// /// 部成部撤 /// INNERSTATUS_PARTIAL_TRADE_CANCELED = 7, /// /// 部成部撤部失败 /// INNERSTATUS_PARTIAL_TRADE_CANCELED_FAIL = 8, /// /// 全部成交 /// INNERSTATUS_ALLTRADE = 9 } /// // 交易规则级别 /// public enum eTradeRuleLevel { /// /// 全部 /// TRADERULELEVEL_ALL = 1, /// /// 交易所级 /// TRADERULELEVEL_EXCHANGE = 2, /// /// 品种级(商品组级) /// TRADERULELEVEL_GODOSGRUOP = 3, /// /// 合约级别(商品级) /// TRADERULELEVEL_GOODS = 4 } /// // 交易规则模板标识 /// public enum eTradeRuleTmpID { /// /// 交易品种限制 /// TRADERULETMPID_GOODS_LIMIT = 1001, /// /// 单笔最大下单量 /// TRADERULETMPID_MAX_ORDERQTY = 1002, /// /// 最大持仓量 /// TRADERULETMPID_MAX_HOLDERQTY = 1003, /// /// 只允许交易主力合约 /// TRADERULETMPID_MAIN_CONTRACT = 1004, /// /// 风险率禁止交易 /// TRADERULETMPID_TRADE_RISK_LIMIT = 1005, /// /// 涨跌停价禁止开仓 /// TRADERULETMPID_LIMIT_PRICE_NOOPEN = 1006, /// /// 日内允许撤单上限 /// TRADERULETMPID_TODAY_CANCEL_LIMIT = 1007, /// /// 日内涨跌停价允许撤单上限 /// TRADERULETMPID_TODAY_PRICE_CANCEL_LIMIT = 1008, /// /// 日内大单允许撤单上限 /// TRADERULETMPID_TODAY_BIG_CANCEL_LIMIT = 1009, /// /// 日内允许开仓上限 /// TRADERULETMPID_TODAY_MAX_OPEN = 1010, /// /// 日内允许开仓次数限制 /// TRADERULETMPID_TODAY_MAX_COUNT = 1011, /// /// 风险率通知/强平 /// TRADERULETMPID_RISKRATE_NOTIFY_FORCECLOSE = 2001, /// /// 安全度通知/强平 /// TRADERULETMPID_SAFERATE_NOTIFY_FORCECLOSE = 2002, /// /// 品种定时通知/强平 /// TRADERULETMPID_GOODS_TIMEING_NOTIFY_FORCECLOSE = 2003, /// /// 保证金定时强平 /// TRADERULETMPID_MARGIN_TIMEING_FORCECLOSE = 2004, /// /// 风险率定时强平 /// TRADERULETMPID_RISKRATE_TIMEING_FORCECLOSE = 2005, /// /// 涨跌停价强平 /// TRADERULETMPID_LIMIT_PRICE_FORCECLOSE = 2006, /// /// 合约到期通知 /// TRADERULETMPID_GOODS_EXPRIED_NOTIFY = 2007, /// /// 合约到期禁止交易 /// TRADERULETMPID_GOODS_EXPRIED_NOOPEN = 2008, /// /// 合约到期强平 /// TRADERULETMPID_GOODS_EXPRIED_FORCECLOSE = 2009, /// /// 安全度禁止交易 /// TRADERULETMPID_TRADE_SAFETY_LIMIT = 2010 } /// // 交易规则建平仓限制标志 /// public enum eTradeRuleOpenCloseFlag { /// /// 不禁止 /// TRADERULE_OPENCLOSE_FLAG_NOLIMIT = 0, /// /// 禁止 /// TRADERULE_OPENCLOSE_FLAG_LIMIT = 1 } /// // 外盘撤单处理状态 /// public enum eChannelOutCancelStatus { /// /// 接收报文 /// OUTCANCELSTATUS_RECVMSG = 1, /// /// 发送报文成功 /// OUTCANCELSTATUS_SENDSUCC = 2, /// /// 撤单成功 /// OUTCANCELSTATUS_CANCELSUCC = 3, /// /// 撤单失败 /// OUTCANCELSTATUS_CANCELFAIL = 4 } /// // 账户风控禁止交易状态 /// public enum eAccountRiskTradeStatus { /// /// 禁开 /// ACCOUNTRISKTRADESTATUS_LIMIT_OPEN = 1, /// /// 禁开禁平 /// ACCOUNTRISKTRADESTATUS_LIMIT_OPEN_AND_CLOSE = 2, /// /// 禁平 /// ACCOUNTRISKTRADESTATUS_LIMIT_CLOSE = 3 } /// // 通道下单类型 /// public enum eChannelBuildType { /// /// -- /// Domain_No = -1, /// /// 建仓 /// CHANNELBUILDTYPE_OPEN = 1, /// /// 平仓 /// CHANNELBUILDTYPE_CLOSE = 2, /// /// 自动开平 /// EntrustOrderFrame_Auto_Open_Close = 3 } /// // 操作类型 /// public enum eChannelOperateType { /// /// 正常下单 /// CHANNELOPERATETYPE_ORDER = 1, /// /// 斩仓 /// CHANNELOPERATETYPE_RISK = 2, /// /// 交易下单 /// CHANNELOPERATETYPE_TRADE = 3, /// /// 人工核单 /// CHANNELOPERATETYPE_OUTSIDE_MANUAL = 4, /// /// 止盈止损 /// CHANNELOPERATETYPE_SPSL = 5, /// /// API跟单委托 /// CHANNELOPERATETYPE_API = 6, /// /// 托管下单 /// CHANNELOPERATETYPE_TRUSTEE = 7 } /// // 委托来源 /// public enum eChannelOrderSrc { /// /// 客户端 /// CHANNELORDERSRC_CLIENT = 1, /// /// 风控服务 /// CHANNELORDERSRC_RISK = 2, /// /// 管理端 /// CHANNELORDERSRC_MANAGE = 3, /// /// 对冲平台 /// CHANNELORDERSRC_MHP = 4, /// /// 交易服务 /// CHANNELORDERSRC_TRADE = 5, /// /// 跟单服务 /// CHANNELORDERSRC_PROGRAMMATIC = 6 } /// // 强平价格方式 /// public enum eClosePriceMode { /// /// 市价 /// CLOSEPRICEMODE_MARKET = 1, /// /// 最新价 /// CLOSEPRICEMODE_LAST = 2, /// /// 涨跌停价 /// CLOSEPRICEMODE_LIMIT = 3 } /// // 交易配置操作类型 /// public enum eTradeConfigOperateType { /// /// 增加 /// TRADECONFIGOPERATETYPE_ADD = 1, /// /// 删除 /// TRADECONFIGOPERATETYPE_DEL = 2, /// /// 修改 /// TRADECONFIGOPERATETYPE_UPDATE = 3 } /// // 交易规则修改类型 /// public enum eTradeRuleChangeType { /// /// 风控规则 /// TRADERULECHANGETYPE_RULE = 1, /// /// 风控规则组 /// TRADERULECHANGETYPE_RULEGROUP = 2 } /// // 交易模板类型 /// public enum eTradeTemplateType { /// /// 保证金模板 /// TRADETEMPLATETYPE_MARGIN = 1, /// /// 费用模板 /// TRADETEMPLATETYPE_FEE = 2, /// /// 汇率模板 /// TRADETEMPLATETYPE_RATE = 3 } /// // 撤单状态 /// public enum eCancelStatus { /// /// 接收报文 /// CANCELSTATUS_RECVMSG = 1, /// /// 发送报文成功 /// CANCELSTATUS_SENDSUCC = 2, /// /// 撤单成功 /// CANCELSTATUS_CANCELSUCC = 3, /// /// 撤单失败 /// CANCELSTATUS_CANCELFAIL = 4 } /// // 通道交易市场待开市日志表状态 /// public enum eHedgeMarketOpenLogStatus { /// /// 待开市 /// MARKETOPENSTATUS_PENDING = 1, /// /// 开市 /// MARKETOPENSTATUS_OPEN = 2, /// /// 手工休市 /// MARKETOPENSTATUS_PAUSE_MANUAL = 4, /// /// 闭市 /// MARKETOPENSTATUS_CLOSE = 5, /// /// 日终处理开始 /// MARKETOPENSTATUS_DAYEND_PROCESSING = 10, /// /// 日终处理成功 /// MARKETOPENSTATUS_DAYEND_SUCCESS = 11, /// /// 日终处理失败 /// MARKETOPENSTATUS_DAYEND_FAILED = 12 } /// // 内部撤单处理状态 /// public enum eChannelInnerHandleStatus { /// /// 待处理 /// INNERHANDLESTATUS_WAIT = 1, /// /// 处理成功 /// INNERHANDLESTATUS_SUCCESS = 2, /// /// 处理失败 /// INNERHANDLESTATUS_FAIL = 3 } /// // 通道交易结算节点ID /// public enum eChannelReckonNodeID { /// /// 结算价节点ID /// CHANNELRECKNODEID_RECK_PRICE = 1, /// /// 母账号单据校验节点 /// CHANNELRECKNODEID_PARENTACCOUNT_CHECK = 2, /// /// 委托单撤单处理节点 /// CHANNELRECKNODEID_ORDER_CANCEL = 3, /// /// 持仓单处理节点 /// CHANNELRECKNODEID_HEDGE_INNERHOLDERDETAIL_DEAL = 4, /// /// 交易分润节点 /// CHANNELRECKNODEID_SHARE_PROFIT = 5, /// /// 断开下单平台链路 /// CHANNELRECKNODEID_CLOSE_CHANNEL = 6, /// /// 锁仓认购到期节点 /// CHANNELRECKNODEID_LOCKORDER_EXPIRED = 7, /// /// 场外委托单撤单处理节点 /// CHANNELRECKNODEID_CANCEL_ORDER = 8, /// /// 止盈止损到期处理节点 /// CHANNELRECKNODEID_SPSL_EXPIRED = 9 } /// // 对冲服务业务类型 /// public enum eMhpBussniessType { /// /// 无业务 /// BT_NULL = 0, /// /// 委托单 /// BT_ORDER = 1, /// /// 撤单 /// BT_CANCELORDER = 2, /// /// 成交单 /// BT_TRADE = 3, /// /// 资金 /// BT_AMOUNT = 4, /// /// 头寸 /// BT_POSTION = 5, /// /// 开市查询动作:保证金查询 /// BT_QRYACCMARGIN = 6, /// /// 开市查询动作:交易所币种转换汇率查询 /// BT_QRYCURRENCYEXCHRATE = 7, /// /// 开市查询动作:查询外部手续费 /// BT_QRYACCFEERENT = 8 } /// // 风控触发操作类型 /// public enum eTriggerOperate { /// /// 禁止开仓 /// TRIGGER_LIMITOPEN = 1, /// /// 禁止平仓 /// TRIGGER_LIMITCLOSE = 2, /// /// 撤销委托 /// TRIGGER_CANCELORDER = 3, /// /// 风控通知 /// TRIGGER_NOTIFY = 4, /// /// 风控强平 /// TRIGGER_FORCECLOSE = 5, /// /// 禁止撤单 /// TRIGGER_LIMITCANCEL = 6 } /// // 是否关联内部委托单 /// public enum eHasInnerOrderFlag { /// /// 无 /// HASINNERORDER_NO = 0, /// /// 有 /// HASINNERORDER_YES = 1 } /// // 是否已发送 /// public enum eIsSend { /// /// 发送成功 /// ISSEND_SENDSUCC = 1, /// /// 未发送 /// ISSEND_NO = 2, /// /// 发送失败 /// ISSEND_SENDFAIL = 3 } /// // 成交单检查状态 /// public enum eHedgeTradeCheckStatus { /// /// 交易缺失 /// HEDGETRADECHECK_TRADEMISS = 1, /// /// 数据不一致 /// HEDGETRADECHECK_DATAMISS = 2, /// /// 平台缺失 /// HEDGETRADECHECK_MHPPLATMISS = 3 } /// // 对冲外部成交检查表处理状态 /// public enum eReckonHedgeOutCheckHandleStatus { /// /// 未处理 /// RECKONHEDGEOUTCHECK_UNHANDLE = 1, /// /// 处理失败 /// RECKONHEDGEOUTCHECK_HANDLEFAIL = 2, /// /// 处理成功 /// RECKONHEDGEOUTCHECK_HANDLESUCC = 3, /// /// 正确数据不需要调整 /// RECKONHEDGEOUTCHECK_SUCCDATA = 4 } /// // 预埋单触发类型 /// public enum ePrePosTriggerType { /// /// 最新成交价 /// PREPOS_TRIGGERTYPE_LAST = 1, /// /// 买一价 /// PREPOS_TRIGGERTYPE_BID = 2, /// /// 卖一价 /// PREPOS_TRIGGERTYPE_ASK = 3 } /// // 节分成点类型 /// public enum eDivideNodeType { /// /// 会员组 /// DIVIDENODETYPE_MEMBERGROUP = 1, /// /// 机构 /// DIVIDENODETYPE_AREA = 2 } /// // 渠道交易Mhp处理状态 /// public enum eMhpHandleStatus { /// /// 登陆Mhp成功 /// MHPHANDLESTATUS_LOGININSUCC = 1, /// /// 登陆Mhp失败 /// MHPHANDLESTATUS_LOGININFAIL = 2, /// /// 登出Mhp /// MHPHANDLESTATUS_LOGINOUT = 3 } /// // 系统分润模式 /// public enum eSystemShareProfitMode { /// /// 固定模式 /// SYSTEM_SHAREPROFITMODE_FIXED = 1, /// /// 树形模式 /// SYSTEM_SHAREPROFITMODE_TREEFROM = 2 } /// // 交易授信标志 /// public enum eTradeCreditFlag { /// /// 不授信 /// TRADE_CREDITFLAG_NO = 0, /// /// 授信 /// TRADE_CREDITFLAG_YES = 1 } /// // 成交类型 /// public enum eChannelTradeType { /// /// 正常委托成交 /// CHANNELTRADETYPE_NORMAL_ORDER = 1, /// /// 风控斩仓成交 /// CHANNELTRADETYPE_CUT_RISK_ORDER = 2, /// /// 修正持仓成交 /// CHANNELTRADETYPE_AMENDHOLDER_ORDER = 3, /// /// 管理端斩仓成交 /// CHANNELTRADETYPE_CUT_MANAGE_ORDER = 4, /// /// 锁仓赠送成交 /// CHANNELTRADETYPE_LOCK_ORDER = 5, /// /// 认购赠送成交 /// CHANNELTRADETYPE_BUY_ORDER = 6, /// /// 场外手动成交 /// CHANNELTRADETYPE_OUTSIDE_MANUAL = 7, /// /// API跟单成交 /// CHANNELTRADETYPE_API = 8 } /// // 交割协议平仓价格类型 /// public enum eDeliveryPriceType { /// /// 交割平仓建仓价 /// DELIVERY_CLOSE_OPENPRICE = 0, /// /// 交割平仓指定价 /// DELIVERY_CLOSE_SPECIFYRICE = 1 } /// // 分成费用类型 /// public enum eDivideFeeType { /// /// 1:交易手续费(101,102, 201, 202)(会员部分) /// DIVIDEFEETYPE_MEMBER_TRADECHARGE = 1, /// /// 2:交易手续费(301,302)(交易所部分) /// DIVIDEFEETYPE_EXCHANGE_TRADECHARGE = 2, /// /// 3:过夜费(110-过夜费(利息))(交易所投资者部分) /// DIVIDEFEETYPE_EXCHANGE_INTERESTCHARGE = 3, /// /// 3:过夜费(110-过夜费(利息))(交易所会员部分) /// DIVIDEFEETYPE_EXCHANGE_MEMBER_INTERESTCHARGE = 4, /// /// 交易手续费-会员交易所部分(301,302) /// DIVIDEFEETYPE_EXCHANGE_MEMBER_TRADECHARGE = 5, /// /// 交割手续费-投资者会员部分 (205,206) /// DIVIDEFEETYPE_INVESTOR_MEMBER_DELIVERYCHARGE = 6, /// /// 交割手续费-投资者交易所部分(305,306) /// DIVIDEFEETYPE_INVESTOR_EXCHANGE_DELIVERYCHARGE = 7, /// /// 交割手续费-会员交易所部分(305,306) /// DIVIDEFEETYPE_EXCHANGE_MEMBER_DELIVERYCHARGE = 8, /// /// 递延费2-投资者会员部分 (211,212) /// DIVIDEFEETYPE_INVESTOR_MEMBER_DEFERCHARGE = 9, /// /// 递延费2-投资者交易所部分(311,312) /// DIVIDEFEETYPE_INVESTOR_EXCHANGE_DEFERCHARGE = 10, /// /// 递延费2-会员交易所部分(311,312) /// DIVIDEFEETYPE_EXCHANGE_MEMBER_DEFERCHARGE = 11, /// /// 开户奖励费 /// DIVIDEFEETYPE_OPENACCOUNT = 12, /// /// 入金奖励费 /// DIVIDEFEETYPE_DEPOSIT = 13, /// /// 普通净创收 /// DIVIDEFEETYPE_NORMAL = 14, /// /// 信用净创收 /// DIVIDEFEETYPE_CREDIT = 15, /// /// 期权净创收 /// DIVIDEFEETYPE_OPTION = 16 } /// // 交割价格规则 /// public enum eDeliveryPriceRule { /// /// 行情价 /// DELIVERYPRICERULE_QUOTEPRICE = 1, /// /// 建仓价 /// DELIVERYPRICERULE_OPENPRICE = 2 } /// // 配送状态对应表TakeDeliveryDistributeInfo /// public enum eDistributeStatus { /// /// 待审核 /// DISTRIBUTESTATUS_PENDING = 0, /// /// 待输入 /// DISTRIBUTESTATUS_INPUTING = 1, /// /// 待确认 /// DISTRIBUTESTATUS_ACKING = 2, /// /// 确认拒绝 /// DISTRIBUTESTATUS_REFUSE = 3, /// /// 已确认 /// DISTRIBUTESTATUS_ACKED = 4, /// /// 已发布 /// DISTRIBUTESTATUS_PUBLISHED = 5, /// /// 已支付 /// DISTRIBUTESTATUS_PAYED = 6, /// /// 已撤销 /// DISTRIBUTESTATUS_CANCLE = 7, /// /// 发布失败 /// DISTRIBUTESTATUS_PUBLISHED_FAIL = 8 } /// // 费用交易类型 /// public enum eFeeTradeType { /// /// 投资者自营 /// FEETRADETYPE_INVESTOR = 1, /// /// 做市 /// FEETRADETYPE_MARKETMAKE = 2 } /// // 内部交易费用 /// public enum eTradeFeeEx { /// /// 会员建仓(买)手续费 /// TRADEFEEEX_MEMBEROPENCHARGE = 201, /// /// 会员平仓(卖)手续费 /// TRADEFEEEX_MEMBERCLOSECHARGE = 202, /// /// 会员买交割手续费 /// TRADEFEEEX_MEMBERBUYDELIVERYCHARGE = 205, /// /// 会员卖交割手续费 /// TRADEFEEEX_MEMBERSELLDELIVERYCHARGE = 206, /// /// 会员买递延费2 /// TRADEFEEEX_MEMBERBUYDEFERCHARGE = 211, /// /// 会员卖递延费2 /// TRADEFEEEX_MEMBERSELLDEFERCHARGE = 212, /// /// 交易所建仓(买)手续费 /// TRADEFEEEX_EXCHOPENCHARGE = 301, /// /// 交易所平仓(卖)手续费 /// TRADEFEEEX_EXCHCLOSECHARGE = 302, /// /// 交易所买交割手续费 /// TRADEFEEEX_EXCHBUYDELIVERYCHARGE = 305, /// /// 交易所卖交割手续费 /// TRADEFEEEX_EXCHSELLDELIVERYCHARGE = 306, /// /// 交易所买递延费2 /// TRADEFEEEX_EXCHBUYDEFERCHARGE = 311, /// /// 交易所卖递延费2 /// TRADEFEEEX_EXCHSELLDEFERCHARGE = 312 } /// // 数据库价格金额整数保存标志 /// public enum eDbIntegerSave { /// /// 否-数据库存小数 /// DB_INTEGER_SAVE_NO = 0, /// /// 是-数据库存整数 /// DB_INTEGER_SAVE_YES = 1 } /// // 是否议价标志 /// public enum eWRTradeCanBarGain { /// /// 挂牌不可议价;摘牌非议价 /// CANBARGAIN_NO = 0, /// /// 挂牌可议价;摘牌是议价 /// CANBARGAIN_YES = 1 } /// // 仓单贸易议价申请状态 /// public enum eWRTradeBargainApplyStatus { /// /// 待确认 /// BARGAINAPPLYSTATUS_PENDING = 1, /// /// 已确认 /// BARGAINAPPLYSTATUS_CONFIRMED = 2, /// /// 已拒绝 /// BARGAINAPPLYSTATUS_REJECTED = 3, /// /// 已撤销 /// BARGAINAPPLYSTATUS_CANCEL = 4, /// /// 系统撤销 /// BARGAINAPPLYSTATUS_SYSCANCEL = 5, /// /// 处理失败 /// BARGAINAPPLYSTATUS_FAILED = 6 } /// // 账户服务操作子指令类型 /// public enum eAccountCmdOp { /// /// 资金冻结 /// ACCOUNTCMDOP_TA_FREEZE = 2000, /// /// 资金最大冻结 /// ACCOUNTCMDOP_TA_MAX_FREEZE = 2001, /// /// 资金解冻 /// ACCOUNTCMDOP_TA_UNFREEZE = 2002, /// /// 资金增加 /// ACCOUNTCMDOP_TA_INCREASE = 2003, /// /// 资金减少 /// ACCOUNTCMDOP_TA_DECREASE = 2004, /// /// 资金最大减少 /// ACCOUNTCMDOP_TA_MAX_DECREASE = 2005, /// /// 头寸冻结 /// ACCOUNTCMDOP_TRADE_POS_FREEZE = 2100, /// /// 头寸最大冻结 /// ACCOUNTCMDOP_POS_MAX_FREEZE = 2101, /// /// 头寸解冻 /// ACCOUNTCMDOP_POS_UNFREEZE = 2102, /// /// 头寸增加 /// ACCOUNTCMDOP_POS_INCREASE = 2103, /// /// 头寸减少 /// ACCOUNTCMDOP_POS_DECREASE = 2104, /// /// 头寸最大减少 /// ACCOUNTCMDOP_POS_MAX_DECREASE = 2105, /// /// 头寸持仓金额增加 /// ACCOUNTCMDOP_POS_AMOUNT_INCREASE = 2106, /// /// 头寸持仓金额减少 /// ACCOUNTCMDOP_POS_AMOUNT_DECREASE = 2107, /// /// T+N头寸冻结 /// ACCOUNTCMDOP_POS_TN_FREEZE = 2108, /// /// T+N头寸最大冻结 /// ACCOUNTCMDOP_POS_TN_MAX_FREEZE = 2109, /// /// T+N头寸解冻 /// ACCOUNTCMDOP_POS_TN_UNFREEZE = 2110, /// /// T+N头寸增加(T4) /// ACCOUNTCMDOP_POS_TN_INCREASE = 2111, /// /// T+N头寸减少(T4) /// ACCOUNTCMDOP_POS_TN_DECREASE = 2112, /// /// T+N头寸成交 /// ACCOUNTCMDOP_POS_TN_DEAL = 2113, /// /// 仓单头寸冻结 /// ACCOUNTCMDOP_WRPOS_FREEZE = 2200, /// /// 仓单头寸最大冻结 /// ACCOUNTCMDOP_WRPOS_MAX_FREEZE = 2201, /// /// 仓单头寸解冻 /// ACCOUNTCMDOP_WRPOS_UNFREEZE = 2202, /// /// 仓单头寸增加 /// ACCOUNTCMDOP_WRPOS_INCREASE = 2203, /// /// 仓单头寸减少 /// ACCOUNTCMDOP_WRPOS_DECREASE = 2204, /// /// 仓单头寸最大减少 /// ACCOUNTCMDOP_WRPOS_MAX_DECREASE = 2205, /// /// 订单仓单头寸总数量增加--仓单转订单时同时发出 /// ACCOUNTCMDOP_WRPOS_TRWRPOS_INCREASE = 2206, /// /// 订单仓单头寸总数量减少--订单转仓单时同时发出 /// ACCOUNTCMDOP_WRPOS_TRWRPOS_DECREASE = 2207, /// /// 订单仓单头寸冻结 /// ACCOUNTCMDOP_TRWRPOS_FREEZE = 2300, /// /// 订单仓单头寸最大冻结 /// ACCOUNTCMDOP_TRWRPOS_MAX_FREEZE = 2301, /// /// 订单仓单头寸解冻 /// ACCOUNTCMDOP_TRWRPOS_UNFREEZE = 2302, /// /// 订单仓单头寸增加 /// ACCOUNTCMDOP_TRWRPOS_INCREASE = 2303, /// /// 订单仓单头寸减少 /// ACCOUNTCMDOP_TRWRPOS_DECREASE = 2304, /// /// 订单仓单头寸最大减少 /// ACCOUNTCMDOP_TRWRPOS_MAX_DECREASE = 2305, /// /// 积分冻结 /// ACCOUNTCMDOP_SCORE_FREEZE = 2400, /// /// 积分最大冻结 /// ACCOUNTCMDOP_SCORE_MAX_FREEZE = 2401, /// /// 积分解冻 /// ACCOUNTCMDOP_SCORE_UNFREEZE = 2402, /// /// 积分增加 /// ACCOUNTCMDOP_SCORE_INCREASE = 2403, /// /// 积分减少 /// ACCOUNTCMDOP_SCORE_DECREASE = 2404, /// /// 积分最大减少 /// ACCOUNTCMDOP_SCORE_MAX_DECREASE = 2405, /// /// 积分代扣(积分服务商) /// ACCOUNTCMDOP_SCORE_WITHHOLD = 2406, /// /// 期权建仓 /// ACCOUNTCMDOP_OPTION_OPEN = 2500, /// /// 期权行权 /// ACCOUNTCMDOP_OPTION_EXERCISE = 2501, /// /// 期权对冲 /// ACCOUNTCMDOP_OPTION_HEDGE = 2502, /// /// 机构手续费科目 -- 2201科目 /// ACCOUNTCMDOP_SUBJECT_AREAFEE = 9000, /// /// 履约扣款科目 -- 2202科目 /// ACCOUNTCMDOP_SUBJECT_PERDEDUCT = 9001, /// /// 商城扣款科目 -- 2203科目 /// ACCOUNTCMDOP_SUBJECT_MALLDEDUCT = 9002, /// /// 其它金额科目增加 -- 2299科目 /// ACCOUNTCMDOP_SUBJECT_OTHERAMOUNT = 9003, /// /// 交易所手续费科目增加 -- 3301科目 /// ACCOUNTCMDOP_SUBJECT_EXCHANGFEE = 9004, /// /// 汇率换算科目增加 -- 3302科目 /// ACCOUNTCMDOP_SUBJECT_RATE = 9005, /// /// 交易所违约收入科目增加 -- 3303科目 /// ACCOUNTCMDOP_SUBJECT_EXBREACHINCOME = 9006, /// /// 商城代扣(积分)科目增加 -- 4201科目 /// ACCOUNTCMDOP_SUBJECT_MALLWITHHOLD = 9007, /// /// 交易授信科目增加 -- 4202科目 /// ACCOUNTCMDOP_SUBJECT_TRADECREDIT = 9008 } /// // 市场运行变更类型 /// public enum eMarketRunChangeType { /// /// 市场运行状态变更 /// MARKETRUN_CHANGETYPE_STATUS = 1, /// /// 市场运行阶段变更 /// MARKETRUN_CHANGETYPE_STEP = 2, /// /// 市场运行未变更 /// MARKETRUN_CHANGETYPE_NONE = 3 } /// // 操作资金类型 /// public enum eOpAmountType { /// /// 占用保证金 /// OPAMOUNTTYPE_OCCUPY = 1, /// /// 其他冻结保证金 /// OPAMOUNTTYPE_OTHER_FREEZE = 2, /// /// 手续费 /// OPAMOUNTTYPE_FEE = 3, /// /// 授信金额 /// OPAMOUNTTYPE_CREDIT = 4, /// /// 其它授信金额 /// OPAMOUNTTYPE_OTHER_CREDIT = 5, /// /// 出金冻结 /// OPAMOUNTTYPE_WITHDRAW_FREEZE = 6, /// /// 平仓盈亏 /// OPAMOUNTTYPE_PROFIT_LOSS = 7, /// /// 划转金额 /// OPAMOUNTTYPE_TRANSFER_AMOUNT = 8, /// /// 其他收入支出 /// OPAMOUNTTYPE_OTHERINCOME_OR_OTHERPAY = 9, /// /// 出入金 /// OPAMOUNTTYPE_DEPOSIT_OR_WITHDRAW = 10, /// /// 三方出入金 /// OPAMOUNTTYPE_THIRD_DEPOSIT_OR_WITHDRAW = 11, /// /// 冻结保证金 /// OPAMOUNTTYPE_FREEZE = 12, /// /// 递延费 /// OPAMOUNTTYPE_DEFERRED_FEE = 13, /// /// 持仓过夜费 /// OPAMOUNTTYPE_INTEREST_FEE = 14, /// /// 调期费 /// OPAMOUNTTYPE_SWAP_FEE = 15, /// /// 利息 /// OPAMOUNTTYPE_INTERESTCHARGE_FEE = 16, /// /// 结算盈亏 /// OPAMOUNTTYPE_SETTLE_PROFIT_LOSS = 17, /// /// 交易所费用科目 /// OPAMOUNTTYPE_EXCHANGE_SUBJECT = 20 } /// // 操作头寸类型 /// public enum eOpPositionType { /// /// 头寸 /// OPPOSITIONTYPE_POS = 1, /// /// 持仓金额 /// OPPOSITIONTYPE_HOLDAMOUNT = 2, /// /// 其他头寸 /// OPPOSITIONTYPE_OTHER_POS = 3, /// /// 净头寸 /// OPPOSITIONTYPE_NET_POS = 4, /// /// 委托 /// OPPOSITIONTYPE_ORDER_POS = 5 } /// // 管理端个性化通知类型 /// public enum eAccountConfigChangeNtfType { /// /// 风控变更 /// ACCOUNTCONFIGCHANGENTFTYPE_RISK = 1, /// /// 投资者分组变更 /// ACCOUNTCONFIGCHANGENTFTYPE_USERGROUP = 2, /// /// 投资者分组个性化变更 /// ACCOUNTCONFIGCHANGENTFTYPE_USERGROUP_IND = 3, /// /// 账户个性化变更 /// ACCOUNTCONFIGCHANGENTFTYPE_ACCOUNT_IND = 4 } /// // 检查类型 /// public enum eChecked { /// /// 未核对 /// CHECKED_NO = 0, /// /// 已核对 /// CHECKED_YES = 1 } /// // 发送状态 /// public enum eSendStatus { /// /// 待发送 /// SENDSATUS_WAIT = 1, /// /// 发送成功 /// SENDSATUS_SEND = 2 } /// // 商品报价类型 /// public enum eGoodsQuoteType { /// /// 直接报价 /// GOODSQUOTETYPE_DIRECT = 1, /// /// 间接报价 /// GOODSQUOTETYPE_INDIRECT = 2 } /// // 竞拍场次保证金表参与状态 /// public enum eJoinStatusType { /// /// 不可参与 /// JOINSTATUSTYPE_YES = 0, /// /// 可参与 /// JOINSTATUSTYPE_NO = 1 } /// // 竞拍场次状态 /// public enum eAcutionGroupStatus { /// /// 未开始 /// ACUTIONGROUPSTATUS_NOTBEGIN = 1, /// /// 已开始 /// ACUTIONGROUPSTATUS_BIDING = 2, /// /// 已结束 /// ACUTIONGROUPSTATUS_OVER = 3 } /// // 系统结算操作类型 /// public enum eSystemRekconOperateType { /// /// 市场结算结果更新 /// SYSTEMRECKON_OPERATETYPE_MARKET_RRECKON_RESULT_UPDATED = 1, /// /// 银行清算开始 /// SYSTEMRECKON_OPERATETYPE_BANK_SETTLE_BEGIN = 2 } /// // 市场结算结果更新类型 /// public enum eMarketReckonResultType { /// /// 市场结算成功 /// MATKET_RECKON_RESULT_TYPE_SUCCESS = 1, /// /// 控制服务删除市场结算记录 /// MATKET_RECKON_RESULT_TYPE_DELETE_RECORD = 2, /// /// 管理端手动发起结算 /// MATKET_RECKON_RESULT_TYPE_MANUAL = 3 } /// // 市场结算标志 /// public enum eMarketReckonFlag { /// /// 未开始 /// MATKET_RECKON_FLAG_INIT = 1, /// /// 结算成功 /// MATKET_RECKON_FLAG_SUCCESS = 2, /// /// 结算失败 /// MATKET_RECKON_FLAG_FAILED = 3 } /// // 现货类权限类型 /// public enum eSpotRightType { /// /// 可挂可摘 /// SPOT_RIGHT_TYPE_ALL = 1, /// /// 可挂 /// SPOT_RIGHT_TYPE_SELL = 2, /// /// 可摘 /// SPOT_RIGHT_TYPE_BUY = 3 } /// // 履约计划是否确认溢短 /// public enum ePerformancePlanExpressFeeConfirmed { /// /// 没有 /// NO_EXPRESSFEECONFIRM = 0, /// /// 买方确认 /// BUYER_EXPRESSFEECONFIRM = 1, /// /// 卖方确认 /// SELLER_EXPRESSFEECONFIRM = 2 } /// // 分润方式 /// public enum eDivideMode { /// /// 统一分 /// DIVIDEMODE_UNIFIED = 1, /// /// 逐级分 /// DIVIDEMODE_CASCADE = 2 } /// // 渠道账号状态 /// public enum eChannelAccountStatus { /// /// 可买入可卖出 /// CHANNELACCOUNT_OPEN_CLOSE = 1, /// /// 可卖出不可买入 /// CHANNELACCOUNT_CLOSE = 2 } /// // 付款状态 /// public enum ePayStatus { /// /// 待审核 /// PAYSTATUS_PENDING = 1, /// /// 待付款 /// PAYSTATUS_STAY_PAYMENT = 2, /// /// 已付款 /// PAYSTATUS_PAID = 3, /// /// 待复审 /// PAYSTATUS_PENDING_REAUDIT = 4 } /// // 交易所账户变更明细状态 /// public enum eExchAccChangeDetailStatus { /// /// 初始化 /// EXCHACC_CHANGESTATUS_INIT = 1, /// /// 已生成 /// EXCHACC_CHANGESTATUS_GENERATED = 2, /// /// 已发送 /// EXCHACC_CHANGESTATUS_SENDED = 3, /// /// 未响应 /// EXCHACC_CHANGESTATUS_NOANSWER = 4, /// /// 已成功 /// EXCHACC_CHANGESTATUS_SUCCESS = 5 } /// // 交割商品类型 /// public enum eDeliveryGoodsType { /// /// 整装 /// DELIVERYGOODS_ASSEMBLY = 1, /// /// 散装 /// DELIVERYGOODS_BULK = 2 } /// // 提货计划状态 /// public enum eTakePlanStatus { /// /// 待审核 /// TAKE_PLAN_STATUS_INACTIVE = 1, /// /// 审核中 /// TAKE_PLAN_STATUS_AUDITING = 2, /// /// 审核拒绝 /// TAKE_PLAN_STATUS_REJECTED = 3, /// /// 提货完成 /// TAKE_PLAN_STATUS_FINISH = 4, /// /// 部分提货 /// TAKE_PLAN_STATUS_PART_TAKE = 5, /// /// 审核通过 /// TAKE_PLAN_STATUS_PASS = 6, /// /// 已撤销 /// TAKE_PLAN_STATUS_CANCELLED = 7, /// /// 审核失败 /// TAKE_PLAN_STATUS_FAILED = 8 } /// // 仓单贸易合同状态 /// public enum eWRTradeContractStatus { /// /// 未提货 /// WR_TRADE_CONTRACT_NOT_TAKE = 1, /// /// 已提货 /// WR_TRADE_CONTRACT_TAKE = 2, /// /// 已结束 /// WR_TRADE_CONTRACT_END = 3, /// /// 履约中 /// WR_TRADE_CONTRACT_PERFORMANCE_HANDING = 4, /// /// 履约完成 /// WR_TRADE_CONTRACT_PERFORMANCE_END = 5 } /// // 成交方式 /// public enum eDealMode { /// /// 净头寸 /// DEALMODE_NETPOS = 1, /// /// 开平 /// DEALMODE_OPENCLOSE = 2, /// /// 平今 /// DEALMODE_CLOSETODAY = 3 } /// // 场外期权交易结算节点ID /// public enum eOTCOptionReckonNodeID { /// /// 结算价节点 /// OTCOPTIONRECKNODEID_RECK_PRICE = 1, /// /// 持仓单同步节点 /// OTCOPTIONRECKNODEID_SYNCHOLDER = 2, /// /// 委托同步节点 /// OTCOPTIONRECKNODEID_SYNCORDER = 3, /// /// 行权同步节点 /// OTCOPTIONRECKNODEID_SYNCEXERCISE = 4, /// /// 撤单节点 /// OTCOPTIONRECKNODEID_CANCEL = 5, /// /// 单据试算平衡节点ID /// OTCOPTIONRECKNODEID_ORDER_BALANCE_CALCULATE = 6, /// /// 交易分润节点 /// OTCOPTIONRECKNODEID_SHARE_PROFIT = 7 } /// // 合同状态 /// public enum eContractStatus { /// /// 未生效 /// WR_CONTRACT_STATUS_NOT = 0, /// /// 已生效 /// WR_CONTRACT_STATUS_FORCE = 1, /// /// 生效中 /// WR_CONTRACT_STATUS_ING = 2, /// /// 生效失败 /// WR_CONTRACT_STATUS_FAILED = 3 } /// // 合同类型 /// public enum eContractType { /// /// 采购合同 /// WR_CONTRACT_TYPE_BUY = 1, /// /// 销售合同 /// WR_CONTRACT_TYPE_SELL = 2 } /// // 敞口风险级别 /// public enum eExposureRiskLevel { /// /// 正常 /// EXPOSURE_RISK_LEVEL_NORMAL = 0, /// /// 不正常 /// EXPOSURE_RISK_LEVEL_ABNORMAL = 1 } /// // 统计结算节点 /// public enum eErmsReckonNode { /// /// 仓单市值计算节点 /// ERMSRECKONNODE_WRPOSITION = 1, /// /// 账户统计节点 /// ERMSRECKONNODE_TAACCOUNT = 2, /// /// 生成报表节点 /// ERMSRECKONNODE_GEN_REPORT = 3 } /// // 场外期权行权类型 /// public enum eOTCOptionExerciseType { /// /// 欧式期权 /// OTCOPTION_EXERCISETYPE_EU = 1, /// /// 美式期权型 /// OTCOPTION_EXERCISETYPE_AU = 2 } /// // 清算结果 /// public enum eSettleResult { /// /// 清算开始 /// SETTLERESULT_BEGIN = 1, /// /// 清算部分成功 /// SETTLERESULT_PARTIALSUCCESS = 2, /// /// 清算全部成功 /// SETTLERESULT_SUCCESS = 3 } /// // 通道母账号状态 /// public enum eHedgeAccountType { /// /// 下单母账号 /// HEDGEACCOUNTTYPE_NORMAL = 1, /// /// 跟单母账号 /// HEDGEACCOUNTTYPE_PROGRAMMATIC = 2 } /// // 交货模式 /// public enum ePerformanceWay { /// /// 履约计划 /// PERFORMANCEWAY_PALN_PERFORMANCE = 1, /// /// 分步履约 /// PERFORMANCEWAY_STEP_PERFORMANCE = 2, /// /// 分步提货 /// PERFORMANCEWAY_STEP_TAKE = 3 } /// // 合同执行方式 /// public enum eContractExecuteMode { /// /// 顺序执行 /// EXECUTEMODE_ORDER = 1, /// /// 交叉执行 /// EXECUTEMODE_CROSS = 2 } /// // 执行方 /// public enum eContractExecuteSide { /// /// 买方 /// EXECUTESIDE_BUY = 1, /// /// 卖方 /// EXECUTESIDE_SELL = 2 } /// // 清算账户请求消息发送状态 /// public enum eSettltAccountReqSendStatus { /// /// 待发送 /// SETTLE_ACCOUNT_REQ_SEND_STATUS_WAIT_SEND = 1, /// /// 发送成功 /// SETTLE_ACCOUNT_REQ_SEND_STATUS_SEND_SUCCESS = 2, /// /// 返回失败 /// SETTLE_ACCOUNT_REQ_SEND_STATUS_RESPONSE_FAILED = 3, /// /// 返回成功 /// SETTLE_ACCOUNT_REQ_SEND_STATUS_RESPONSE_SUCCESS = 4 } /// // 摘牌限制类型 /// public enum eDelistLimitType { /// /// 摘牌数量 /// DELIST_LIMIT_TYPE_QTY = 1, /// /// 摘牌金额 /// DELIST_LIMIT_TYPE_AMOUNT = 2 } /// // 支付方式 /// public enum ePayModel { /// /// 银行卡 /// PAY_MODEL_BANKCARD = 1, /// /// 微信 /// PAY_MODEL_WECHAT = 2, /// /// 支付宝 /// PAY_MODEL_ALIPAY = 3, /// /// PayPal /// PAY_MODEL_PAYPAL = 4 } /// // 通用履约状态 /// public enum eCommonPerformanceStatus { /// /// 无履约 /// PERFORMANCE_STATUS_NONE = 0, /// /// 未履约 /// PERFORMANCE_STATUS_FAILURE = 1, /// /// 履约中 /// PERFORMANCE_STATUS_IN_PERFORMANCE = 2, /// /// 履约完成 /// PERFORMANCE_STATUS_FINISH = 3, /// /// 超时关闭 /// PERFORMANCE_STATUS_TIMEOUT_CLOSE = 4 } /// // 银行账户调整类型 /// public enum eBankAccAdjutType { /// /// 母账户加钱 /// BANK_ACCADJUTTYPE_MV_MAIN_DEP = 1, /// /// 母账户减钱 /// BANK_ACCADJUTTYPE_MV_MAIN_WDR = 2, /// /// 子账户加钱 /// BANK_ACCADJUTTYPE_MV_CHILD_DEP = 3, /// /// 子账户减钱 /// BANK_ACCADJUTTYPE_MV_CHILD_WDR = 4, /// /// 资金调整——出金 /// BANK_ACCADJUTTYPE_ADJ_WDR = 5, /// /// 资金调整——入金 /// BANK_ACCADJUTTYPE_ADJ_DEP = 6, /// /// 资金调整——结算盈亏 /// BANK_ACCADJUTTYPE_ADJ_PL_RECKON = 7, /// /// 资金调整——交易盈亏 /// BANK_ACCADJUTTYPE_ADJ_PL_TRADE = 8, /// /// 资金调整——第三方入金 /// BANK_ACCADJUTTYPE_ADJ_3TH_DEP = 9, /// /// 资金调整——第三方出金 /// BANK_ACCADJUTTYPE_ADJ_3TH_WDR = 10, /// /// 资金调整——期权盈亏 /// BANK_ACCADJUTTYPE_ADJ_PROFIT_LOSS = 11 } /// // 默认账号类型 /// public enum eDefaultAccountType { /// /// 默认结算账号 /// DEFAULT_ACCOUNT_TYPE_RECKON = 1, /// /// 默认接单账号 /// DEFAULT_ACCOUNT_TYPE_MARKET = 2 } /// // 活动类型 /// public enum eImpActiveType { /// /// 锁仓业务 /// IMP_ACTIVE_TYPE_LOCK = 1, /// /// 认购业务 /// IMP_ACTIVE_TYPE_BUY = 2 } /// // 锁仓期限类型 /// public enum eImpLockedPeriodType { /// /// 12个月 /// IMP_LOCKEDPERIOD_ONE = 1, /// /// 24个月 /// IMP_LOCKEDPERIOD_TWO = 2, /// /// 36个月 /// IMP_LOCKEDPERIOD_THREE = 3, /// /// 48个月 /// IMP_LOCKEDPERIOD_FOUR = 4, /// /// 60个月 /// IMP_LOCKEDPERIOD_FIVE = 5 } /// // 固定类型 /// public enum eImpFixedType { /// /// 固定费用收取 /// IMP_FIXEDTYPE_FEE = 1, /// /// 固定量赠送 /// IMP_FIXEDTYPE_GIFT = 2 } /// // 子账号类型 /// public enum eImpAccountType { /// /// 参与子账号 /// IMP_ACCOUNTTYPE_APPLY = 1, /// /// 划转子账号 /// IMP_ACCOUNTTYPE_TRANSFER = 2 } /// // 申请状态 /// public enum eImpOrderStatus { /// /// 申请中 /// IMP_STATUS_REQUEST = 1, /// /// 申请失败 /// IMP_STATUS_FAILED = 2, /// /// 待审核 /// IMP_STATUS_AUDITING = 3, /// /// 申请成功 /// IMP_STATUS_SUCCESS = 4, /// /// 审核拒绝 /// IMP_STATUS_REJECTED = 5, /// /// 已撤销 /// IMP_STATUS_CANCELED = 6, /// /// 已解锁 /// IMP_STATUS_UNLOCKED = 7, /// /// 已到期 /// IMP_STATUS_EXPIRED = 8 } /// // 划转状态 /// public enum eImpTransferStatus { /// /// 未划转 /// IMP_TRANSFER_NORMAL = 0, /// /// 划转成功 /// IMP_TRANSFER_SUCCESS = 1, /// /// 划转失败 /// IMP_TRANSFER_FAILED = 2 } /// // 品种状态 /// public enum eDGStatus { /// /// 报价上架 /// WR_QUOTE_UPPER = 1, /// /// 报价下架 /// WR_QUOTE_LOWER = 2, /// /// 报价成交 /// WR_QUOTE_TRADE = 3, /// /// 挂牌销售 /// WR_LISTING_SALE = 4, /// /// 挂牌成交 /// WR_LISTING_TRADE = 5, /// /// 竞拍销售 /// WR_AUCTION_SALE = 6, /// /// 竞拍成交 /// WR_AUCTION_TRADE = 7, /// /// 竞拍流拍 /// WR_AUCTION_PASS = 8, /// /// 已提货 /// WR_DELIVERED = 9 } /// // 锁仓审核状态 /// public enum eImpAuditStatus { /// /// 审核通过 /// IMP_AUDITSTATUS_PASS = 1, /// /// 审核拒绝 /// IMP_AUDITSTATUS_REJECT = 2 } /// // 报价状态 /// public enum eQuoteStatus { /// /// 待上市 /// WR_AUTO_QUOTE_PRE_LISTED = 1, /// /// 上市 /// WR_AUTO_QUOTE_LISTED = 2, /// /// 下架 /// WR_AUTO_QUOTE_LOWER = 3, /// /// 修改 /// WR_AUTO_QUOTE_MODIFY = 4, /// /// 成交 /// WR_AUTO_QUOTE_TRADE = 5, /// /// 超期 /// WR_AUTO_QUOTE_TIMEOUT = 6, /// /// 修改退市 /// WR_AUTO_QUOTE_DELISTED = 7 } /// // 锁仓认购操作类型 /// public enum eChannelLockOperateType { /// /// 增加 /// CHANNELLOCKOPERATETYPE_ADD = 1, /// /// 删除 /// CHANNELLOCKOPERATETYPE_DEL = 2, /// /// 修改 /// CHANNELLOCKOPERATETYPE_UPDATE = 3 } /// // 扩展角色类型 /// public enum eMS_RoleType { /// /// 特许经销商(中远) /// MS_ROLETYPE_SPEC = 1, /// /// 金融服务商(中江) /// MS_ROLETYPE_FINANCEAREA = 2, /// /// 核心企业(百色) /// MS_ROLETYPE_CORE = 3, /// /// 基金公司 /// MS_ROLETYPE_FC = 4, /// /// 回购商 /// MS_ROLETYPE_BUYBACK = 5 } /// // 挂牌状态 /// public enum eDGEX_ListingStatus { /// /// 上市 /// DGEXTENSION_LISTINGSTUTAS_SALE = 1, /// /// 成交 /// DGEXTENSION_LISTINGSTUTAS_TRADE = 2, /// /// 超期 /// DGEXTENSION_LISTINGSTUTAS_TIMEOUT = 3 } /// // 现货商城申请类型 /// public enum eWHZG2_ApplyType { /// /// 商品上架 /// APPLYTYPE_GOODSSALE = 1, /// /// 价格修改 /// APPLYTYPE_MODIFYPRICE = 2, /// /// 数量增加 /// APPLYTYPE_QTY_ADD = 3, /// /// 重新上架 /// APPLYTYPE_REGOODSSALE = 4 } /// // 金点拍抽奖中奖标志 /// public enum eJDP_LotteryIsWinner { /// /// 未中奖 /// JDP_LOTTERY_ISWINNER_NO = 0, /// /// 中奖 /// JDP_LOTTERY_ISWINNER_YES = 1 } /// // 金点拍奖金类型 /// public enum eJDP_PrizeAmountType { /// /// 累计拍得者大奖金额 /// JDP_PRIZE_AMOUNT_TYPE_PDZ_CUMULITIVE = 1, /// /// 本期拍得者大奖金额 /// JDP_PRIZE_AMOUNT_TYPE_PDZ_CURRENT = 2, /// /// 直推VIP每日TOPN奖金额 /// JDP_PRIZE_AMOUNT_TYPE_VIPTOPN = 3 } /// // 金点拍是否参与拍得者大奖标志 /// public enum eJDP_PdzCanJoin { /// /// 否 /// JDP_PDZ_CANJOIN_NO = 0, /// /// 是 /// JDP_PDZ_CANJOIN_YES = 1 } /// // 金点拍商品配置类型 /// public enum eJDP_ConfigType { /// /// JD购买能量比 /// JDP_GOODSCONFIG_CONFIGTYPE_JDTOMP = 1, /// /// PD购买体力比 /// JDP_GOODSCONFIG_CONFIGTYPE_PDTOHP = 2, /// /// 出价奖励与能量比 /// JDP_GOODSCONFIG_CONFIGTYPE_QUOTETOMP = 3, /// /// 业务奖励与体力比 /// JDP_GOODSCONFIG_CONFIGTYPE_BUSINESSTOHP = 4, /// /// 成交奖励配置 /// JDP_GOODSCONFIG_CONFIGTYPE_TRADE_TO_JD = 5, /// /// PD额度比 /// JDP_GOODSCONFIG_CONFIGTYPE_TRADE_TO_PDQUOTA = 6 } /// // 金点拍转换类型 /// public enum eJDP_ConvertType { /// /// 金点赞(外部)转JD /// JDP_CONVERTTYPE_EXTENALJD_TRANSFERIN = 1, /// /// JD转PD /// JDP_CONVERTTYPE_JD_TRANSFER_PD = 2, /// /// PD互转 /// JDP_CONVERTTYPE_PD_TRANSFER_PD = 3, /// /// 交易转PD /// JDP_CONVERTTYPE_TRADE_TRANSFER_PD = 4, /// /// PD转交易 /// JDP_CONVERTTYPE_PD_TRANSFER_TRADE = 5, /// /// 批量导入PD /// JDP_CONVERTTYPE_MULTI_TRANSFERIN_PD = 6, /// /// JD购买PD /// JDP_CONVERTTYPE_JD_BUY_PD = 7, /// /// JD购买能量 /// JDP_CONVERTTYPE_JD_TRANSFER_MP = 8, /// /// PD购买体力值 /// JDP_CONVERTTYPE_PD_TRANSFER_HP = 9 } /// // 金点拍抽奖奖品类型 /// public enum eJDP_LotteryPrizeType { /// /// 实物 /// JDP_LOTTERY_PRIZE_TYPE_IN_KIND = 1, /// /// JD /// JDP_LOTTERY_PRIZE_TYPE_JD = 2, /// /// PD /// JDP_LOTTERY_PRIZE_TYPE_PD = 3 } /// // 金点拍用户级别 /// public enum eJDP_UserRank { /// /// 普通会员 /// JDP_USER_RANK_NURMAL = 1, /// /// VIP会员 /// JDP_USER_RANK_VIP = 2 } /// // 金点拍日志处理状态 /// public enum eJDP_LogHandleStatus { /// /// 初始化 /// JDP_LOG_HANDLE_STATUS_INIT = 0, /// /// 成功 /// JDP_LOG_HANDLE_STATUS_SUCCESS = 1, /// /// 失败 /// JDP_LOG_HANDLE_STATUS_FAILD = 2, /// /// 处理中 /// JDP_LOG_HANDLE_STATUS_PROCESSING = 3, /// /// 冻结处理中 /// JDP_LOG_HANDLE_STATUS_FREEZE_PROCESSING = 4, /// /// 成交处理中 /// JDP_LOG_HANDLE_STATUS_TRADE_PROCESSING = 5 } /// // 行情排序规则 /// public enum eQUOTE_SORTRULE { /// /// 涨跌幅排序 /// QUOTE_SORTRULE_PCTCHANGE = 1, /// /// 总交易额排序 /// QUOTE_SORTRULE_MONEY = 2, /// /// 总成交量排序 /// QUOTE_SORTRULE_TOTALVOLUME = 3 } /// // 金点拍交易头寸变更类型 /// public enum eJDP_TradePositionChangeType { /// /// JD/PD冻结 /// JDP_TRADE_POSITION_CHANGE_TYPE_JDPD_FREEZE = 1, /// /// JD/PD解冻 /// JDP_TRADE_POSITION_CHANGE_TYPE_JDPD_UNFREEZE = 2, /// /// JD/PD扣除 /// JDP_TRADE_POSITION_CHANGE_TYPE_JDPD_DECREASE = 3, /// /// JD/PD增加 /// JDP_TRADE_POSITION_CHANGE_TYPE_JDPD_INCREASE = 4, /// /// JD/PD手续费冻结 /// JDP_TRADE_POSITION_CHANGE_TYPE_JDPD_FEE_FREEZE = 5, /// /// JD/PD手续费解冻 /// JDP_TRADE_POSITION_CHANGE_TYPE_JDPD_FEE_UNFREEZE = 6, /// /// JD/PD手续费扣除 /// JDP_TRADE_POSITION_CHANGE_TYPE_JDPD_FEE_DECREASE = 7, /// /// 交易所手续费收入 /// JDP_TRADE_POSITION_CHANGE_TYPE_EXCHANGE_FEE = 8 } /// // 交易冻结头寸变更类型 /// public enum eFreezePos_FreezePositionLogChangeType { /// /// 供货商增加冻结头寸 /// FREEZEPOS_FREEZE_POSITION_LOG_CHANGE_TYPE_VENTOR_ADD = 1, /// /// 供货商解冻头寸审核通过 /// FREEZEPOS_FREEZE_POSITION_LOG_CHANGE_TYPE_VENTOR_AUDIT_PASS = 2, /// /// 商品配售 /// FREEZEPOS_FREEZE_POSITION_LOG_CHANGE_TYPE_RATION = 3, /// /// 商品转让 /// FREEZEPOS_FREEZE_POSITION_LOG_CHANGE_TYPE_TRANSFER = 4, /// /// 商品回购 /// FREEZEPOS_FREEZE_POSITION_LOG_CHANGE_TYPE_BUYBACK = 5 } /// // 交易冻结头寸标志 /// public enum eFreezePos_IsFreeze { /// /// 冻结 /// FREEZEPOS_ISFREEZE_YES = 1, /// /// 不冻结 /// FREEZEPOS_ISFREEZE_NO = 2 } /// // 交易冻结头寸转让类型 /// public enum eFreezePos_TransferType { /// /// 配售 /// FREEZEPOS_TRANSFER_TYPE_RATION = 1, /// /// 转让 /// FREEZEPOS_TRANSFER_TYPE_TRANSFER = 2, /// /// 回购 /// FREEZEPOS_TRANSFER_TYPE_BUYBACK = 3 } /// // 交易冻结头寸头寸类型 /// public enum eFreezePos_PositionType { /// /// 交易头寸 /// FREEZEPOS_POSITION_TYPE_TRADE = 1, /// /// 冻结头寸 /// FREEZEPOS_POSITION_TYPE_FREEZE = 2 } /// // 交易冻结头寸冻结类型 /// public enum eFreezePos_FreezeType { /// /// 配售冻结 /// FREEZEPOS_FREEZE_TYPE_RATION = 1, /// /// 转入冻结 /// FREEZEPOS_FREEZE_TYPE_IN = 2 } /// // 交易冻结头寸冻结配置类型 /// public enum eFreezePos_FreezeConfigType { /// /// 配售冻结(周期) /// FREEZEPOS_FREEZE_CONFIG_TYPE_RATION = 1, /// /// 转入冻结(成交量) /// FREEZEPOS_FREEZE_CONFIG_TYPE_IN_TRADE_QTY = 2, /// /// 转入冻结(成交额) /// FREEZEPOS_FREEZE_CONFIG_TYPE_IN_TRADE_AMOUNT = 3 } /// // 止盈止损操作类型 /// public enum eSPSL_OperateType { /// /// 止盈 /// SPSL_OPERATETYPE_SP = 1, /// /// 止损 /// SPSL_OPERATETYPE_SL = 2, /// /// 撤单 /// SPSL_OPERATETYPE_CANCEL = 3, /// /// 止盈止损 /// SPSL_OPERATETYPE_ALL = 4 } /// // 止盈止损价格类型 /// public enum eSPSL_PriceType { /// /// 最新价 /// SPSL_PRICETYPE_LAST = 1, /// /// 对手价 /// SPSL_PRICETYPE_OPP = 2, /// /// 市价 /// SPSL_PRICETYPE_MARKET = 3 } /// // 止盈止损触发类型 /// public enum eSPSL_TriggerType { /// /// 触发价 /// SPSL_TRIGGERTYPE_FIXED = 1, /// /// 追踪价差 /// SPSL_TRIGGERTYPE_DYNAMIC = 2 } /// // 止盈止损状态 /// public enum eSPSL_Status { /// /// 待触发 /// SPSL_STATUS_PENDING = 1, /// /// 已触发 /// SPSL_STATUS_SUCC = 2, /// /// 已撤销 /// SPSL_STATUS_CANCELED = 3, /// /// 已失效 /// SPSL_STATUS_INVALID = 4 } /// // 商品提货单状态 /// public enum eGoodsTakeOrderStatus { /// /// 未发货 /// GOODS_TAKEORDER_STATUS_UNSHIPPED = 1, /// /// 已发货 /// GOODS_TAKEORDER_STATUS_ALREADY = 2, /// /// 已收货 /// GOODS_TAKEORDER_STATUS_TAKE = 3 } /// // 风险率计算方式 /// public enum eRiskRateMode { /// /// 占用/净值 /// OCCUPYWORTH = 0, /// /// 净值/占用 /// WORTHOCCUPY = 1 } /// // 用户分组变更类型 /// public enum eUserGroupChangeType { /// /// 增加 /// USERGROUP_CHANGETYPE_ADD = 1, /// /// 修改 /// USERGROUP_CHANGETYPE_MODIFY = 2, /// /// 删除 /// USERGROUP_CHANGETYPE_DEL = 3 } /// // 用户分组变更范围 /// public enum eUserGroupNtfType { /// /// 分组信息变更 /// USERGROUP_NTFTYPE_INFO = 1, /// /// 分组明细变更 /// USERGROUP_NTFTYPE_DETAIL = 2 } /// // 订单路由方向 /// public enum eRoutingDirection { /// /// 正向 /// ROUTING_DIRECTION_FORWARD = 0, /// /// 反向 /// ROUTING_DIRECTION_REVERSE = 1 }