Learn R Programming

lares (version 4.7)

splot_change: Portfolio Plots: Daily Change

Description

This function plots each stock's change throught history, since inception, with weighted attributions or absolute values.

Usage

splot_change(p, s, weighted = TRUE, group = TRUE, save = FALSE)

Arguments

p

Dataframe. Result from daily_portfolio()

s

Dataframe. Result from daily_stocks()

weighted

Boolean. Should variation values be weighted to the portfolio (or simply compared with value since inception)?

group

Boolean. Group stocks by stocks type?

save

Boolean. Save plot into a local file?

See Also

Other Investment: daily_portfolio, daily_stocks, etf_sector, splot_etf, splot_growth, splot_roi, splot_summary, splot_types, stocks_file, stocks_hist, stocks_obj, stocks_report