Convert position_stacking to attribute of backtest

This commit is contained in:
Matthias
2022-10-16 17:14:23 +02:00
parent 8534dfb0d4
commit 6252ae466e
5 changed files with 11 additions and 25 deletions

View File

@@ -42,7 +42,6 @@ def test_backtest_position_adjustment(default_conf, fee, mocker, testdatadir) ->
start_date=min_date,
end_date=max_date,
max_open_trades=10,
position_stacking=False,
)
results = result['results']
assert not results.empty