From 9eed388bf3c07dc0ea24fb0637b4964c8e387437 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Mon, 22 Dec 2025 16:45:43 +0800
Subject: [PATCH] fix(symbols): 修复K线数据获取逻辑
---
src/main/java/com/xcong/excoin/modules/newPrice/ExchangeInfoEnum.java | 34 ++++++++++++++++++++++++++++++++++
1 files changed, 34 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/xcong/excoin/modules/newPrice/ExchangeInfoEnum.java b/src/main/java/com/xcong/excoin/modules/newPrice/ExchangeInfoEnum.java
new file mode 100644
index 0000000..248208a
--- /dev/null
+++ b/src/main/java/com/xcong/excoin/modules/newPrice/ExchangeInfoEnum.java
@@ -0,0 +1,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;
+ }
+}
--
Gitblit v1.9.1