OKEX模拟盘无法使用

Author: pfipdaniel, Created: 2021-03-25 00:12:41, Updated: 2021-03-25 00:14:10

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()); } 如果有发明者官方人员看到了,麻烦给看看是不是平台还不支持或是其他原因?谢谢


More

小草 需要更新托管者

pfipdaniel 好的

czgcool V5暂时不支持,先用V3

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

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