Skip to content

Commit

Permalink
MNT: Fix flake8 warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
kernc committed Jun 25, 2019
1 parent d7c1328 commit 4ff626e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backtesting/test/_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,7 @@ def init(self):
a = self.I(SMA, self.data.Close, 5, overlay=True, color='red')
b = self.I(SMA, self.data.Close, 10, overlay=False, color='blue')
self.I(lambda: (a, b), overlay=False, color=('green', 'orange'))

def next(self):
pass

Expand All @@ -433,6 +434,7 @@ class S(Strategy):
def init(self):
self.I(SMA, self.data.Close, 5, overlay=True, scatter=True)
self.I(SMA, self.data.Close, 10, overlay=False, scatter=True)

def next(self):
pass

Expand Down

0 comments on commit 4ff626e

Please sign in to comment.