stable/freqtrade/enums/backteststate.py

16 lines
238 B
Python
Raw Normal View History

2021-03-11 18:16:18 +00:00
from enum import Enum
class BacktestState(Enum):
"""
Bot application states
"""
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()}"