Decentralised News · 2027 planning edition · Evidence reviewed 23 November 2026
What Matters
One-way mode generally nets opposite trades; a supported hedge mode can preserve long and short positions separately. Equal net price exposure does not guarantee equal gross positions, fees, risk limits or margin. Before sending an order, confirm the actual account mode and its position-side fields.
DN Alpha Thesis
When a hedge looks flat, reconstruct its gross and net exposure independently. A 2-BTC long paired with a 1.8-BTC short can have 3.8 BTC gross position quantity while presenting just 0.2 BTC of price-only net sensitivity. The margin and settlement engine, not the word ‘hedge’, determines the account obligations.
DN Gross-vs-Net Hedge Exposure Calculator
Compare two hypothetical simultaneous linear positions. Default values are original scenarios, not observed prices or recommendations.
Two opposite tickets can mean two very different accounts
A trader opens a 2-BTC perpetual long, then submits a 1.8-BTC short in the same contract. Under a one-way/netted position mode, the new sell typically reduces the existing long, leaving a 0.2-BTC long. Under a supported hedge mode, the trader may retain the original 2-BTC long and open a separate 1.8-BTC short. Net first-order price sensitivity can be similar, but gross position size, execution records, open orders and margin treatment can differ.
That difference is easy to miss in an agent or API integration. The trading intent ‘short 1.8 to hedge’ is not enough to know whether the instruction opens a new short or closes part of the long. The account’s actual mode and position-side parameters determine the correct interpretation.
This 2027 planning edition uses official Binance, OKX and Bybit rules checked on 23 November 2026. It does not claim one margin method is universally more efficient or recommend leveraged exposure.
One-way mode nets opposite activity
Binance’s hedge-mode guide explains that one-way mode permits one directional position under a single futures contract. Buying and selling the same contract affect the net position, rather than creating independent simultaneously held long and short tickets. With a 2-BTC long, executing a 1.8-BTC sell leaves a 0.2-BTC long under the simplified example, assuming no intervening orders or fees.
That does not make two opposite executions free. The sell can realize profit or loss on the amount closed and incur a fee, even though the net remaining position is small. The historical ledger still needs both fills. A small current position is not evidence of small historical turnover.
Hedge mode preserves two sides in a supported contract
In its documented hedge mode, Binance permits simultaneous long and short positions in the same eligible futures contract. This may suit strategies that need independent exits or distinct position management, but the presence of both sides is not proof they share margin or offset perfectly. An exchange’s position and risk calculations still apply.
Bybit’s V5 API enum reference uses positionIdx=0 for one-way, positionIdx=1 for the hedge-mode buy/long side and positionIdx=2 for the hedge-mode sell/short side. In a hedge-mode order, omitting the required side identifier can cause errors or an unintended interpretation. The correct field is part of an exact API product context, not a generic attribute to copy across venues.
OKX portfolio margin can constrain the choice
OKX’s V5 account mode documentation distinguishes net_mode from long_short_mode for futures and swaps under supported account configurations. Its portfolio-margin account mode supports net mode for these instruments. That directly contradicts any blanket advice that a trader can simply enable separate long and short tickets under every account mode.
OKX also requires posSide in long/short mode, with different side combinations for opening and closing each leg. For example, opening a short is a sell with short position side, while closing a short is a buy with short position side. A buy instruction without the correct position-side context is ambiguous as an intended trade, even if a user-facing strategy labels it ‘reduce risk’.
Gross exposure is not net exposure
Use a synthetic underlying price of 100,000 quote units per BTC. A 2-BTC long and 1.8-BTC short have a gross notional of (2 + 1.8) × 100,000 = 380,000 quote units, but a signed net of (2 − 1.8) × 100,000 = 20,000. A one-way account with just the resulting 0.2-BTC long has 20,000 of current gross and net position notional.
Equal net sensitivity does not mean equal accounting. The hedge-mode pair still has separate orders, two exit paths and potentially two streams of commissions or funding. If the two positions reference different indexes or currencies, even their first-order price sensitivities may not offset as assumed.
| Synthetic configuration | Long | Short | Gross notional | Net notional |
|---|---|---|---|---|
| Supported two-sided hedge mode | 2 BTC | 1.8 BTC | 380,000 CU | +20,000 CU |
| One-way net after sell | 0.2 BTC | 0 | 20,000 CU | +20,000 CU |
The P&L identity does not prove margin efficiency
If the price changes from 100,000 to 90,000 in the simple constant-quantity, linear-payoff scenario, the gross long P&L is 2 × (−10,000) = −20,000 while the short earns 1.8 × 10,000 = +18,000. Their signed combined P&L is −2,000 before costs, the same price-only change as a 0.2-BTC net long. This simplified relation does not establish that both positions could survive the path or that the account has the same transferable collateral.
Margin, maintenance tiers, mark-price rules, funding intervals and cross-asset collateral haircuts can make the actual outcomes different. In particular, two offsetting directions can still consume risk limits or require separate management. Use the live platform’s account margin and position data to assess operational suitability, not the difference between gross and net notional alone.
Fees are charged on what actually executes
Under an illustrative 0.05% commission on each opening leg, a 2-BTC opening long at 100,000 incurs 100 quote units and a separate 1.8-BTC opening short incurs 90, for 190 total. That is a synthetic entry-fee comparison, not a quote from Binance, OKX or Bybit. A netted sell that reduces the old long is also an execution and may incur a closing fee. Do not infer lifetime fee savings from the current net position value.
The worksheet calculates illustrative gross exposure, net exposure, a price-only P&L and gross entry-fee magnitude. It excludes closing commissions, funding, price spread, realized-P&L allocation, leverage, margin and liquidation. A third asset used as fee currency needs a separate ledger.
Funding and liquidation are not canceled by a label
A delta-neutral posture can still face funding payments on each leg, price-basis mismatch, loss of maintenance margin or separate liquidation triggers. The exact funding convention can differ even within one exchange as account and contract types change. A risk model that nets positions for price sensitivity but also nets all funding and fees to zero is unsupported.
Similarly, a strategy cannot infer ‘self-hedged, therefore cannot liquidate’. That statement ignores path risk, collateral use and venue mechanics. Our calculator deliberately refuses to produce a liquidation estimate from the inputs because a credible calculation would need the actual risk engine and account balances.
The API fields that should be preserved
Keep the account’s position mode, instrument, contract multiplier, positionIdx or posSide, order side, trade purpose, quantity, reduce-only flag, execution IDs and current position records. An order using one-way mode should be distinguishable from a hedge-mode order in both request and response data. If the mode is changed in a permitted workflow, log the effective transition rather than applying a new interpretation to historical trades.
Order acknowledgements remain separate from execution states. A correct side identifier does not guarantee that an order fills. After every executed leg, compute confirmed long, confirmed short and net exposure from the actual venue position state. Never assume that two requested opposites fully offset simply because their notional amounts are similar.
The operational decision, not a universal winner
- Verify exact account mode and whether the product supports independent long and short sides.
- Normalize all position units before comparing gross and net exposure.
- Use the documented open/close combination for the chosen mode and side; avoid guessing from strategy labels.
- Record separate execution, fee, funding and position states when two-sided mode applies.
- Check the live risk engine, maintenance requirements and collateral, rather than inferring survivability from price-only P&L.
- Document the authorized response if a hedge leg is rejected or only partly filled.
The defensible result is a mode-specific position record that shows what the account actually holds, what economic exposure remains and what has not been verified. Neither ‘hedge’ nor ‘net’ is a safety rating on its own.
Methodology and boundaries
Exchange documentation checked 23 November 2026; 2027 is the planning edition. Examples and calculator are hypothetical, matched linear-contract sensitivity illustrations, not account tests or margin estimates. The calculation excludes live margin tiers, liquidation, maker/taker classification, changing position sizes, basis, collateral haircuts, lending, funding and actual order routing. The source’s account-mode and instrument-specific rules supersede any simplified example. Corrections: press@decentralised.news with original source and date.
Frequently asked questions
Can I have a long and short in the same BTC perpetual at once?
Only when the specific venue, product and account mode supports simultaneous sides. One-way/net mode generally collapses opposite trading into one directional position.
Does a perfect hedge use no margin?
No universal rule supports that. Gross positions, margin engine, account mode, fees and risk limits can differ even when directional P&L approximately offsets.
What does Bybit positionIdx 1 or 2 mean?
In Bybit V5, 1 identifies the hedge-mode long/buy side and 2 the short/sell side; 0 identifies one-way mode. Confirm the actual endpoint and account mode.
Can OKX portfolio margin always use long/short mode?
No. The checked OKX API documentation limits portfolio-margin futures and swaps to net mode, although other supported account configurations offer a long/short mode.
Does the worksheet calculate liquidation?
No. It models simplified equal-contract linear exposures and illustrative entry fees; actual liquidation needs live venue margin parameters and account data.
Sources and verification
- Binance: What Is Hedge Mode? — One-way versus hedge-mode product behavior and supported account control.
- Binance: Hedge Mode Announcement — Historical introduction and account-mode constraints.
- Bybit API V5 Enum Definitions — positionIdx 0/1/2 semantics.
- Bybit API V5 Batch Place Order — Position-side requirements in hedge-mode order requests.
- OKX V5 Account/Trading API — net_mode versus long_short_mode, posSide and portfolio-margin restrictions.




