md_stock_adjust {pedquant} | R Documentation |
adjust stock prices
Description
md_stock_adjust
adjusts the open, high, low and close stock prices.
Usage
md_stock_adjust(dt, forward = FALSE, ...)
Arguments
dt |
a list/dataframe of time series datasets that didnt adjust for split or dividend. |
forward |
forward adjust or backward adjust, defaults to FALSE. |
... |
Additional parameters. |
Examples
data("dt_banks")
dtadj1 = md_stock_adjust(dt_banks, adjust = FALSE)
dtadj2 = md_stock_adjust(dt_banks, adjust = TRUE)
[Package pedquant version 0.2.4 Index]