riingo_iex_latest {riingo}R Documentation

The latest day's worth of intraday data for a given ticker

Description

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

Usage

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


## Not run: 

# The latest available day of intraday data for QQQ
riingo_iex_latest("QQQ")

riingo_iex_latest("QQQ", "1hour")


## End(Not run)


[Package riingo version 0.3.1 Index]