Closed altanalytics closed 4 years ago
Error in Price History function td_priceHistory
td_priceHistory(tickers = c("AAPL", "MSFT"), startDate = Sys.Date() - 30, endDate = Sys.Date(), freq = c('30min'), accessToken = NULL) Error: 400 - Bad request.
This error was from not setting option scipen to 999 before building the URL. This fix is in the development version on GitHub. Alternatively, you can set options using: options(scipen=999)
Error in Price History function td_priceHistory
td_priceHistory(tickers = c("AAPL", "MSFT"), startDate = Sys.Date() - 30, endDate = Sys.Date(), freq = c('30min'), accessToken = NULL) Error: 400 - Bad request.