riingo (version 0.1.0)

is_supported_ticker: Ticker information

Description

is_supported_ticker() can tell you if a given ticker is supported on Tiingo. supported_tickers() returns a tibble listing every available ticker.

Usage

is_supported_ticker(ticker, type = "tiingo")

supported_tickers(type = "tiingo")

Arguments

ticker

The single ticker to check for on Tiingo.

type

One of: "tiingo", "iex", or "crypto".

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
# VOO is supported on both Tiingo and IEX
is_supported_ticker("VOO")
is_supported_ticker("VOO", type = "iex")

# PRHSX is a mutual fund that is supported by Tiingo but not IEX
is_supported_ticker("PRHSX")
is_supported_ticker("PRHSX", type = "iex")

# BTCUSD is available
is_supported_ticker("btcusd", type = "crypto")

# }
# NOT RUN {
# }

Run the code above in your browser using DataLab