View source: R/delete_orders.R
tn_cancel_order | R Documentation |
Cancel an order that has been placed using the testnet API.
tn_cancel_order(orderID = NULL, clOrdID = NULL, text = NULL)
orderID |
string. Order ID. |
clOrdID |
string. Optional client ID set when placing an order. |
text |
string. Optional cancellation annotation. e.g. 'Spread Exceeded'. |
Returns a data.frame
with details about the order that was cancelled.
See https://www.bitmex.com/api/explorer/#!/Order/Order_cancel for more information.
## Not run:
# Cancel an order
tn_cancel_order(clOrdID = "myorderid")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.