txnsim.portfs | R Documentation |
If you have a txnsim object and market data, you should be able to rebuild the replicate portfolios. This function creates all those portfolios.
txnsim.portfs(Portfolio, replacement, n, symbols, initDate, currency, initEq)
Portfolio |
string identifying a portfolio |
replacement |
sample with or without replacement, default TRUE |
n |
number of simulations, default = 100 |
symbols |
character vector of symbol names |
initDate |
initialization Date to use for replicate portfolios |
currency |
base currency for replicate portfolios |
initEq |
initial equity to use for replicate portfolios |
txnsim
, txnsim.txns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.