av_get: Get financial data from the Alpha Vantage API

Description Usage Arguments Value See Also Examples

View source: R/av_get.R

Description

Get financial data from the Alpha Vantage API

Usage

1
av_get(symbol = NULL, av_fun, ...)

Arguments

symbol

A character string of an appropriate stock or fund. See parameter "symbol" in Alpha Vantage API documentation.

av_fun

A character string matching an appropriate Alpha Vantage "function". See parameter "function" in Alpha Vantage API documentation.

...

Additional parameters passed to the Alpha Vantage API. For a list of parameters, visit the Alpha Vantage API documentation.

Value

Returns a tibble of financial data

See Also

av_api_key()

Examples

1
2
3
4
5
## Not run: 
av_api_key("YOUR_API_KEY")
av_get(symbol = "MSFT", av_fun = "TIME_SERIES_INTRADAY", interval = "15min", outputsize = "full")

## End(Not run)

alphavantager documentation built on Sept. 3, 2017, 5:02 p.m.