OKEX和OKCoin现货价格API

时间:2018-02-03 20:28:23

标签: json rest api

我对OKEX和OKCoin的现货价格APIS感兴趣

他们的API描述在这里:

https://www.okcoin.com/rest_api.html

https://www.okex.com/rest_api.html

所有价格REST API都需要市场参数(symbol = ...),例如:

获取https://www.okex.com/api/v1/ticker.do?symbol=ltc_btc

我的问题:是否有一个API以某种方式列出市场,我获得价格API的所有有效参数,如ltc_btc?我没有看到它。

1 个答案:

答案 0 :(得分:2)

据我了解,您需要一个在此交易所交易的符号列表。你可以在这里找到它: okcoin:https://www.okcoin.com/v2/markets/products okex:https://www.okex.com/v2/markets/products