Learn R Programming

bitmexr (version 0.3.3)

tn_cancel_order: Cancel order (testnet)

Description

Cancel an order that has been placed using the testnet API.

Usage

tn_cancel_order(orderID = NULL, clOrdID = NULL, text = NULL)

Value

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.

Arguments

orderID

string. Order ID.

clOrdID

string. Optional client ID set when placing an order.

text

string. Optional cancellation annotation. e.g. 'Spread Exceeded'.

Examples

Run this code
if (FALSE) {
# Cancel an order
tn_cancel_order(clOrdID = "myorderid")
}

Run the code above in your browser using DataLab