reteps/arbitrage-chances

TypeError: string indices must be integers

Closed this issue · 2 comments

Hi, i run the test cmd and get the following error:
Traceback (most recent call last):
File "./start", line 33, in
markets = cmc.markets(coin["id"])
TypeError: string indices must be integers

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "./start", line 35, in
markets = cmc.markets(coin["symbol"])
TypeError: string indices must be integers
I try to use the pymarketcap's ticker(100) directly, it seems the data structure outer is just data?
Is there anything wrong?
Thanks

i'll look into it!

another pymarketcap update broke it, i'll fix it.