Learn R Programming

lares (version 4.4)

portfolio_performance: Portfolio Overall Performance

Description

This function lets the user calculate portfolio performance

Usage

portfolio_performance(portfolio, daily)

Arguments

portfolio

Dataframe. Structure: "Symbol", "Stocks", "StockIniValue", "InvPerc", "Type", "Trans", "StartDate"

daily

Dataframe. Daily data