powered by
Cancel all orders that have been placed for a specific symbol, or use a filter to select specific orders.
cancel_all_orders(symbol = NULL, filter = NULL, text = NULL)
Returns a data.frame with information about the orders that were cancelled. See https://www.bitmex.com/api/explorer/#!/Order/Order_cancelAll for more information.
data.frame
string. Optional symbol. If provided, only cancels orders for that symbol.
string. Optional filter for cancellation. Use to only cancel some orders, e.g. '"side": "Buy"'.
string. Optional cancellation annotation. e.g. 'Spread Exceeded'.
if (FALSE) { # cancel all "Buy" orders cancel_all_orders(filter = '{"side": "Buy"}') }
Run the code above in your browser using DataLab