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
Id of a (sub)account - by default current user id is used
1
Margin model
cross_pm, cross_sm, segregated_pm, segregated_sm If true request returns the result without switching the margining model. Default: false
true