cURL
Account Management
private/change_margin_model
Changes the margin model for the authenticated account or a specified subaccount. Margin models determine how margin requirements are calculated (e.g., Standard Margin vs. Portfolio Margin).
Changing the margin model may affect margin requirements, available funds, and trading capabilities. Use the dry_run parameter to preview the impact of the change before applying it.
๐ Related Article: Margin types and usage
Scope: account:read_write
cURL
Query Parameters
Id of a (sub)account - by default current user id is used
Example:
1
Margin model
Available options:
cross_pm, cross_sm, segregated_pm, segregated_sm If true request returns the result without switching the margining model. Default: false
Example:
true