Skip to content

Commit

Permalink
app: Initialize previous and current trendline breaking point.
Browse files Browse the repository at this point in the history
  • Loading branch information
srdeotarse committed May 6, 2022
1 parent 6fdd0b1 commit d5906de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ def __init__(self, symbols, data, flag='all'):
else:
self.flag = [flag]
self.data = data
self.previousTrendlineBreakingPoint = None
self.currentTrendlineBreakingPoint = None
self.previousTrendlineBreakingPoint = 0
self.currentTrendlineBreakingPoint = len(self.data) + 1
self.refinedTrendlines = {}
def getCurrentSymbol(self):
for symbol in self.symbols:
Expand Down

0 comments on commit d5906de

Please sign in to comment.