Add progress tracking for backtesting
This commit is contained in:
@@ -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
|
||||
|
14
freqtrade/enums/backteststate.py
Normal file
14
freqtrade/enums/backteststate.py
Normal 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()}"
|
Reference in New Issue
Block a user