Merge branch 'develop' into Error-Skipping

This commit is contained in:
Aleksey Savin 2024-06-01 17:01:47 +03:00
commit 7a04f876c3
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
from enum import StrEnum
from enum import Enum
class RunMode(StrEnum):
class RunMode(str, Enum):
"""
Bot running mode (backtest, hyperopt, ...)
can be "live", "dry-run", "backtest", "edge", "hyperopt".

View File

@ -50,6 +50,7 @@ def freqai_conf(default_conf, tmp_path):
freqaiconf.update(
{
"datadir": Path(default_conf["datadir"]),
"runmode": "backtest",
"strategy": "freqai_test_strat",
"user_data_dir": tmp_path,
"strategy-path": "freqtrade/tests/strategy/strats",