Skip to content

Hedging vs Netting

Each API key is created with a margin mode that matches your trading account configuration: hedging or netting. The mode is set automatically when you create the key and cannot be changed.

You can check your account’s margin mode via the margin_mode field returned by GET /v1/auth/status or GET /v1/account.

Multiple independent positions per symbol. You can hold simultaneous buy and sell positions on the same symbol. Each trade creates a new position with its own ticket.

  • All endpoints available including close-by
  • Partial close creates a reduced position (same ticket)
  • close-by nets two opposing positions, saving spread on the smaller side

One position per symbol. Opening a trade on a symbol where you already have a position modifies the existing position instead of creating a new one.

  • Buy 0.10 EURUSD + Buy 0.05 EURUSD = single Buy 0.15 position
  • Buy 0.10 EURUSD + Sell 0.10 EURUSD = position closed (net zero)
  • Buy 0.10 EURUSD + Sell 0.15 EURUSD = Sell 0.05 position (flipped)
  • close-by is not available — opposing positions cannot exist
EndpointHedgingNetting
/v1/tradeYesYes
/v1/closeYesYes
/v1/close-allYesYes
/v1/close-symbolYesYes
/v1/modifyYesYes
/v1/close-byYesNo (400)
/v1/reverseYesYes