输入/搜索内容
0
关注
0
关注者
OKCoin查询提币费用出错
经验交流
创建于 2018-11-04 22:13:09  更新于 2019-04-17 16:37:01
 1
 1645

37 fee = exchange[1].IO("api","GET","/api/account/v3/withdrawal/fee","currency=btc")
#提币操作
39 tb = exchanges[1].IO('api','POST','/api/account/v3/withdrawal','currency=BTC&destination='+'4'
+'&amount=1'+'&to_address='+address+'&trade_pwd=xxxxxxxxx&fee='+fee)

报错信息:line 37, in getInfo AttributeError: ooOooo000oOO instance has no attribute 'getitem'

麻烦大家看看程序是否有问题

相关推荐
评论
全部评论 (1)

    fee = exchange[1] , 注意, 交易所对象数组是 exchanges , 您少写了个 s 。 参看API 文档。

    8 年前
  • 1
社区
回测系统
APP 下载
iPhone 下载
© 2015 - ∞ INVENTOR PTE LTD (SG)