Coinbase icon

Coinbase

Interact with Coinbase Advanced Trade API

Actions9

Order → Get All

AI-generated

Overview

This node interacts with the Coinbase Advanced Trade API to manage orders. Specifically, the 'Order - Get All' operation retrieves all historical orders and fills associated with the user's Coinbase account. This is useful for users who want to fetch a comprehensive list of their past trading activity on Coinbase for analysis, reporting, or record-keeping.

Use Case Examples

  1. A trader wants to download all their past orders to analyze their trading performance.
  2. An accountant needs to retrieve all historical orders for financial auditing purposes.

Output

JSON

  • id - Unique identifier of the order
  • product_id - The product traded (e.g., BTC-USD)
  • side - Order side, either buy or sell
  • order_configuration - Details of the order configuration such as market or limit order specifics
  • status - Current status of the order
  • created_at - Timestamp when the order was created
  • updated_at - Timestamp when the order was last updated
  • fill_fees - Fees paid for fills on the order
  • filled_size - Amount of the order that has been filled
  • executed_value - Total value executed in the order
  • post_only - Indicates if the order was post-only (limit orders)

Dependencies

  • Coinbase API key credential required for authentication

Troubleshooting

  • Ensure that valid Coinbase API credentials are provided; otherwise, the node will throw a 'No credentials found!' error.
  • If the API request fails, the node throws a 'Coinbase API Error' with the message from the API response. Check network connectivity and API key permissions.
  • Invalid private key format errors may occur if the Coinbase private key is not correctly formatted with the required headers. Ensure the private key includes '-----BEGIN EC PRIVATE KEY-----' and '-----END EC PRIVATE KEY-----'.

Links

Discussion