Displaying 1 result from an estimated 1 matches for "my_api_key".
2018 Mar 15
1
Adjusting OHCL data via quantmod
...my OHCL data, my data will
be adjusted for splits, and split-adjusted dividends. (So, I can use
adjustOHLC(), with argument use.Adjusted = TRUE to adjust for splits, and
split-adjusted dividends)
Evidence:
###
library(quantmod)
#AV data
getSymbols("AAPL",src = "av" ,api.key = my_api_key
, adjusted = TRUE, output.size = "full") #supply your own api key
#Manual adjustments for splits, and split-adjusted dividends
close_av <- Cl(AAPL)
splits <- getSplits("AAPL")
dividends <- getDividends("AAPL", split.adjust = TRUE)
ratios_av <- a...