Articles on: Trading Essentials

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.

While Binance and Bybit always track a single position in each direction, Altrady allows for multiple long and short positions for the purposes of: order management (smart orders) and analytics (smart positions and manual/"Futures" positions). The exchange will provide a single liquidation price that applies to all positions for the same direction on the same market.

Selecting the mode


Toggle between Hedge mode and One-way mode at the top of the Trading widget.
The options below will change according to the mode.
For BIFU and BYBIF, select the mode at the top of the Trading widget

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 One-way mode, disable Reduce-only when opening or increasing a position. And enable it when closing or reducing a position.

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

Controls depend on the mode: One way mode has Buy, Sell and Reduce-only.             Hedge mode has Open/Close and Long/Short

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.

If a bot attempts to open a position and one-way mode is enabled, one position per market will be enforced, even if the Max per market setting is 2.


See also:
Position Controls
Smart Orders
Webhook Signals
Signal Bot Settings
Trading widget

Updated on: 21/07/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!