test: fix type-problem in tests

This commit is contained in:
Matthias
2025-04-09 19:31:30 +02:00
parent 596f6711f3
commit 68fbab5c32

View File

@@ -19,8 +19,8 @@ def generate_mock_trade(
fee: float,
is_open: bool,
exit_reason: str = ExitType.EXIT_SIGNAL,
min_ago_open: int = None,
min_ago_close: int = None,
min_ago_open: int | None = None,
min_ago_close: int | None = None,
profit_rate: float = 0.9,
is_short: bool = False,
):