SCM

SCM Repository

[blotter] View of /pkg/quantstrat/man/enable.rule.Rd
ViewVC logotype

View of /pkg/quantstrat/man/enable.rule.Rd

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1454 - (download) (as text) (annotate)
Sat May 4 22:48:51 2013 UTC (6 years, 7 months ago) by opentrades
File size: 920 byte(s)
- and here is the docs for enable.rule(); local svn conflict solved :-)

\name{enable.rule}
\alias{enable.rule}
\title{enable a rule in the strategy}
\usage{
  enable.rule(strategy,
    type = c(NULL, "risk", "order", "rebalance", "exit", "enter", "chain"),
    label, enabled = TRUE, store = FALSE)
}
\arguments{
  \item{strategy}{an object of type 'strategy' which
  contains the rule}

  \item{type}{one of
  "risk","order","rebalance","exit","enter","chain"}

  \item{label}{the label for the rule; grep will be used to
  match, so multiple rules may be enabled (disabled) as a
  result}

  \item{enabled}{TRUE/FALSE whether the rule is enabled for
  use in applying the strategy, default TRUE}

  \item{store}{TRUE/FALSE whether to store the updated
  strategy in the .strategy environment, or return it.
  default FALSE}
}
\description{
  function to make it easy to enable (or disable) a
  specific rule in a strategy
}
\seealso{
  \code{\link{add.rule}} \code{\link{applyStrategy}}
}


root@r-forge.r-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business Powered By FusionForge