Skip to content

Commit

Permalink
indicator/rsi: make update callback field private
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Jul 14, 2022
1 parent b2538b6 commit 8d8d9a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/indicator/rsi.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type RSI struct {
PreviousAvgGain float64

EndTime time.Time
UpdateCallbacks []func(value float64)
updateCallbacks []func(value float64)
}

func (inc *RSI) Update(price float64) {
Expand Down
4 changes: 2 additions & 2 deletions pkg/indicator/rsi_callbacks.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8d8d9a7

Please sign in to comment.