Update margin mode
This endpoint allows users to switch between isolated and cross margin modes for a specific trading pair. For open positions, users cannot change the margin mode.
POST /api/v1/account/marginOperation Type (for signing)
Header Field
Type
Content
Request Body
Field
Type
Need
Description
Example
{
"account": "42trU9A5...",
"symbol": "BTC",
"is_isolated": false,
"timestamp": 1716200000000,
"expiry_window": 30000,
"agent_wallet": "69trU9A5...",
"signature": "5j1Vy9Uq..."
}Response
Code Example (Python)
Last updated