This function plots a portfolio's historical ROI since inception or since last n days, with 2 moving average lines.
splot_roi(p, n_days = 365, historical = TRUE, ma = c(12, 50), save = FALSE)Dataframe. Result from daily_portfolio()
Integer. How many days back you want to see?
Boolean. Historical ROI metric? If not, ROI will be calculated locally for n_days parameter
Numeric Vector. Select 2 values for moving averages. Set to NA to turn this metric off
Boolean. Save plot into a local file?
ggplot object
Other Investment: 
daily_portfolio(),
daily_stocks(),
etf_sector(),
splot_change(),
splot_etf(),
splot_growth(),
splot_summary(),
splot_types(),
stocks_file(),
stocks_hist(),
stocks_obj(),
stocks_quote(),
stocks_report()
Other Investment Plots: 
splot_change(),
splot_etf(),
splot_growth(),
splot_summary(),
splot_types()