maRketSim: Market simulator for R

maRketSim is a market simulator for R. It was initially designed around the bond market, with plans to expand to stocks. maRketSim is built around the idea of portfolios of fundamental objects. Therefore it is slow in its current incarnation, but allows you the flexibility of seeing exactly what is in your final results, since the objects are retained.

Install the latest version of this package by entering the following in R:
install.packages("maRketSim")
AuthorAri Friedman
Date of publication2013-07-17 07:13:19
MaintainerAri Friedman <abfriedman@gmail.com>
LicenseGPL (>= 2)
Version0.9.2

View on CRAN

Man pages

aa: Functions to return the proportion of the portfolio in each...

as.data.frame.bond: Returns a data-frame summary of object.

cashflow: Functions to return cash-flows from bonds and portfolio...

count: Function to return the number of objects of different types...

createMarketObjs: Create fundamental market objects

current.market: Find current market object

current.portfolio.bond: Get portfolio.bond at time t

duration: Return the duration of a bond-type object

findDur: Find duration/maturity given interest rate and...

findPV: Find present/future value given simple inputs

fund: Create fund object

genHistory.market: Generate a history.market by applying a quoted function to...

genPortfolio.bond: Generate a portfolio of bond objects according to high-level...

history.account: history.account objects contain accounts over time

history.market: Creates a history.market object

market: Create a market object

market.rate: Return a market rate for a given maturity

maRketSim-package: maRketSim market simulator for R

plotting: maRketSim plotting functions

print.market: Display characteristics of maRketSim object on console

pv: Return the present/future value of an object under a given...

rebalance: Functions to rebalance accounts. Called by summary.account

rebal.function.default: Example rebal.function for use by rebalance()

summary.bond: Evaluate maRketSim object under new market conditions

summary.vasicek.discrete: Summarize a Vasicek model

Time: Functions to return time parameters of various maRketSim...

vasicek.discrete: Vasicek yield model in discrete time

VFITX_div: Vanguard Intermediate Treasury Data, as downloaded from Yahoo

VFITX_prices: Vanguard Intermediate Treasury Data, as downloaded from Yahoo

yield_curve: Functions relating to making yield curves

Functions

aa Man page
aa.account Man page
aa.default Man page
account Man page
as.data.frame.bond Man page
as.data.frame.history.account Man page
as.data.frame.portfolio.bond Man page
as.history.account Man page
as.history.account.sum.account Man page
bond Man page
cash Man page
cashflow Man page
cashflow.account Man page
cashflow.bond Man page
cashflow.cash Man page
cashflow.default Man page
cashflow.portfolio.bond Man page
connectTheDots Man page
count Man page
count.history.account Man page
current.market Man page
current.portfolio.bond Man page
duration Man page
duration.account Man page
duration.bond Man page
duration.cash Man page
duration.default Man page
duration.history.account Man page
duration.portfolio.bond Man page
duration.sum.account Man page
findDur Man page
findDur_ClosedForm Man page
findFV Man page
findMat Man page
findMaxDur Man page
findMaxMat Man page
findPV Man page
fund Man page
fv Man page
fv.bond Man page
fv.cash Man page
fv.default Man page
genHistory.market Man page
genPortfolio.bond Man page
history.account Man page
history.market Man page
issueTime Man page
issueTime.bond Man page
issueTime.default Man page
issueTime.portfolio.bond Man page
market Man page
market.bond Man page
market.rate Man page
maRketSim Man page
maRketSim-package Man page
matTime Man page
matTime.bond Man page
matTime.default Man page
matTime.portfolio.bond Man page
mktTime Man page
mktTime.account Man page
mktTime.default Man page
mktTime.history.account Man page
mktTime.market Man page
plot.history.account Man page
plot.history.market Man page
plot.sum.account Man page
plot.sum.vasicek.discrete Man page
plot.vasicek.discrete Man page
portfolio Man page
print.account Man page
print.bond Man page
print.cash Man page
print.history.account Man page
print.history.market Man page
print.market Man page
print.market.bond Man page
print.portfolio.bond Man page
print.sum.account Man page
print.sum.bond Man page
print.sum.market.bond Man page
print.sum.portfolio.bond Man page
pv Man page
pv.account Man page
pv.bond Man page
pv.cash Man page
pv.default Man page
pv.history.account Man page
pv.portfolio.bond Man page
read.yield.curve Man page
rebalance Man page
rebalance.account Man page
rebalance.default Man page
rebal.function.default Man page
summary.account Man page
summary.bond Man page
summary.market Man page
summary.market.bond Man page
summary.portfolio.bond Man page
summary.vasicek.discrete Man page
vasicek.discrete Man page
VFITX_div Man page
VFITX_prices Man page

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.