Coinbase icon

Coinbase

Interact with Coinbase Advanced Trade API

Actions9

Order → Cancel

AI-generated

Overview

This node interacts with the Coinbase Advanced Trade API to manage orders. Specifically, the 'Cancel' operation allows users to cancel an existing order by providing its Order ID. This is useful in trading scenarios where an order needs to be withdrawn before execution, such as when market conditions change or a mistake was made in the order placement.

Use Case Examples

  1. Cancel an open order by specifying its Order ID to prevent it from being executed.
  2. Use in automated trading workflows to manage and control active orders dynamically.

Properties

Name Meaning
Order ID The ID of the order to be cancelled, required to identify which order to cancel.

Output

JSON

  • order_ids - Array containing the IDs of the orders that were requested to be cancelled.
  • message - Response message from the Coinbase API regarding the cancellation request.

Dependencies

  • Requires an API key credential for Coinbase Advanced Trade API authentication.

Troubleshooting

  • Common issues include invalid or missing Order ID, which will cause the cancellation request to fail.
  • API authentication errors if the Coinbase API credentials are not set or invalid.
  • Network or API errors from Coinbase that may cause the request to fail; check error messages for details.

Links

Discussion