mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
StrEnum was only introduced in 3.11 . . .
This commit is contained in:
parent
5a0e0263d8
commit
0e44cd91d8
|
@ -1,7 +1,7 @@
|
||||||
from enum import StrEnum
|
from enum import Enum
|
||||||
|
|
||||||
|
|
||||||
class RunMode(StrEnum):
|
class RunMode(str, Enum):
|
||||||
"""
|
"""
|
||||||
Bot running mode (backtest, hyperopt, ...)
|
Bot running mode (backtest, hyperopt, ...)
|
||||||
can be "live", "dry-run", "backtest", "edge", "hyperopt".
|
can be "live", "dry-run", "backtest", "edge", "hyperopt".
|
||||||
|
|
Loading…
Reference in New Issue
Block a user