Skip to content

New Install - Error 'Dict' is not defined' #22

@ryny24

Description

@ryny24

I followed the README, and have the following error during backtesting. It's definitely possible I did something wrong. I'll keep digging.

2025-02-01 02:15:20,387 - freqtrade.resolvers.iresolver - WARNING - Could not import /home/user/freqtrade/user_data/strategies/ExampleLSTMStrategy.py due to 'name 'Dict' is not defined'
2025-02-01 02:15:20,391 - freqtrade - ERROR - Impossible to load Strategy 'ExampleLSTMStrategy'. This class does not exist or contains Python code errors.

freqtrade --version
Operating System:       Linux-6.8.12-5-pve-x86_64-with-glibc2.35
Python Version:         Python 3.10.12
CCXT Version:           4.4.50

Freqtrade Version: freqtrade 2025.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions