Fix minor "gotchas"

This commit is contained in:
Matthias
2021-12-26 15:29:10 +01:00
parent aa54592ec7
commit d3f3c49b13
3 changed files with 10 additions and 8 deletions

View File

@@ -4432,11 +4432,11 @@ def test_position_adjust(mocker, default_conf_usdt, fee) -> None:
assert order
assert order.order_id == '650'
def make_sure_its_651(*apos, **kwargs):
def make_sure_its_651(*args, **kwargs):
if apos[0] == '650':
if args[0] == '650':
return closed_successful_buy_order
if apos[0] == '651':
if args[0] == '651':
return open_dca_order_1
return None