package com.xcong.excoin.modules.newPrice; import java.util.LinkedHashMap; public interface ExchangeLoginEventService { /** * 获取交易产品基础信息 * 获取所有可交易产品的信息列表。 *

* GET /api/v5/public/instruments *
* * @param parameters LinkedHashedMap of String,Object pair * where String is the name of the parameter and Object is the value of the parameter *

* instType -- String 是 产品类型 SPOT:币币 MARGIN:币币杠杆 SWAP:永续合约 FUTURES:交割合约 OPTION:期权
* uly -- String 可选 标的指数,仅适用于交割/永续/期权,期权必填
* instFamily -- String 否 交易品种,仅适用于交割/永续/期权
* instId -- String 否 产品ID
* @return String * @see * https://www.okx.com/docs-v5/zh/#rest-api-public-data-get-instruments */ String exchangeInfo(LinkedHashMap parameters); String lineHistory(LinkedHashMap parameters); }