Learn R Programming

lares (version 4.7)

stocks_report: Portfolio's Full Report and Email

Description

This function lets the user create his portfolio's full report with plots and send it to an email with the HTML report attached

Usage

stocks_report(data = stocks_obj(), dir = NA, mail = FALSE,
  to = "laresbernardo@gmail.com", creds = NA)

Arguments

data

List. Results from stocks_obj()

dir

Character. Directory for HTML report output. If set to NA, current working directory will be used

mail

Boolean. Do you want to send an email with the report attached?

to

Character. Email to send the report to

creds

Character. Credential's user (see get_credentials) for sending mail

See Also

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