whittlem / pycryptobot

Python Crypto Bot (PyCryptoBot)
Apache License 2.0
1.98k stars 743 forks source link

Market not found when using Binance sub accounts #833

Open zurololuigi opened 1 year ago

zurololuigi commented 1 year ago

When using Binance sub accounts the bot fails to start always returning 'Market not found' error either market you try to start.

Looking at the code the error is given by lines 116-118 in AppState.py:

image

It seems that on main account the df returned here is empty while on sub accounts it returns several info objects.

I've simply commented the lines for the seek of getting the bot working and it works without any problems.