Type/to search
4
Follow
1
Followers
指数:请问一下okex合约的行情,不是有个指数嘛。这个指数能有api读吗?
Help
Created 2017-07-16 18:49:40  
 4
 2155

指数:请问一下okex合约的行情,不是有个指数嘛。这个指数能有api读吗?

如果有的话 ,js 和 python分别是啥函数?

Related Recommendations
Comment
All comments (4)

    好滴,我去查查 ok的api

    9 years ago

    img

    • 测试代码:

    javascript
    function main() { // OKEX 指数API https://www.okex.com/api/v1/future_index.do?symbol=btc_usd while(true){ try{ var ret = HttpQuery("https://www.okex.com/api/v1/future_index.do?symbol=btc_usd") LogStatus("OKEX指数:", JSON.parse(ret)) }catch(e){ Log(e) } Sleep(500); } }
    9 years ago

    好咧,多谢 哦。。

    9 years ago

    ^^ 不客气 ~

    9 years ago
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)