ticker_info: Ticker information

Description Usage Arguments Examples

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

1
2
3
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## 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")


## End(Not run)

business-science/riingo documentation built on May 29, 2019, 10:35 a.m.