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);
|
}
|