PyWaves/BlackBot

TypeError: string indices must be integers

BarabanovV opened this issue · 1 comments

[main]
node = https://nodes.wavesplatform.com
# select the network: testnet or mainnet
network = mainnet
matcher = https://nodes.wavesplatform.com
order_fee = 300000
order_lifetime = 86400

[account]
private_key = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

[market]
amount_asset = HZk1mbfuJpmxU1Fs4AX5MWLVYtctsNcg6e2C6VKqK8zk
price_asset = WAVES

[grid]
interval = 0.005
tranche_size = 50000000
grid_levels = 5
# base price calculation: LAST, BID, ASK, nnnnn (fixed constant price)
base = 2700000000
# grid type: SYMMEMTRIC, BIDS only, ASKS, only
type = symmetric

[logging]
logfile = bot.log

PyWaves 0.8.8
File "blackbot.py", line 122, in
BLACKBOT.cancelOpenOrders(PAIR)
File "/usr/local/lib/python3.5/dist-packages/pywaves/address.py", line 797, in cancelOpenOrders
status = order['status']
TypeError: string indices must be integers

where I wrong?

I found! problem in the base58. You need to roll back to pip install base58 == 0.2.5