Change position mode
POSTπ Trading
Switches a market's position mode between ONE_WAY (net position) and HEDGE (independent long and short positions).
Request Parametersβ
| Name | Type | Required | Description |
|---|---|---|---|
| symbol | String | Yes | Market symbol to configure (e.g. BTC-PERP). |
| positionMode | String | Yes | Target position mode: ONE_WAY (net position) or HEDGE (independent long and short positions). |
Response Contentβ
| Name | Type | Description |
|---|---|---|
| symbol | String | Market symbol that was updated (e.g. BTC-PERP). |
| timestamp | Long | Server timestamp of the response, in milliseconds since epoch. |
| status | Integer | Status code of the position-mode change. |
| type | Integer | Event type code of the response. |
example
POST
https://api.btse.com/futures/api/v3/trade/position_modeRequest (default)
{
"symbol": "BTC-PERP",
"positionMode": "ONE_WAY"
}
Response (default)
{
"symbol": "BTC-PERP",
"timestamp": 1784882344272,
"status": 134,
"type": 129
}