Created
May 11, 2022 21:09
-
-
Save Zmey56/c98ea987d1ec80889b35771e2e5a8261 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return_data_2021 = data_2021.pct_change() | |
cum_daily_return = (1 + return_data_2021).cumprod() | |
var_matrix_2021 = return_data_2021.cov() | |
var_matrix_2021.head() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment