Description Usage Arguments Value
applyStoplossSig
will take the mktdata
object,
and will apply each stop loss signal specified in the strategy definition to it.
1 | applyStoplossSig(strategy, mktdata, parameters = NULL, ..., enabled = TRUE)
|
strategy |
an object of type 'strategy' to add the indicator to |
mktdata |
an xts object containing market data. depending on indicators, may need to be in OHLCV or BBO formats |
parameters |
named list of parameters to be applied during evaluation of the strategy |
... |
any other passthru parameters |
enabled |
TRUE/FALSE whether the signal is enabled for use in applying the strategy, default TRUE |
mktdata
with stop loss signal colums added.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.