##### Scenario-based Portfolio Optimization (scenportopt)
##### (c)2013-2014 Ronald Hochreiter <ron@hochreiter.net>
##### http://www.finance-r.com/
# set momentum parameters
momentum <- function(model, nmomentum, nmomentum.short=NULL) {
model$momentum.long <- nmomentum
model$momentum.short <- nmomentum.short
return(model)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.