From fae2bc53d7baca6350ee457e623030ef9f2e2f37 Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Wed, 24 Dec 2025 13:34:11 +0800
Subject: [PATCH] fix(okxNewPrice): 修正K线数据获取逻辑
---
src/main/java/com/xcong/excoin/modules/okxNewPrice/okxpi/config/impl/ExchangeLoginEventServiceImpl.java | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
diff --git a/src/main/java/com/xcong/excoin/modules/okxNewPrice/okxpi/config/impl/ExchangeLoginEventServiceImpl.java b/src/main/java/com/xcong/excoin/modules/okxNewPrice/okxpi/config/impl/ExchangeLoginEventServiceImpl.java
index 3455210..3d781ed 100644
--- a/src/main/java/com/xcong/excoin/modules/okxNewPrice/okxpi/config/impl/ExchangeLoginEventServiceImpl.java
+++ b/src/main/java/com/xcong/excoin/modules/okxNewPrice/okxpi/config/impl/ExchangeLoginEventServiceImpl.java
@@ -166,15 +166,4 @@
return OKXAccount.requestHandler.sendSignedRequest(OKXAccount.baseUrl, OKXContants.TICKER, parameters, HttpMethod.GET, OKXAccount.isSimluate());
}
- public static void main(String[] args) {
- LinkedHashMap<String, Object> balanceParameters = new LinkedHashMap<>();
- String balance = ExchangeLoginService.getInstance(ExchangeInfoEnum.OKX_UAT.name()).balance(balanceParameters);
- JSONObject balanceJson = JSON.parseObject(balance);
- JSONObject data = balanceJson.getJSONArray("data").getJSONObject(0);
- JSONArray details = data.getJSONArray("details");
- System.out.println(balanceJson);
- System.out.println(data);
- System.out.println(details);
- }
-
}
--
Gitblit v1.9.1