getDataByColumn: Get all stock data of specified column and date range

Description Usage Arguments Value

View source: R/getDataByColumn.R

Description

Get all stock data of specified column and date range

Usage

1
2
getDataByColumn(sharadar.db, column = "adj.close",
  start.date = "2018-01-01", end.date = Sys.Date())

Arguments

sharadar.db

SHARADAR DB connection string

column

column to retrieve (valid columns = adj.open, adj.high, adj.low, adj.close, volume, dividend, close and lastupdated)

start.date

start date by "yyyy-mm-dd" format

end.date

end date by "yyyy-mm-dd" format

Value

All stock data of specified column as data.table format


tmk-c/myrlib documentation built on May 29, 2019, 1:44 p.m.