Skip to content

Commit

Permalink
Merge pull request #320 from quantopian/little-s-fix-1
Browse files Browse the repository at this point in the history
DOC: Small typo in docstring
  • Loading branch information
twiecki authored Sep 28, 2018
2 parents 477cd7e + 853342d commit 12e12c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions alphalens/performance.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,9 +335,9 @@ def factor_alpha_beta(factor_data,

def cumulative_returns(returns, period, freq=None):
"""
Builds cumulative returns from 'period' returns. This function simulate the
cumulative effect that a series of gains or losses (the 'retuns') have on
an original amount of capital over a period of time.
Builds cumulative returns from 'period' returns. This function simulates
the cumulative effect that a series of gains or losses (the 'returns')
have on an original amount of capital over a period of time.
if F is the frequency at which returns are computed (e.g. 1 day if
'returns' contains daily values) and N is the period for which the retuns
Expand Down

0 comments on commit 12e12c6

Please sign in to comment.