freqtrade_origin/freqtrade/enums/backteststate.py
2024-05-13 07:10:25 +02:00

17 lines
239 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()}"