freqtrade_origin/freqtrade/enums/backteststate.py
2021-07-06 19:48:28 +02:00

16 lines
238 B
Python

from enum import Enum
class BacktestState(Enum):
"""
Bot application states
"""
STARTUP = 1
DATALOAD = 2
ANALYZE = 3
CONVERT = 4
BACKTEST = 5
def __str__(self):
return f"{self.name.lower()}"