| backtest-portfolio | R Documentation | 
Tests a portfolio by a rolling backtest.
  
portfolioBacktesting(formula, data, spec = portfolioSpec(), 
    constraints = "LongOnly", backtest = portfolioBacktest(), 
    trace = TRUE)
portfolioSmoothing(object, backtest, trace = TRUE)    
formula | 
 a formula describing the benchmark and assets used for backtesting
in the form   | 
data | 
 an object of class   | 
spec | 
 an S4 object of class   | 
constraints | 
 a character string value or vector defining the constraints, for
details we refer to   | 
backtest | 
 an S4 object of class   | 
object | 
 a list as returned by the function   | 
trace | 
 a logical flag, by default TRUE. Should the backtersting be traced?  | 
W\"urtz, D., Chalabi, Y., Chen W., Ellis A. (2009); Portfolio Optimization with R/Rmetrics, Rmetrics eBook, Rmetrics Association and Finance Online, Zurich.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.