Learn R Programming

maRketSim (version 0.9.2)

fund: Create fund object

Description

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

Usage

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