Name
切换OKEX_V5模拟盘交易终端插件
Author
小小梦
Strategy Description
当配置好OKEX V5交易所对象时(使用OKEX V5的模拟盘API KEY配置),由于没有切换模拟盘环境,会有如下报错:
{"msg":"Broker id of APIKey does not match current environment.","code":"50101"}
可以使用该插件切换,如图:
如果要切换回实盘环境,勾掉选项再次执行即可。
Source (javascript)
function main() {
exchange.IO("simulate", true)
return "已经切换为OKEX V5模拟盘"
}
Detail
https://www.fmz.com/strategy/288769
Last Modified
2021-06-08 15:08:47