Binance icon

Binance

Consume Binance API

Overview

This node interacts with the Binance API to set leverage for futures trading. It allows users to specify a trading symbol (either by name or ID), the leverage amount, and the margin type (isolated or crossed). This is useful for traders who want to adjust their leverage settings on Binance futures positions programmatically within an automation workflow.

Use Case Examples

  1. Setting leverage to 20x on BTCUSDT futures with isolated margin.
  2. Changing leverage to 10x on ETHUSDT futures with crossed margin.

Properties

Name Meaning
Symbol Name or ID The trading symbol for the futures contract, selected from a list or specified by ID.
Leverage The leverage multiplier to apply, ranging from 1 to 75.
Margin Type The type of margin to use for the position, either ISOLATED or CROSSED.

Output

JSON

  • success - Indicates if the leverage change was successful.
  • symbol - The symbol for which leverage was set.
  • leverage - The leverage value that was applied.
  • marginType - The margin type used for the leverage setting.

Dependencies

  • Binance API with appropriate API key credentials

Troubleshooting

  • Ensure the Binance API credentials are correctly configured and have permissions for futures trading.
  • Verify the symbol is valid and supported by Binance futures.
  • Leverage must be between 1 and 75; values outside this range will cause errors.
  • Margin type must be either ISOLATED or CROSSED; invalid values will cause the request to fail.

Links

Discussion