updateOrders(portfolio, symbol, timespan, ordertype = NULL, side = NULL, qtysign = NULL, orderset = NULL, oldstatus = "open", newstatus, statustimestamp)
When a risk event or over-limit event happens, typically open orders will be 'revoked'. Possibly new orders will be added to close open positions. Many models will also want to run a process at the close of market that will cancel all open orders.
If orderset is passed to updateOrders, all orders with oldstatus for the orderset will be updated, regardless of their other parameters.
getOrders
getOrderBook