Skip to contents

Cancel a Binance Spot order

Usage

spot_cancel_order(
  symbol,
  order_id = NULL,
  orig_client_order_id = NULL,
  new_client_order_id = NULL,
  cancel_restrictions = NULL,
  config = config_spot()
)

Arguments

symbol

Trading pair symbol, for example "BTCUSDT".

order_id

Optional exchange order ID.

orig_client_order_id

Optional client order ID.

new_client_order_id

Optional client order ID for the cancel request.

cancel_restrictions

Optional cancel restriction. One of "ONLY_NEW" or "ONLY_PARTIALLY_FILLED".

config

A spot configuration created by config_spot().

Value

A parsed list.