chart | R Documentation |
Chart a candlestick series of a stock price or cryptocurrency history. In blue/red is the long/short-term TEMA filter on either the close or adjusted close prices, and below is the volume.
chart( symbol, days_back = 120, tema_window = 50, period = "daily", adj = FALSE, envir = parent.frame() )
symbol |
the stock symbol |
days_back |
number of days back to view |
tema_window |
the TEMA moving window |
period |
"daily", "weekly", "monthly", "yearly" or "intraday", only for stocks. Coins return daily series only and this argument is ignored. |
adj |
whether to use adjusted close prices or not (boolean) |
envir |
environment to load stock data into |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.