cb_close_order {rCoinbase}R Documentation

Futures: Cancel Order

Description

Futures: Cancel Order

Usage

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

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

Value

Cancel response data.frame status for a futures order

Examples

## Not run: 
  cb_close_order(product_id = "BIT-28JUL23-CDE")

## End(Not run)

[Package rCoinbase version 1.0.0 Index]