Add entry_tag to leverage callback

closes #6929
This commit is contained in:
Matthias
2022-06-05 10:21:06 +02:00
parent 27bea580d4
commit a790bad1e4
7 changed files with 16 additions and 11 deletions

View File

@@ -615,6 +615,7 @@ def test_leverage_callback(default_conf, side) -> None:
proposed_leverage=1.0,
max_leverage=5.0,
side=side,
entry_tag=None,
) == 1
default_conf['strategy'] = CURRENT_TEST_STRATEGY
@@ -626,6 +627,7 @@ def test_leverage_callback(default_conf, side) -> None:
proposed_leverage=1.0,
max_leverage=5.0,
side=side,
entry_tag='entry_tag_test',
) == 3