Set Alpha Vantage API Key

av_api_key(api_key)

Arguments

api_key

Optionally passed parameter to set Alpha Vantage api_key.

Value

Returns invisibly the currently set api_key

Details

A wrapper for alphavantager::av_api_key()

See also

tq_get() get = "alphavantager"

Examples

if (FALSE) { av_api_key(api_key = "foobar") }