Binance icon

Binance

Consume Binance API

Spot → Order

AI-generated

Overview

This node interacts with the Binance API to place spot market orders. It supports buying, selling, or clearing orders for specified trading pairs (symbols) with defined quantities and prices. This node is useful for automated trading strategies, portfolio management, or executing trades programmatically on Binance's spot market.

Use Case Examples

  1. Automatically place a buy order for BTC/USDT when a certain market condition is met.
  2. Sell a specified quantity of ETH/USDT at a target price using an automated workflow.
  3. Clear existing spot orders for a given symbol to manage open positions.

Properties

Name Meaning
Side Specifies the type of order action: BUY to purchase, SELL to sell, or CLEAR to cancel existing orders.
Symbol Name or ID The trading pair symbol for the spot order, e.g., BTCUSDT. Can be selected from a list or specified via expression.
Quantity The amount of the asset to buy or sell. Required for BUY and SELL sides, hidden for CLEAR.
Price The price at which to place the order. Required for BUY and SELL sides, hidden for CLEAR.

Output

JSON

  • orderId - The unique identifier of the placed or cleared order.
  • symbol - The trading pair symbol for which the order was placed or cleared.
  • side - The side of the order: BUY, SELL, or CLEAR.
  • price - The price at which the order was placed (if applicable).
  • quantity - The quantity involved in the order (if applicable).
  • status - The status of the order after execution, e.g., filled, canceled.

Dependencies

  • Binance API with valid API credentials

Troubleshooting

  • Ensure API credentials are correctly configured and have necessary permissions for spot trading.
  • Verify that the symbol is valid and supported on Binance spot market.
  • Check that quantity and price values are positive numbers and conform to Binance's trading rules.
  • If clearing orders, ensure there are existing open orders for the specified symbol to clear.

Links

Discussion