跳到主要内容

Margin Mode

危险

Poloniex Futures v2 API It will gradually go offline later, and 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

ParamtypeDescription
symbolStringa 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

ParamtypeDescription
symbolStringa valid contract code. e.g. BTCUSDTPERP
marginTypeNumber0 (Isolated) or 1 (Cross)
Example:
  {
"code": "200000"
}