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.


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