calculate_cumulative_return#
API documentation for tradeexecutor.visual.equity_curve.calculate_cumulative_return Python function.
- calculate_cumulative_return(returns)[source]#
Calculate cumulative returns for the equity curve.
See Cumulative return.
- Parameters:
returns (Series) –
The returns curve of a portfolio.
See
calculate_returns()
.- Returns:
Pandas DataFrame representing cumulative returns.
- Return type:
Series