Helius
2020-06-01 4b844113469b203adc40f1e540de98612321f26e
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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;
    }
}