md_stock_adjust | R Documentation |
md_stock_adjust
adjusts the open, high, low and close stock prices.
md_stock_adjust(dt, forward = FALSE, ...)
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. |
data("dt_banks")
dtadj1 = md_stock_adjust(dt_banks, adjust = FALSE)
dtadj2 = md_stock_adjust(dt_banks, adjust = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.