Skip to content

Commit 898969c

Browse files
authored
added blank line to fix lint issue kernc#223
1 parent 3ef557a commit 898969c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backtesting/lib.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,7 @@ def next(self):
451451
trade.sl = min(trade.sl or np.inf,
452452
self.data.Close[index] + self.__atr[index] * self.__n_atr)
453453

454+
454455
class PercentageTrailingStrategy(Strategy):
455456
"""
456457
A strategy with automatic trailing stop-loss, trailing the current

0 commit comments

Comments
 (0)