Skip to content

Commit

Permalink
added blank space to fix lint issue kernc#223
Browse files Browse the repository at this point in the history
  • Loading branch information
zlpatel authored Jun 13, 2021
1 parent b045c7c commit 3ef557a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backtesting/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,7 @@ def next(self):
trade.sl = min(trade.sl or np.inf,
self.data.Close[index]*(1+(self._sl_percent/100)))


# Prevent pdoc3 documenting __init__ signature of Strategy subclasses
for cls in list(globals().values()):
if isinstance(cls, type) and issubclass(cls, Strategy):
Expand Down

0 comments on commit 3ef557a

Please sign in to comment.