top of page

Portfolio Returns

The project calculates the individual securities' and portfolio returns for a given timeframe and returns a normalized interactive chart to observe each security's performance better.

Getting historical data, measuring stock and portfolio returns, and defining a function to plot the chart:

Screen Shot 2022-09-12 at 13.20.39.png

My code to run the script above (tickers, timeframe and portfolio weights could be changed):

Screen Shot 2022-09-12 at 13.21.55.png

Final output where each security's and portfolio's returns are calculated and the normalized interactive chart is plotted:

Screen Shot 2022-09-12 at 13.21.39.png
bottom of page