bars_get: Retrieve market data from the respective API

bars_getR Documentation

Retrieve market data from the respective API

Description

Internal function for retrieving data from Alpaca API and outputting data.frame with query attribute. See notes on specifying arguments in the Details section for bars_complete.

Usage

bars_get(
  url,
  ...,
  evar = get0("evar", mode = "environment", envir = rlang::caller_env()),
  just_tibble = FALSE
)

Arguments

url

(character) the url rendered by bars_url

Value

(list) See market_data as the output is the same.


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