get_secret: Get an API secret from Environmental Variables

View source: R/Helpers.R

get_secretR Documentation

Get an API secret from Environmental Variables

Description

⁠APCA-[LIVE/PAPER]-SECRET⁠ are character vectors set in the Renviron file, see firstrun for details on setting up these credentials.

Usage

get_secret(live = get_live())

Arguments

live

(logical) Alpaca live setting

Value

(character) the requested secret


jagg19/AlpacaforR documentation built on July 3, 2023, 12:14 p.m.