Skip to main content
Version: Next

Account Contract Config

Query the account configuration for a specified futures trading pair, including current leverage, margin mode, and available leverage tiers.

API Information

  • Method: GET
  • Path: /api/v1/futures/open-api/account/config

Request Parameters

ParameterTypeRequiredDescription
symbolstringYesFutures trading pair, e.g. AAPL

Request Example

GET /api/v1/futures/open-api/account/config?symbol=AAPL

Response Fields

FieldTypeDescription
codeintStatus code, 0 indicates success
data.idint64Config record ID
data.coTypeintContract type: 1=US stocks, 2=Hong Kong stocks, 3=Cryptocurrency
data.symbolstringFutures trading pair
data.leveragestringCurrent leverage multiplier
data.marginModeintCurrent margin mode: 1=Cross, 2=Isolated. The server uses this value when creating orders; do not pass it in the order request
data.leverTypesstringAvailable leverage tiers, comma-separated, e.g. "2,5,10,20"

Response Example

{
"code": 0,
"data": {
"id": 1,
"coType": 1,
"symbol": "AAPL",
"leverage": "10",
"marginMode": 1,
"leverTypes": "2,5,10,20"
}
}