latestOpenAPI 3.0.32026-08-10336178.7 KB

6b7d8bd51050

Trading

Update leverage

Update the leverage for a specific symbol.

Note: This affects new positions only. Existing positions are not modified.

post/v2/leverage

Request body

symbolstring required

Trading pair symbol

leverageinteger required

New leverage value

vault_idstring

Optional vault ID. When provided, updates leverage for the vault account. Caller must be the vault leader.

sub_account_idstring uuid

Optional active subaccount whose leverage should be updated. Mutually exclusive with vault_id.

Response

Leverage updated

leverageinteger

New leverage value

maxNotionalValuestring

Maximum notional value at this leverage

symbolstring

Trading pair symbol

request_idstring

Request correlation ID