freqtrade_origin/freqtrade/enums/backteststate.py

17 lines
239 B
Python
Raw Permalink Normal View History

2021-03-11 18:16:18 +00:00
from enum import Enum
class BacktestState(Enum):
"""
Bot application states
"""
2024-05-12 14:21:53 +00:00
2021-03-11 18:16:18 +00:00
STARTUP = 1
DATALOAD = 2
ANALYZE = 3
2021-03-21 14:56:36 +00:00
CONVERT = 4
BACKTEST = 5
2021-03-11 18:16:18 +00:00
def __str__(self):
return f"{self.name.lower()}"