portfolio: Portfolio Object Constructor function

Description Usage Arguments Value

View source: R/Portfolio.R

Description

Function creates a new S3 portfolio object. If activity list provided, activity is processed, the historical market value is calculated and the updated portfolio is returned

Usage

1
portfolio(name, activity = NULL)

Arguments

name

name of portfolio. requires string input

activity

optional list of historical portfolio activity

Value

portfolio object


chrishaarstick/madstork documentation built on Jan. 3, 2022, 8:34 p.m.