Minor edits found during review

This commit is contained in:
Matthias
2022-04-24 14:43:30 +02:00
parent 6623192108
commit 4de0fdbfca
2 changed files with 1 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ class StoplossGuard(IProtection):
ExitType.STOPLOSS_ON_EXCHANGE.value)
and trade.close_profit and trade.close_profit < 0)]
if self._only_per_side and side:
if self._only_per_side:
# Long or short trades only
trades = [trade for trade in trades if trade.trade_direction == side]