setMarginMode
Change your Bybit account margin mode to isolated, regular, or portfolio. Returns failure reasons if the mode cannot be set.
Instructions
Set the account margin mode. Supports ISOLATED_MARGIN, REGULAR_MARGIN, and PORTFOLIO_MARGIN. Returns failure reasons if the mode cannot be set.
Rate limit: 5 req/s
Agent hint: Use this to change the account's margin mode. The setMarginMode field is required. Check the result.reasons array for failure details. Portfolio margin typically requires a minimum equity threshold (e.g., 1000 USDC). Use getAccountInfo first to check the current mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| setMarginMode | Yes |