Usage
ruleRevoke(data = mktdata, timestamp, sigcol, sigval, orderside = NULL, orderset = NULL, portfolio, symbol, ruletype)
Arguments
data
an xts object containing market data.
depending on rules, may need to be in OHLCV or BBO
formats, and may include indicator and signal
information
timestamp
timestamp coercible to POSIXct that will
be the time the order will be inserted on
sigcol
column name to check for signal
sigval
signal value to match against
orderside
one of either "long" or "short", default
NULL, see details
orderset
tag to identify an orderset
portfolio
text name of the portfolio to place
orders in
symbol
identifier of the instrument to revoke
orders for
ruletype
must be 'risk' for ruleRevoke, see
add.rule