Add progress tracking for backtesting

This commit is contained in:
Matthias
2021-03-11 19:16:18 +01:00
parent 06b6726029
commit 048008756f
5 changed files with 56 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
# flake8: noqa: F401
from freqtrade.enums.backteststate import BacktestState
from freqtrade.enums.rpcmessagetype import RPCMessageType
from freqtrade.enums.runmode import NON_UTIL_MODES, OPTIMIZE_MODES, TRADING_MODES, RunMode
from freqtrade.enums.selltype import SellType

View File

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