get_headers: return headers for API calls

View source: R/internal.R

get_headersR Documentation

return headers for API calls

Description

return headers for API calls

Usage

get_headers(live = get_live())

Arguments

live

TRUE / FALSE if you are connecting to a live account. Default to NULL, so it will use the key variables set by the user for their respective paper account. Set live = TRUE to find your live key credentials.

Value

The correct headers that will be sent in the API request.


yogat3ch/AlpacaforR documentation built on July 2, 2023, 10:48 a.m.