Рет қаралды 44
In our previous video we discussed how to download stock prices data using qountmod package and then we calculated weekly, monthly, yearly stock return using xts, tidyverse and tidyquant package. In this video we are going to discuss how to calculate portfolio return using xts package, tidyverse package and tidyquant package.
Download code and sample data
payhip.com/b/3HeVD
00:00 Load the data
1:55 Portfolio Return (Manually)
2:54 Portfolio Return using xts package
6:40 Portfolio Return using tidyverse package
10:03 Portfolio Return using tidyquant package
Website: thedatahall.com
As an Amazon Associate, I earn from qualifying purchases.