Retrieve ETF data from getsymbols function (quantmod)

ESPO.L = VANECK VECTORS UCITS ETFS PLC V (ESPO.L) Stock Historical Prices & Data - Yahoo Finance

Code used:
tickers = c("DIS", "GILD", "FB", "PCG", "ESPO.L")

from = "2017-01-01",
to = "2018-01-15",
periodicity = "daily",
src = "yahoo")

prices <- map(tickers,function(x) Ad(get(x)))
prices <- reduce(prices,merge)
colnames(prices) <- tickers


Warning: ESPO.L download failed; trying again.
Warning: Unable to import “ESPO.L”.
argument "conn" is missing, with no default

I'm trying to retrieve ESPO.L data from Yahoo Finance in a quick way, but I am not able to do so. Not a R wiz, so bare in mind that. Thank you for the help!

seems to me that ESPO.L isn't a stock symbol on the exchanges that quantmod knows about.

symbols <- stockSymbols()
tibble(symbols %>% filter(startsWith(Symbol,"ESP")))

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.