getDailyOHLCVQuoteMedia: Get stock daily OHLCV and it's adjusted price from QuoteMedia...

Description Usage Arguments Value

View source: R/getDailyOHLCV.R

Description

Get stock daily OHLCV and it's adjusted price from QuoteMedia EOD Prices

Usage

1
2
3
4
5
getDailyOHLCVQuoteMedia(dbcon_str, symbol = "AAPL",
  start_date = "1980-01-02", end_date = Sys.Date(),
  columns = c("adj.open", "adj.high", "adj.low", "adj.close",
  "adj.volume", "open", "high", "low", "close", "volume", "dividend",
  "split"), keep_symbol = TRUE)

Arguments

dbcon_str

Connection string for Sharadar or QuoteMedia.

symbol

Stock symbol.

start_date

Start date by "yyyy-mm-dd" format.

end_date

End date by "yyyy-mm-dd" format.

columns

Columns to retrieve. (Valid columns fro Sharadar = open, high, low, close, adj.open, adj.high, adj.low, adj.close, volume, dividend and lastupdated, for QuoteMedia = open, high, low, close, volume, adj.open, adj.high, adj.low, adj.close, adj.volume, dividend and split)

keep_symbol

whether to keep symbol column

Value

OHLCV and it's adjusted price by date as data.table format


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