The simple cumulative daily return is calculated by taking the cumulative product of the daily percentage change. This calculation is represented by the following equation:
This is calculated succinctly using the .cumprod() method:
It is now possible to plot cumulative returns to see how the various stocks compare in value over time: