From 9807801c2307cc779c9ccc54afbe7df040b8eba6 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Wed, 13 May 2026 21:46:37 +0800
Subject: [PATCH] refactor(okxNewPrice): 账户配置

---
 src/main/java/com/xcong/excoin/modules/okxApi/OkxConfig.java |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/xcong/excoin/modules/okxApi/OkxConfig.java b/src/main/java/com/xcong/excoin/modules/okxApi/OkxConfig.java
index b9c4f7f..ccf2817 100644
--- a/src/main/java/com/xcong/excoin/modules/okxApi/OkxConfig.java
+++ b/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; }

--
Gitblit v1.9.1