Bonjour,
Ce code:
fonctionnait il y a quelque temps! Maintenant je reçois un message d'erreur sur get:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5 prices <- getSymbols(symbols, src = 'yahoo', from = "2016-10-05", to = today(), auto.assign = TRUE, warnings = FALSE) %>% map(~Ad(get(.))) %>% reduce(merge) %>% `colnames<-`(symbols)Je démarre avec symbols <- c(.....une liste de stock....)error in get(.) obet ...introuvable....
Normalement ce code allait chercher les colonnes nommées stock.Adjusted pour tous les stocks et les fusionnait en une entitée nommée "prices".
Ça ne fonctionne plus....pourquoi....toutes les library suivantes sont installées:
Je ne sais pas où est le problème?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 library(PerformanceAnalytics) library(zoo) library(tseries) library(boot) library(quadprog) library(highcharter) library(magrittr) library(tidyverse) library(tidyquant) library(timetk) library(tibbletime) library(dplyr) library(xts) library(lubridate) library(forecast) library(dygraphs) library(quantmod) library(ggplot2)
Merci de m'aider.
Jacques![]()
Partager