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/ExchangeLoginEventService.java |   27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/xcong/excoin/modules/newPrice/ExchangeLoginEventService.java b/src/main/java/com/xcong/excoin/modules/newPrice/ExchangeLoginEventService.java
new file mode 100644
index 0000000..69f2932
--- /dev/null
+++ b/src/main/java/com/xcong/excoin/modules/newPrice/ExchangeLoginEventService.java
@@ -0,0 +1,27 @@
+package com.xcong.excoin.modules.newPrice;
+
+import java.util.LinkedHashMap;
+
+public interface ExchangeLoginEventService {
+    /**
+     * 获取交易产品基础信息
+     * 获取所有可交易产品的信息列表。
+     * <br><br>
+     * GET /api/v5/public/instruments
+     * <br>
+     *
+     * @param parameters LinkedHashedMap of String,Object pair
+     *                   where String is the name of the parameter and Object is the value of the parameter
+     *                   <br><br>
+     *                   instType	-- String	是	产品类型 SPOT:币币 MARGIN:币币杠杆 SWAP:永续合约 FUTURES:交割合约 OPTION:期权 <br>
+     *                   uly      -- String	可选	标的指数,仅适用于交割/永续/期权,期权必填 <br>
+     *                   instFamily -- String	否	交易品种,仅适用于交割/永续/期权 <br>
+     *                   instId -- String	否	产品ID <br>
+     * @return String
+     * @see <a href="https://www.okx.com/docs-v5/zh/#rest-api-public-data-get-instruments">
+     * https://www.okx.com/docs-v5/zh/#rest-api-public-data-get-instruments</a>
+     */
+    String exchangeInfo(LinkedHashMap<String, Object> parameters);
+
+    String lineHistory(LinkedHashMap<String, Object> parameters);
+}

--
Gitblit v1.9.1