Learn R Programming

rCoinbase (version 1.0.0)

cb_close_order: Futures: Cancel Order

Description

Futures: Cancel Order

Usage

cb_close_order(client_order_id = cb_get_order_id(), product_id, size = NULL)

Value

Cancel response data.frame status for a futures order

Arguments

client_order_id

= defaults to random id via cb_get_order_id()

product_id

= futures contract to close

size

= number of contracts to close, defaults to closing all available

Examples

Run this code
if (FALSE) {
  cb_close_order(product_id = "BIT-28JUL23-CDE")
}

Run the code above in your browser using DataLab