Actions15
- Query Order (USER_DATA)
- Current Open Orders (USER_DATA)
- Query OCO (USER_DATA)
- Query all OCO (USER_DATA)
- Query Open OCO (USER_DATA)
- Account Information (USER_DATA)
- Account Trade List (USER_DATA)
- Query Current Order Count Usage (TRADE)
- Cancel an Existing Order and Send a New Order (TRADE)
- Cancel Order (TRADE)
- Cancel OCO (TRADE)
- All Orders (USER_DATA)
- New Order (TRADE)
- New OCO (TRADE)
- Cancel all Open Orders on a Symbol (TRADE)
Overview
This node interacts with the Binance API to perform various trading-related operations, specifically focusing on the 'Cancel all Open Orders on a Symbol' operation within the 'Default' resource. It allows users to cancel all open orders for a specified trading symbol on Binance. This is useful for traders who want to quickly clear all pending orders for a particular asset to manage risk or adjust their trading strategy. For example, a user might use this node to cancel all open buy and sell orders for BTCUSDT before placing new orders.
Use Case Examples
- Cancel all open orders for the BTCUSDT trading pair on Binance to prevent unintended trades.
- Clear all pending orders on a specific symbol before executing a new trading strategy.
Properties
| Name | Meaning |
|---|---|
| Symbol | The trading symbol (e.g., BTCUSDT) for which all open orders will be cancelled. This is a required string input. |
| Timestamp | The timestamp parameter used for the API request to ensure the request is valid and timely. This is a required number input. |
| Recv Window | An optional parameter specifying the number of milliseconds after timestamp the request is valid for. It cannot be greater than 60000. |
Output
JSON
symbol- The trading symbol for which orders were cancelled.timestamp- The timestamp used in the request.recvWindow- Optional parameter indicating the receive window for the request.result- The response from Binance API indicating the status of the cancellation of all open orders.
Dependencies
- Binance API
Troubleshooting
- Ensure the API key and secret used for authentication are correct and have the necessary permissions to cancel orders.
- Verify that the symbol provided is valid and currently has open orders to cancel.
- Check that the timestamp is accurate and synchronized with Binance server time to avoid request rejection due to timing issues.
- If the 'Recv Window' parameter is used, ensure it does not exceed 60000 milliseconds as per Binance API limits.
Links
- Binance API Documentation - Cancel all Open Orders on a Symbol (TRADE) - Official Binance API documentation for the cancel all open orders endpoint.