Skip to content

Commit

Permalink
fix: compilation issue in returns package
Browse files Browse the repository at this point in the history
  • Loading branch information
crhntr committed Sep 27, 2023
1 parent 3959a00 commit e590e00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion returns/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func (list List) AnnualizedTimeWeightedReturn() float64 {
}

func (list List) AnnualizedArithmeticReturn() float64 {
return calculations.AnnualizedArithmeticReturn(list.Values())
return calculations.AnnualizedArithmeticReturn(list.Values(), calculations.PeriodsPerYear)
}

func compareTimes(x, y time.Time) int {
Expand Down

0 comments on commit e590e00

Please sign in to comment.