Kucoin icon

Kucoin

Consume Kucoin API (v.0.2.3)

Overview

This node interacts with the Kucoin API to manage cryptocurrency orders. Specifically, the 'Cancel all orders' operation allows users to cancel all open orders on their Kucoin account, optionally filtered by trade pair symbol and trade type (spot or margin trading). This is useful for traders who want to quickly cancel multiple orders without specifying each order individually, such as when market conditions change rapidly or to reset their trading strategy.

Use Case Examples

  1. Cancel all open spot trading orders on Kucoin.
  2. Cancel all open margin trading orders for a specific trading pair symbol.

Properties

Name Meaning
Add Optional Operations Optional parameters to refine the cancellation of orders, including filtering by symbol and trade type.

Output

JSON

  • orderId - The unique identifier of the canceled order.
  • status - The status of the cancellation request or the order after cancellation.
  • message - Any message returned by the API regarding the cancellation operation.

Dependencies

  • Requires Kucoin API credentials including API key, secret, and passphrase for authentication.

Troubleshooting

  • Ensure the API credentials are correctly configured and have the necessary permissions to cancel orders.
  • If the API returns errors related to invalid signatures or authentication, verify the API secret and passphrase are correct and match the Kucoin account settings.
  • If no orders are canceled, check that the optional filters (symbol, trade type) match existing open orders.
  • Common error messages include authentication failures, invalid parameters, or rate limiting by the Kucoin API. Handling these involves verifying credentials, adjusting parameters, and respecting API rate limits.

Links

Discussion