package com.xcong.excoin.common.enumerates; import lombok.Getter; /** * 合约历史订单 -- 平仓类型 * * @author wzy * @date 2020-06-01 **/ @Getter public enum OrderClosingTypeEnum { /** * 平多 */ CLOSE_MORE(2) /** * 平空 */ , CLOSE_LESS(3) /** * 爆仓平多 */ , BOMB_CLOSE_MORE(4) /** * 爆仓平空 */ , BOMB_CLOSE_LESS(5) /** * 止盈平多 */ , PROFIT_STOP_MORE(6) /** * 止盈平空 */ , PROFIT_STOP_LESS(7) /** * 止损平多 */ , LESS_STOP_MORE(8) /** * 止损平空 */ , LESS_STOP_LESS(9); /** * 平仓类型 */ private final int value; private OrderClosingTypeEnum(int value) { this.value = value; } }