getDTSymbols: Retrieve stock prices as data.table

View source: R/adjustment.R

getDTSymbolsR Documentation

Retrieve stock prices as data.table

Description

getDTSymbols adapts quantmod::getSymbols to convert results to data.table.

Usage

getDTSymbols(x, ..., cache = TRUE)

Arguments

x

A symbol or list of symbols to retrieve from Yahoo and adjust.

...

Additional arguments passed to quantmod::getSymbols.

cache

Whether to check cache for data before calling quantmod::getSymbols.

Value

A data.table of data for input symbols with adjustments.


e-mu-pi/adjustr documentation built on Sept. 26, 2024, 9:34 p.m.