Update a few missed ruff format updates

This commit is contained in:
Matthias
2024-05-12 18:02:42 +02:00
parent 9d6e4ae67d
commit b97ff77d65
7 changed files with 15 additions and 12 deletions

View File

@@ -873,9 +873,9 @@ class Backtesting:
enter = row[SHORT_IDX] if trade.is_short else row[LONG_IDX]
exit_sig = row[ESHORT_IDX] if trade.is_short else row[ELONG_IDX]
exits = self.strategy.should_exit(
trade,
trade, # type: ignore
row[OPEN_IDX],
row[DATE_IDX].to_pydatetime(), # type: ignore
row[DATE_IDX].to_pydatetime(),
enter=enter,
exit_=exit_sig,
low=row[LOW_IDX],