-
Notifications
You must be signed in to change notification settings - Fork 48
/
txnsim.portfs.Rd
30 lines (24 loc) · 934 Bytes
/
txnsim.portfs.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/txnsim.R
\name{txnsim.portfs}
\alias{txnsim.portfs}
\title{convenience function to generate portfolios for txnsim replicates}
\usage{
txnsim.portfs(Portfolio, replacement, n, symbols, initDate, currency, initEq)
}
\arguments{
\item{Portfolio}{string identifying a portfolio}
\item{replacement}{sample with or without replacement, default TRUE}
\item{n}{number of simulations, default = 100}
\item{symbols}{character vector of symbol names}
\item{initDate}{initialization Date to use for replicate portfolios}
\item{currency}{base currency for replicate portfolios}
\item{initEq}{initial equity to use for replicate portfolios}
}
\description{
If you have a txnsim object and market data, you should be able to rebuild
the replicate portfolios. This function creates all those portfolios.
}
\seealso{
\code{\link{txnsim}}, \code{\link{txnsim.txns}}
}