package cn.muchinfo.rma.view.base.app

/**
 * 期货下单的各种状态
 */
object FutureConstent {
    // 通道下单操作类型
    const val ChannelOperateType_ORDER = 1 // 正常下单
    const val ChannelOperateType_RISK = 2 // 斩仓
    const val ChannelOperateType_TRADE = 3 // 交易下单

    // 通道下单类型
    const val eChannelBuildType_OPEN = 1 // 建仓
    const val eChannelBuildType_CLOSE = 2 // 平仓

    const val PriceMode_PRICEMODE_MARKET = 1 // 市价
    const val PriceMode_PRICEMODE_LIMIT = 2 // 限价

    // 下单类型
    const val ValidTypeEnum_VALIDTYPE_DR = 1 // 当日有效
    const val ValidTypeEnum_VALIDTYPE_BZ = 2 // 本周有效
    const val ValidTypeEnum_VALIDTYPE_ZDRQ = 3 // 指定日期有效
    const val ValidTypeEnum_VALIDTYPE_YZ = 4 // 一直有效
    const val ValidTypeEnum_VALIDTYPE_GTT = 5 // 指定时间有效

    // 价格取价方式
    const val eOrderPriceSelectType_Opposite = 1 //对手价
    const val eOrderPriceSelectType_OppositeOne = 2 //对手价超一
    const val eOrderPriceSelectType_OppositeTwo = 3 // 对手价超二
    const val eOrderPriceSelectType_Last = 4 //最新价
    const val eOrderPriceSelectType_Market = 5 // 市价
    const val eOrderPriceSelectType_LimitHigh = 6 // 涨停价
    const val eOrderPriceSelectType_LimitLow = 7 // 跌停价
    const val eOrderPriceSelectType_BidPrice = 10 //指定价
    const val eOrderPriceSelectType_BuyOne = 11 //跟买一
    const val eOrderPriceSelectType_SellOne = 12 //跟卖一

}