Skip to contents

Set Alpaca REST API key & secret

Usage

authenticate(key = NULL, secret = NULL)

Arguments

key

API key.

secret

API secret.

Examples

authenticate(
  key = Sys.getenv("ALPACA_KEY"),
  secret = Sys.getenv("ALPACA_SECRET_KEY")
)