Skip to main content
Set market leverage

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 leverage for a market.

accountId
string
required
instrument
Future · object
required

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

leverage
string
required

An exact decimal number encoded as a string.

Pattern: ^-?(?:0|[1-9][0-9]*)(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Response

Successful result

Success response; data holds the result.

data
Disabled · object
required

The account's current leverage in a market. Leveraged carries the multiple; Disabled means the market offers leverage but it is off for this account; Unknown means the host cannot report it.