Futures: Hedge Mode and One-way Mode
From V4.5, hedge mode integration is available on Binance **and **Bybit Futures exchanges.
**Kucoin **only offers one-way mode on the exchange (and also Altrady).
One-way mode only allows positions for one direction (long **or **short) at a time.
Unlike one-way mode, hedge mode allows positions for both directions (long and short) to run at the same time, or overlap.
Positions for each direction are managed separately on the exchange and in Altrady.
Introductory video for Hedge mode
Key Points
- In the Markets widget, select a pair from a Futures exchange. The Trading widget will then show options available for that exchange.
- Hedge mode is not offered for Kucoin Futures as this is not available on the exchange.
- Once hedge mode is enabled (on Altrady or the exchange), the Trading widget requires: Long or Short, Open or Close, instead of Buy and Sell.
- Each order placed will be allocated to the Long or Short direction, depending on the selection for the first order of the position.
- The same margin type and amount must be used for all positions in both directions on the same market.
- A signal bot only allows for one position per direction. If a position is already open on the account for the same side when the bot attempts to open a position, it will reject the signal, whether or not that signal bot opened the position.
Setting the mode
Toggle between Hedge mode and One-way mode at the top of the Trading widget.
- mode can vary per market
- when the mode is changed in Altrady, it is also updated on the exchange
- the default mode: 1/ for a market that has been traded previously, will be the most recent mode for that market 2/ for a market that has not been traded, will be the most recently set mode in the Trading widget. for example, if the mode is changed from one-way to hedge on BTC/USDT, then the ETH/USDT market is opened and ETH/USDT has not been traded previously, the mode will be set to hedge. It can be changed to one-way if desired.
- Mode cannot be updated in the signal bot or by webhook signal.
The options in the Trading widget will vary depending on the mode.
Trading widget controls for one way and hedge mode
- Margin type and amount are at the top left of the Trading widget, regardless of mode.
For hedge mode, positions in both directions must use the same margin type and amount.
- For One-way mode (image below, left):
- Select the Buy or Sell side before placing an order.
- The **balance **available for trading is shown under the Buy and Sell buttons. This is the leveraged amount. (See the wallet balance at the bottom of the Trading widget)
- To close or partially close a position with a regular order (not a smart order), enable Reduce-Only at the bottom of the trading widget.
- For Hedge mode (image below, right), if using regular (non-smart) orders choose:
- Open: to open a new position or increase an existing position
- Close: to close or decrease a position. This will automatically enable Reduce-only mode.
- Select the direction of the position that the order will belong to: The first order for a position must match the direction (Long for a buy order, Short for a Sell order).
- For smart orders, choose Open **and the **direction for the position.
- The **balance **available for trading is shown under the Long and Short buttons, and will depend on whether Open or Close is selected. When Close is selected, the amount shown is the current open position size for the selected direction. Selecting close is equivalent to enabling Reduce-only for one-way mode. The balance shown is the leveraged amount. (See also the wallet balance at the bottom of the Trading widget).
Note: Smart Orders manage Reduce-only status internally. Orders on the entry side will increase the size of smart position, while exit orders (TP and SL) will reduce the smart position.
See also: Introductory video for Hedge mode
Signal Bots and hedge mode
- Signal Bots also support hedge mode.
- The signal sent to a bot will specify whether the bot is to open a long or short position.
- Signal Bots cannot open a new position if one is already open in the same direction, whether or not is was opened by that signal bot.
- For webhook signal bots, an
increase
signal will increase the size of a position opened by the bot for the specified side. - The same signal bot can be used for both long and short directions if desired. Positions in each direction will be separate.
And for webhoook bots, they can be managed separately in signals by specifying the "side"
in the signal (defaults to "long"
).
Settings
For hedge mode, the Max per market bot setting can now take a value or 1 or 2 on futures bots. To allow hedged positions, the value should be 2.
A Signal Bot will not know whether hedge or one-way mode is enabled when a signal is received and a position is opened.
See also:
Position Controls
Smart Orders
Webhook Signals
Signal Bot Settings
Trading widget
Updated on: 17/10/2024
Thank you!