This returns only the most recent day of intraday data for the supplied ticker(s).

riingo_iex_latest(ticker, resample_frequency = "1min")

Arguments

ticker

One or more tickers to download data for from Tiingo. Can be a stock, mutual fund, or ETF. A character vector.

resample_frequency

For Tiingo data, a character specified as one of: "daily", "weekly", "monthly" or "annually".

For IEX data, a character specified at the "min" or "hour" frequencies in the form: "1min", "5min", or "2hour".

For Crypto data, a character specified at the "min", "hour" or "day" frequencies similar to IEX.

Examples

if (FALSE) { # The latest available day of intraday data for QQQ riingo_iex_latest("QQQ") riingo_iex_latest("QQQ", "1hour") }