Helius
2020-06-08 0b41cffa071b82e96c53f9f0fc394259442e24d1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package com.xcong.excoin.common.enumerates;
 
import lombok.Getter;
 
/**
 * rabbit 价格操作类型枚举
 * 1:买入委托2:开多3:开空4:平多5:平空6:爆仓平多7:爆仓平空8:撤单9:止盈平多10:止盈平空11:止损平多12:止损平空
 *
 * @author helius
 */
@Getter
public enum RabbitPriceTypeEnum {
 
    /**
     * 委托开多
     */
    ENTRUST_OPEN_MORE(2)
    , ENTRUST_OPEN_LESS(3)
    , CLOSE_MORE_BOMB(6)
    , CLOSE_LESS_BOMB(7)
    , CLOSE_MORE_STOP_PROFIT(9)
    , CLOSE_LESS_STOP_PROFIT(10)
    , CLOSE_MORE_STOP_LESS(11)
    , CLOSE_LESS_STOP_LESS(12);
 
    private int value;
 
    private RabbitPriceTypeEnum(int value) {
        this.value = value;
    }
}