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’
麻烦大家看看程序是否有问题
发明者量化-小小梦 fee = exchange[1] , 注意, 交易所对象数组是 exchanges , 您少写了个 s 。 参看API 文档。