Administrator
17 hours ago 75ffb97146a0a15d76ae4603ccf328eb9716d798
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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);
}