Administrator
2025-12-09 249ddecd3afeb12537edfef4d7a127ffe32f7b9f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.xcong.excoin.modules.okxNewPrice.okxpi.config;
 
import lombok.Data;
 
@Data
public abstract class Account {
    // 交易所的基URL
    public String baseUrl;
    // 处理HTTP请求的处理器
    public RequestHandler requestHandler;
    // 表示是否显示限制使用情况
    public boolean isSimluate;
 
    public Account(){}
 
    public Account(String baseUrl, String apiKey, String secretKey, String passPhrase,boolean isSimluate) {
        this.baseUrl = baseUrl;
        this.requestHandler = new RequestHandler(apiKey, secretKey,passPhrase);
        this.isSimluate = isSimluate;
    }
}