chore: simplify update code

This commit is contained in:
Matthias
2024-08-12 14:43:54 +02:00
parent 5773d1fd8d
commit b727e5ca1c

View File

@@ -1591,9 +1591,13 @@ def test_backtest_multi_pair_detail(
dataframe["exit_short"] = 0 dataframe["exit_short"] = 0
return dataframe return dataframe
default_conf_usdt["runmode"] = "backtest" default_conf_usdt.update(
default_conf_usdt["stoploss"] = -1.0 {
default_conf_usdt["minimal_roi"] = {"0": 100} "runmode": "backtest",
"stoploss": -1.0,
"minimal_roi": {"0": 100},
}
)
if use_detail: if use_detail:
default_conf_usdt["timeframe_detail"] = "1m" default_conf_usdt["timeframe_detail"] = "1m"