Skip to content

FOttStrategy Futures Strategy is very slow #261

Open
@FahadAziz

Description

@FahadAziz

Hi Gents

I have been trying to backtest and been dry running the strategy for two days now on a local Pi. The strategy is very slow and most of the bot logic (Updating prices, canceling orders etc.) do not happen as specified in the config file. For example, performance could be stuck for hours before it actually updates. I am running on the latest version (July 22) and Python 3.9. Also, backtesting takes ages before it actually finishes. I believe the bot get stuck at some point since I never see the heartbeat log line at all. Could anyone help optimize the code to run faster?

Thanks

https://github.com/freqtrade/freqtrade-strategies/blob/main/user_data/strategies/futures/FOttStrategy.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions