fund: Create fund object

Description Usage Arguments Value

View source: R/objects.R

Description

Placeholder function. fund objects will eventually hold bonds, stocks, etc. and simulate mutual funds.

Usage

1
fund(holdings, price.history, div.history, expense.ratio = 0, index = "", name = NA, ...)

Arguments

holdings

list of holdings of fund

price.history

Price history

div.history

Dividend history

expense.ratio

Expense ratio

index

The index followed, if any

name

Name of fund

...

Pass-alongs

Value

a fund object


gsk3/maRketSim documentation built on May 17, 2019, 8:55 a.m.