Back in undergrad, John Rundle taught a graduate "Econo-Physics" class where in one lesson we learned about portfolio managment using the eigen-vectors & eigen-values correlation matrix of stock returns. Here we create some fake data and make that caluation using numpy and pandas while visualizing using matplotlib and seaborn.
Nov 21, 2020