Skip to content
forked from c9s/bbgo

Commit

Permalink
fix ewma kline window check
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Dec 3, 2020
1 parent 607656f commit 177607e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/indicator/ewma.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ func (inc *EWMA) handleKLineWindowUpdate(interval types.Interval, window types.K
return
}

if inc.EndTime != zeroTime && inc.EndTime.Before(inc.EndTime) {
return
}

inc.calculateAndUpdate(window)
}

Expand Down

0 comments on commit 177607e

Please sign in to comment.