I'm very new to R and quantmod. I tried this with AAPL and it works really fine:
getSymbols(Symbols = "AAPL",
env = parent.frame(),
reload.Symbols = FALSE,
verbose = FALSE,
warnings = TRUE,
src = "yahoo",
symbol.lookup = TRUE,
auto.assign = getOption("getSymbols.auto.assign",TRUE))
chartSeries(AAPL)
But the same thing with bitcoin doesn't seem to work:
getSymbols(Symbols = "BTC-EUR",
env = parent.frame(),
reload.Symbols = FALSE,
verbose = FALSE,
warnings = TRUE,
src = "yahoo",
symbol.lookup = TRUE,
auto.assign = getOption("getSymbols.auto.assign",TRUE))
chartSeries(BTC-EUR)
I get this error:
Error in inherits(x, "xts") : object 'BTC' not found
I also tried chartSeries("BTC-EUR")
and I get this:
Error in try.xts(x, error = "chartSeries requires an xtsible object") : chartSeries requires an xtsible object
It does not work with the french CAC too from Yahoo.