curl --request PUT \
--url 'https://api.sandbox.services.payward.com/v1/accounts/WVSD33HRMGSZUBM7/leverage-settings/perpetual/PF_ETHUSD' \
--header "API-Key: $PWS_API_KEY" \
--header "API-Timestamp: $PWS_API_TIMESTAMP" \
--header "API-Sign: $PWS_API_SIGN" \
--header 'Content-Type: application/json' \
--data '{"max_leverage":"5.25"}'Derivatives leverage
Set leverage settings
Available only for the International/EEA offering.
Set the maximum leverage for an instrument in a specific account.
For each open position’s current effective leverage, see effective_leverage in List open positions.
Changing leverage, including switching between isolated and cross margin, recalculates the margin required for existing positions and open orders.
For the user’s leverage limit, see max_leverage in Get user instrument or List user instruments. A setting within this limit may still be rejected by margin or risk checks.
For an explanation of isolated and cross margin, see Managing margin & liquidations in Multi-M trading.
PUT
/
v1
/
accounts
/
{account_id}
/
leverage-settings
/
{asset_type}
/
{symbol}
curl --request PUT \
--url 'https://api.sandbox.services.payward.com/v1/accounts/WVSD33HRMGSZUBM7/leverage-settings/perpetual/PF_ETHUSD' \
--header "API-Key: $PWS_API_KEY" \
--header "API-Timestamp: $PWS_API_TIMESTAMP" \
--header "API-Sign: $PWS_API_SIGN" \
--header 'Content-Type: application/json' \
--data '{"max_leverage":"5.25"}'Authorizations
Path Parameters
Body
application/json
Response
The leverage settings were updated.