Binance icon

Binance

Consume Binance API

Future → Leverage

AI-generated

Overview

This node operation allows users to set the leverage for a specified future trading symbol on the Binance platform. It is useful for traders who want to adjust their leverage to control risk and potential returns in futures trading. For example, a user can select a symbol like BTCUSDT and set the leverage to 20 with either an isolated or crossed margin type to manage their position size and margin requirements.

Use Case Examples

  1. Setting leverage to 20 for BTCUSDT future with isolated margin.
  2. Adjusting leverage to 10 for ETHUSDT future with crossed margin.

Properties

Name Meaning
Symbol Name or ID The trading symbol for the future contract to set leverage on. Can be selected from a list or specified by ID using an expression.
Leverage The leverage value to set for the selected future symbol. Must be a number between 1 and 75.
Margin Type The type of margin to use for the leverage setting, either ISOLATED or CROSSED.

Output

JSON

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

Dependencies

  • Binance API with appropriate credentials

Troubleshooting

  • Ensure the symbol is valid and supported for futures trading on Binance.
  • Leverage must be within the allowed range (1 to 75).
  • Margin type must be either ISOLATED or CROSSED.
  • API credentials must have permissions for futures trading operations.

Links

Discussion