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

Description Usage Arguments Examples

View source: R/latest.R

Description

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

Usage

1
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

1
2
3
4
5
6
7
8
9
## Not run: 

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

riingo_iex_latest("QQQ", "1hour")


## End(Not run)

riingo documentation built on Sept. 13, 2020, 5:15 p.m.