From 0e44cd91d88b45058172a5ed6ab656d9174a434d Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 1 Jun 2024 08:43:04 +0200 Subject: [PATCH] StrEnum was only introduced in 3.11 . . . --- freqtrade/enums/runmode.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freqtrade/enums/runmode.py b/freqtrade/enums/runmode.py index 61409abf6..a24dd6e2c 100644 --- a/freqtrade/enums/runmode.py +++ b/freqtrade/enums/runmode.py @@ -1,7 +1,7 @@ -from enum import StrEnum +from enum import Enum -class RunMode(StrEnum): +class RunMode(str, Enum): """ Bot running mode (backtest, hyperopt, ...) can be "live", "dry-run", "backtest", "edge", "hyperopt".