quantmod adjustOHLC function - dividend adjusted prices
问题 I need help in explaining a discrepancy in dividend adjusted prices using quantmod::adjustOHLC . Get adjusted and unadjusted prices for AAPL: library(quantmod) getSymbols("AAPL") AAPL.adjusted <- adjustOHLC(AAPL, adjust=c("dividend"), symbol.name="AAPL") Last dividend for AAPL was on 2016-08-04 for 0.57 cents. div <- getDividends("AAPL", from = "1900-01-01") tail(div) # [,1] # 2015-05-07 0.52 # 2015-08-06 0.52 # 2015-11-05 0.52 # 2016-02-04 0.52 # 2016-05-05 0.57 # 2016-08-04 0.57 For the