avatar of sorjor sorjor
关注 私信
0
关注
0
关注者

OKCoin查询提币费用出错

创建于: 2018-11-04 22:13:09, 更新于: 2019-04-17 16:37:01
comments   1
hits   1413

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

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

相关推荐
全部留言
avatar of 发明者量化-小小梦
发明者量化-小小梦
fee = exchange[1] , 注意, 交易所对象数组是 exchanges , 您少写了个 s 。 参看API 文档。
2018-11-05 09:27:59