Administrator
5 hours ago 9807801c2307cc779c9ccc54afbe7df040b8eba6
src/main/java/com/xcong/excoin/modules/okxApi/OkxConfig.java
@@ -60,6 +60,7 @@
    private final PnLPriceMode unrealizedPnlPriceMode;
    private final BigDecimal maxPosSize;
    private BigDecimal step;
    private Long instIdCode;
    private OkxConfig(Builder builder) {
        this.apiKey = builder.apiKey;
@@ -100,7 +101,7 @@
    public String getRestBaseUrl() {
        return isProduction
                ? "https://www.okx.com"
                : "https://www.okx.cab";
                : "https://www.okx.com";
    }
    // ==================== 认证信息 ====================
@@ -140,6 +141,9 @@
    public BigDecimal getStep() { return step; }
    public void setStep(BigDecimal step) { this.step = step; }
    public Long getInstIdCode() { return instIdCode; }
    public void setInstIdCode(Long instIdCode) { this.instIdCode = instIdCode; }
    // ==================== 环境 ====================
    public boolean isProduction() { return isProduction; }