Skip to main content
Set market position mode

Authorizations

X-API-KEY
string
header
required

Belongs to one tenant and reaches only that tenant's resources.

X-API-SECRET
string
header
required

Body

application/json

Sets the account's position mode for a market.

accountId
string
required
instrument
Future · object
required

An instrument, identified by its fields rather than a venue symbol.

mode
enum<string>
required

How a position holds its sides: Hedging keeps long and short apart, Netting nets them into one side.

Available options:
Hedging,
Netting

Response

Successful result

Success response; data holds the result.

data
object
required

The account's position mode for one market.