Learn R Programming

lares (version 4.4)

stocks_objects: Portfolio's Calculations and Plots

Description

This function lets the user create his portfolio's calculations and plots for further study.

Usage

stocks_objects(data, cash_fix = 0, tax = 30, expenses = 7)

Arguments

data

List. Containing the following dataframes: portfolio, transactions, cash. They have to follow the original xlsx format

cash_fix

Numeric. If you wish to algebraically sum a value to your cash balance

tax

Numeric. How much does of your dividends does the taxes take? Range from 0 to 99

expenses

Numeric. How much does that bank or broker charges per transaction? Absolute value.