splot_change: Portfolio Plots: Daily Change

splot_changeR Documentation

Portfolio Plots: Daily Change

Description

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

Usage

splot_change(
  p,
  s,
  rel = TRUE,
  group = FALSE,
  n_days = 365,
  keep_old = FALSE,
  save = FALSE
)

Arguments

p

Dataframe. Result from daily_portfolio()

s

Dataframe. Result from daily_stocks()

rel

Boolean. Relative delta values (weighted with portfolio)? If not, absolute monetary delta values.

group

Boolean. Group stocks by stocks type?

n_days

Integer. How many days back you want to see? sold entirely?

keep_old

Boolean. Include sold tickers even though not currently in portfolio?

save

Boolean. Save plot into a local file?

Value

ggplot object

See Also

Other Investment: daily_portfolio(), daily_stocks(), etf_sector(), splot_divs(), splot_etf(), splot_growth(), splot_roi(), splot_summary(), splot_types(), stocks_file(), stocks_obj(), stocks_quote(), stocks_report()

Other Investment Plots: splot_divs(), splot_etf(), splot_growth(), splot_roi(), splot_summary(), splot_types()


lares documentation built on Nov. 5, 2023, 1:09 a.m.