Overview
This node integrates with the KuCoin API to place new cryptocurrency trading orders. It supports creating limit or market orders with various customizable parameters such as order side (buy/sell), symbol, price, size, and optional advanced settings like time in force, self-trade prevention, and trade type (spot or margin). This node is useful for automating trading strategies, managing orders programmatically, or integrating KuCoin trading into larger workflows.
Use Case Examples
- Automatically place a buy order for ETH-BTC at a specified price and size.
- Create a sell market order with specific funds allocation.
- Set up an order with advanced options like post-only, hidden, or iceberg orders for more sophisticated trading.
Properties
| Name | Meaning |
|---|---|
| ClientOid | Unique order ID created by users to identify their orders, e.g., UUID. |
| Side | Order side indicating whether to buy or sell. |
| Symbol | A valid trading symbol code, e.g., ETH-BTC. |
| Price | Price per base currency for the order. |
| Size | Amount of base currency to buy or sell. |
| Add Optional Operations | Optional additional order parameters such as order type (limit or market), remark, self-trade prevention (STP), and trade type (spot or margin). |
| LIMIT ORDER PARAMETERS | Parameters specific to limit orders such as time in force, cancel after duration, post only flag, hidden order, and iceberg order. |
| MARKET ORDER PARAMETERS | Parameters specific to market orders such as size in base currency or funds in quote currency. |
Output
JSON
orderId- Unique identifier of the placed order returned by KuCoin.clientOid- Client-generated unique order ID.symbol- Trading symbol for the order.side- Order side, buy or sell.price- Price per base currency for the order.size- Amount of base currency to buy or sell.type- Order type, e.g., limit or market.status- Current status of the order.createdAt- Timestamp when the order was created.
Dependencies
- KuCoin API
- API key credential for authentication
Troubleshooting
- Ensure all required parameters (clientOid, side, symbol, price, size) are provided and valid to avoid request errors.
- Check API credentials and permissions if authentication fails.
- If the order type is market, ensure either size or funds is specified correctly.
- Be aware of KuCoin API rate limits to avoid request throttling.
- Error messages from the API will typically indicate missing or invalid parameters; review the error details to correct input.
Links
- KuCoin API Documentation - Place a New Order - Official KuCoin API documentation for placing new orders, detailing parameters and usage.