Loading ...

调用IO函数出错

Author: 15006127610, Created: 2018-10-19 11:18:23, Updated:

我按API文档中写的那样调用IO函数 调取OKEX合约信息

var ret = exchange.IO("api", “POST”, “/api/v1/future_position.do”, “symbol=eth_usd&contract_type=this_week”) Log(ret)

出错信息如下

2018-10-19 11:15:07 信息 false 2018-10-19 11:15:07 Futures_OKCoin 错误 Futures_OP 4: 20022

我是哪里出问题了,apikey也是用的v1的


More

botvsing https://github.com/okcoin-okex/API-docs-OKEx.com/blob/master/API-For-Futures-CN/%E5%90%88%E7%BA%A6%E4%BA%A4%E6%98%93%E9%94%99%E8%AF%AF%E4%BB%A3%E7%A0%81.md 接口调用错误(全仓模式调用全仓接口,逐仓模式调用逐仓接口)