New to tidyquant and having errors

This is my first day using tidyquant and I am trying to just pull some historical data of a few random stocks and am hitting this error. Somewhat new to R, but have no idea how the entire block is an used argument. Any suggestions on how to fix this?

GetMySymbols <- function(x) {GetMySymbols(x,
                                          src = "yahoo",
                                          from = "2015-06-30",
                                          to = "2020-12-31",
                                          auto.assign = FALSE)}
tickers <- c("AAPL", "FB", "GOOGL", "TSLA", "HOLX")
prices_adj <- map(tickers, GetMySymbols) 
Error in GetMySymbols(x, src = "yahoo", from = "2015-06-30", to = "2020-12-31",  : 
  unused arguments (src = "yahoo", from = "2015-06-30", to = "2020-12-31", auto.assign = FALSE)

tidyquant has no function called GetMySymbols() maybe you are confusing it with quantmod::getSymbols().

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.