av_api_key: Set Alpha Vantage API Key

View source: R/api-alphavantager.R

av_api_keyR Documentation

Set Alpha Vantage API Key

Description

Requires the alphavantager packager to use.

Usage

av_api_key(api_key)

Arguments

api_key

Optionally passed parameter to set Alpha Vantage api_key.

Details

A wrapper for alphavantager::av_api_key()

Value

Returns invisibly the currently set api_key

See Also

tq_get() get = "alphavantager"

Examples


## Not run: 
if (rlang::is_installed("alphavantager")) {
av_api_key(api_key = "foobar")
}

## End(Not run)


tidyquant documentation built on Sept. 11, 2024, 7:29 p.m.