Description Usage Arguments Author(s) See Also
Creates a distribution in paramset, where a distribution consists of the name of a variable in a strategy component plus a range of values for this variable.
1 2 | add.distribution(strategy, paramset.label, component.type, component.label,
variable, weight = NULL, label, store = TRUE)
|
strategy |
the name of the strategy object to add the distribution to |
paramset.label |
a label uniquely identifying the paramset within the strategy |
component.type |
one of c('indicator', 'signal', 'order', 'enter', 'exit', 'chain') |
component.label |
a label identifying the component. must be unique per component type |
variable |
the name of the variable in the component |
label |
a label uniquely identifying the distribution within the paramset |
weight |
vector |
store |
indicates whether to store the strategy in the .strategy environment |
Jan Humme
add.distribution.constraint
,
delete.paramset
, apply.paramset
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.