Type/to search
0
Follow
0
Followers
OKEX模拟盘无法使用
Help
Created 2021-03-25 00:12:41  Updated 2021-03-25 00:14:10
 5
 1895

OKEX的模拟盘是V5的API,在自己的VPS上部署了托管者(是最新版本),运行GetAccount等API会报错如下
{"error_message":"Please change to port v1 when you are using v1 apiKey. If you wish to use port v3, please register a v3 apiKey.","code":30016,"error_code":"30016","message":"Please change to port v1 when you are using v1 apiKey. If you wish to use port v3, please register a v3 apiKey."}
按照API文档设置exchange.IO("simulate", true),会报错Futures_OP 4: argument error,仍然是无法使用
执行的代码如下
function main() {
exchange.IO("simulate", true);
exchange.SetTimeout(2000);
Log(exchange.GetAccount());
}
如果有发明者官方人员看到了,麻烦给看看是不是平台还不支持或是其他原因?谢谢

Related Recommendations
Comment
All comments (5)

    需要更新托管者

    6 years ago

    已经是最新版本的托管者了

    6 years ago

    报错的意思应该是你申请的是v3 api, v5才支持模拟盘

    6 years ago

    好的

    6 years ago

    V5暂时不支持,先用V3

    6 years ago
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)