Plot stock price and corresponding upper and lower Bollinger bands for the last 200 trading days.
plot_bbands.Rd
Plot stock price and corresponding upper and lower Bollinger bands for the last 200 trading days.
Arguments
- stock_ticker
string Ticker symbol of the stock for which the plot is created such as "MSFT"
Examples
plot_bbands("MSFT")
#> Rows: 9299 Columns: 8
#> ── Column specification ────────────────────────────────────────────────────────
#> Delimiter: ","
#> chr (1): symbol
#> dbl (6): open, high, low, close, volume, adjusted
#> date (1): date
#>
#> ℹ Use `spec()` to retrieve the full column specification for this data.
#> ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.