Portfolio backtesting specifications

Share:

Description

Specifies portfolio backtesting objects.

Usage

1
2
3
       
## S4 method for signature 'fPFOLIOBACKTEST'
show(object)

Arguments

object

an S4 object of class fPFOLIOBACKTEST.

Details

Portfolio Backtest Specification:

The S4 class fPFOLIOBACKTEST specifies portfolio backtesting. The slots are:

@windows

a list, setting the windows function that defines the rolling windows, and the set of window specific parameters params. E.g The window horizon is set as a parameter horizon = "24m"

@strategy

a list, setting the portfolio strategy to implement during the backtest, and any strategy specific parameters are found in params.

@smoother

a list, specifying the smoothing style, given as a smoother function, and any smoother specific parameters are stored in the list params.

@messages

a list, any messages collected during the backtest

Value

portfolioBacktest returns an S4 object of class "fPFOLIOBACKTEST".

References

W\"urtz, D., Chalabi, Y., Chen W., Ellis A. (2009); Portfolio Optimization with R/Rmetrics, Rmetrics eBook, Rmetrics Association and Finance Online, Zurich.

Examples

1
2
3
4
5
6
7
8
9
## Specification - 
   spec <- portfolioBacktest()
   spec
   
## Structure -
   str(spec)
   
## Slot Names -
   slotNames(spec)