Binance icon

Binance

Consume Binance API

Future → Order

AI-generated

Overview

This node interacts with the Binance API to manage futures orders. It supports placing buy or sell orders, clearing all orders, and retrieving open orders for a specified futures symbol. This is useful for automated trading strategies, portfolio management, or monitoring futures positions on Binance.

Use Case Examples

  1. Placing a buy order for a specific futures contract with a defined quantity and price.
  2. Selling a futures contract by specifying the symbol and quantity.
  3. Clearing all open futures orders for a given symbol.
  4. Retrieving all open futures orders to monitor current positions.

Properties

Name Meaning
Side Specifies the type of order action to perform: BUY, SELL, CLEAR (clear all orders), or GET (retrieve open orders).
Symbol Name or ID The futures symbol to operate on, selected from a list or specified by ID.
Quantity The quantity of the futures contract to buy or sell. Required for BUY and SELL operations.
Price The price at which to place the order. Required for BUY and SELL operations.
Reduce Only Boolean flag indicating if the order should only reduce an existing position. Applicable only for BUY and SELL operations.

Output

JSON

  • orderId - The unique identifier of the placed or retrieved order.
  • symbol - The futures symbol associated with the order.
  • side - The side of the order, either BUY or SELL.
  • price - The price at which the order was placed.
  • quantity - The quantity involved in the order.
  • status - The current status of the order, such as open, filled, or canceled.

Dependencies

  • Binance API key credential

Troubleshooting

  • Ensure the Binance API key credential is correctly configured and has permissions for futures trading.
  • Verify that the symbol specified is valid and supported by Binance futures.
  • Check that the quantity and price values are positive numbers and conform to Binance's trading rules.
  • If clearing orders, confirm that there are open orders to clear; otherwise, the operation may return no effect.
  • For retrieving open orders, ensure the account has active futures positions or orders to get meaningful results.

Links

Discussion