Kucoin icon

Kucoin

Consume Kucoin API (v.0.2.3)

Overview

This node integrates with the Kucoin API to perform various order-related operations such as placing new orders, canceling orders, retrieving a specific order, and listing orders. It is useful for automating trading workflows on the Kucoin cryptocurrency exchange, allowing users to manage their orders programmatically within n8n workflows. For example, a user can automatically fetch the details of a specific order by its unique Order ID or cancel an existing order based on certain conditions.

Use Case Examples

  1. Retrieve details of a specific order by providing its Order ID.
  2. Place a new limit or market order with specified parameters like symbol, side, price, and size.
  3. Cancel an existing order using its Order ID.
  4. List orders filtered by trade type and optional parameters such as start and end times.

Properties

Name Meaning
OrderId Unique ID of the order to retrieve or cancel, required for operations like 'Get an order' and 'Cancel order'.

Output

JSON

  • orderId - The unique identifier of the order retrieved or affected.
  • status - The status of the order or the operation result.
  • message - Additional information or error messages related to the operation.

Dependencies

  • Kucoin API with API key, secret, and passphrase credentials required for authentication.

Troubleshooting

  • Common issues include authentication errors due to incorrect API key, secret, or passphrase. Ensure credentials are correctly configured.
  • Error messages related to invalid Order ID or unsupported operations may occur if parameters are incorrect or missing.
  • Timeouts or network errors can happen if the Kucoin API is unreachable; verify network connectivity and API status.

Links

Discussion