This file contains hidden or 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
| body { | |
| background-color: #00FFAB; | |
| } | |
| #container { | |
| margin: auto; | |
| width: 600px; | |
| } | |
| #myCanvas { |
This file contains hidden or 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
| #Importation et installation des librairires utiles | |
| # 0.1 Instalation et chargement des packages | |
| install.packages("tidyquant") #Permet la construction de portefeuille et la manipulation des données financiéres | |
| install.packages("PortfolioAnalytics") #Permet le calcul des rendements et mesures de risques | |
| #Puis on les charges | |
| library("tidyquant") | |
| library("PortfolioAnalytics") | |
| # REMARQUE | |
| # On assume que il existe une variable xts du nom de portfolio_returns qui contient les retours MENSUELS du portefeuille à tester |
NewerOlder