use StrEnum for RunMode

This commit is contained in:
Matthias 2024-05-31 20:36:18 +02:00
parent e6a562f74a
commit 5a0e0263d8

View File

@ -1,7 +1,7 @@
from enum import Enum
from enum import StrEnum
class RunMode(Enum):
class RunMode(StrEnum):
"""
Bot running mode (backtest, hyperopt, ...)
can be "live", "dry-run", "backtest", "edge", "hyperopt".