Administrator
15 hours ago 75ffb97146a0a15d76ae4603ccf328eb9716d798
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
package com.xcong.excoin.modules.newPrice;
 
import lombok.Getter;
 
@Getter
public enum ExchangeInfoEnum {
 
    /**
     *      模拟盘
     *        String apiKey = "16c882b0-2853-46c5-8af0-5269e3218d72";
     *        String passphrase = "Zh12345@@";
     *        String secretKey = "A13F7BC5721DB6D1F492B0FC333D4D9C";
     */
    OKX_UAT("0769b50c-2c36-4310-8bd9-cad6bc6c9d8f",
            "7AF4A574BC44907CE76BBFF91F53852D",
            "Aa123456@",
            false);
 
    private final String apiKey;
 
    private final String secretKey;
 
    private final String passphrase;
 
//    @Setting(label = "账户类型", order = 40, type = FieldType.SELECT, options = {"实盘账户", "模拟账户"}, optionsVal = {"true", "false"})
    private final boolean accountType;
 
    ExchangeInfoEnum(String apiKey, String secretKey, String passphrase, boolean accountType) {
        this.apiKey = apiKey;
        this.secretKey = secretKey;
        this.passphrase = passphrase;
        this.accountType = accountType;
    }
}