CyberPunkMetalHead / binance-trading-bot-new-coins

This Binance trading bot detects new coins as soon as they are listed on the Binance exchange and automatically places sell and buy orders. It comes with trailing stop loss and other features. If you like this project please consider donating via Brave.
MIT License
1.46k stars 269 forks source link

Error: `string indices must be integers` #20

Open pat-s opened 2 years ago

pat-s commented 2 years ago

I got the following error during the new listing of the GNO coin last night

New coins detected: ['symbol', 'price', 'symbol', 'price', 'symbol', 'price', 'symbol', 'price']
string indices must be integers

Any idea in which part of the script this might have occurred?

FYI: My currency was BNB with a 0.xxxx value. Are only integers allow here?

CyberPunkMetalHead commented 2 years ago

Are you running the latest commit? I can confirm that the bot successfully bought and sold GNO

pat-s commented 2 years ago

I applied one of the speed modifications from a user from the reddit post - maybe it was not fully perfect :)

Now resetted to HEAD and trying again 👍