Type/to search
0
Follow
0
Followers
OKex现货获取账户信息,测试盘没问题,但在实盘上已经报错了。
FAQ
Created 2018-08-24 17:15:36  Updated 2018-10-17 10:17:18
 1
 2355

代码如下:
function main() {
exchange.SetTimeout(2000);
account = exchange.GetAccount();
Log("account:",account);
}

实盘运行换了好几个交易对如BTC_USDT,LTC_BTC等,均报错信息如下:
GetAccount: Ret: map[result:false error_code:10004]

确认代理无误,如果是换其他交易所代码能正常获取值。

Related Recommendations
Comment
All comments (1)

    https://github.com/okcoin-okex/API-docs-OKEx.com/blob/master/API-For-Spot-CN/币币交易错误代码.md
    这个是 OKEX 现货 API 文档 错误码
    更新一下 API KEY 试下, 前一段有这个问题 ,更新下就好了。

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