As described elsewhere in the documentation, quantstrat models orders. All orders in quantstrat are GTC orders, unless a time in force is specified, which means that unfilled limit orders have to be canceled manually or replaced by other orders.
ruleRevoke(data = mktdata, timestamp, sigcol, sigval, orderside = NULL,
orderset = NULL, portfolio, symbol, ruletype, ...)
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 coercible to POSIXct that will be the time the order will be inserted on
column name to check for signal
signal value to match against
one of either "long" or "short", default NULL, see details
tag to identify an orderset
text name of the portfolio to place orders in
identifier of the instrument to revoke orders for
must be 'risk' for ruleRevoke, see add.rule
any other passthru parameters
This function is used for revoking or canceling the orders based on a signal. Order status will be changed to 'revoked', to separate it from cancelations or replacements from other causes. This may make it easier it decipher the order book to figure out what the strategy ewas doing.