List index out of range
gigomen opened this issue · comments
I am using the version 1.1.0. It's on the bot.py
Actually after implmenting --deleverage
and --avoidfees
I have also been seeing this message but the bot runs just fine, the orders are set. It seems that perhaps it is due to our position size being too small, so when the calculation is make to break take profit into increments there must be some error. I will look into it :) thank you for bug hunting!!
But to be clear, I do also see this error but still yielding great results orders are being placed as I would expect even with this error.
Not clear what this error message relates to in the code, I'll add some extra logging to each exception possibly to narrow it down. Initially looks like api isn't returning data or enough data from a request.
Sorry, the issue is probably resolved, I switched to the cloud
Great, closing for now - reopen if you come across it again :)