Margin Mode
danger
Poloniex futures v1/v2 API will be officially offline on November 30, 2024. You can access the V3 API to provide you with a better trading experience.
Query Margin Mode
HTTP Request
GET https://futures-api.poloniex.com/api/v1/marginType/query
Example
GET https://futures-api.poloniex.com/api/v1/marginType/query?symbol=BTCUSDTPERP
API Permission
This endpoint requires the Trade permission
Parameters
Param | type | Description |
---|---|---|
symbol | String | a valid contract code. e.g. BTCUSDTPERP |
Example:
{
"code": "200000",
"data": 1 // Margin Mode 0(Isolated) 1(Cross)
}
Change Margin Mode
HTTP Request
POST https://futures-api.poloniex.com/api/v1/marginType/change
API Permission
This endpoint requires the Trade permission
Parameters
Param | type | Description |
---|---|---|
symbol | String | a valid contract code. e.g. BTCUSDTPERP |
marginType | Number | 0 (Isolated) or 1 (Cross) |
Example:
{
"code": "200000"
}