donewiththedollar / directionalscalper

CCXT based algorithmic trading framework for Bybit and other CCXT supported exchanges

Home Page:https://quantumvoid.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

List index out of range

gigomen opened this issue · comments

изображение

Hello, I hope I wrote correctly. the lower part is updated for the first 10 seconds and then errors appear as in the screenshot, but at the same time transactions are opened, I'm not sure if it's correct. Maybe the problem is my location.

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 :)