Skip to main content

Contract data

Subscribe

{ "method": "sub.contract" }

Unsubscribe

{ "method": "unsub.contract" }

Sample data

{
"channel": "push.contract",
"data": {
"amountScale": 4,
"askLimitPriceRate": 0.2,
"baseCoin": "CLO",
"baseCoinName": "CLO",
"bidLimitPriceRate": 0.2,
"conceptPlate": [],
"conceptPlateId": [],
"contractSize": 10,
"depthStepList": ["0.0001", "0.001", "0.01", "0.1"],
"displayName": "CLO_USDT永续",
"displayNameEn": "CLO_USDT PERPETUAL",
"feeRateMode": "NORMAL",
"futureType": 1,
"indexOrigin": ["MEXC_FUTURE", "MEXC", "KUCOIN"],
"initialMarginRate": 0.02,
"isHidden": false,
"isHot": false,
"isNew": false,
"liquidationFeeRate": 0.0002,
"limitMaxVol": 9000,
"maintenanceMarginRate": 0.01,
"makerFeeRate": 0,
"maxLeverage": 50,
"maxNumOrders": [200, 50],
"maxVol": 9000,
"minLeverage": 1,
"minVol": 1,
"openingCountdownOption": 1,
"openingTime": 1760440200000,
"positionOpenType": 3,
"priceCoefficientVariation": 0.4,
"priceScale": 4,
"priceUnit": 0.0001,
"quoteCoin": "USDT",
"quoteCoinName": "USDT",
"riskBaseVol": 9000,
"riskIncrImr": 0.005,
"riskIncrMmr": 0.005,
"riskIncrVol": 9000,
"riskLevelLimit": 1,
"riskLimitMode": "INCREASE",
"riskLimitType": "BY_VOLUME",
"riskLongShortSwitch": 0,
"settleCoin": "USDT",
"state": 0,
"symbol": "CLO_USDT",
"takerFeeRate": 0.0002,
"triggerProtect": 0.1,
"volScale": 0,
"volUnit": 1
},
"symbol": "CLO_USDT",
"ts": 1760942212002
}

Get contract data; updates are pushed whenever there are changes.

Response fields:

FieldTypeDescription
symbolstringContract, e.g., BTC_USDT
displayNamestringDisplay name, e.g., BTC_USDT 永续
displayNameEnstringDisplay English name, e.g., BTC_USDT PERPETUAL
positionOpenTypeintOpen mode: 1 both cross & isolated; 2 cross; 3 isolated
baseCoinstringBase currency (e.g., BTC)
quoteCoinstringQuote currency (e.g., USDT)
baseCoinNamestringBase currency name
quoteCoinNamestringQuote currency name
futureTypeint1 PERPETUAL, 2 DAILY
settleCoinstringSettlement currency
contractSizedecimalContract size
minLeverageintMin leverage
maxLeverageintMax leverage
priceScaleintPrice decimals
volScaleintVolume decimals
amountScaleintAmount decimals
priceUnitdecimalMin price tick
volUnitdecimalMin volume step
minVoldecimalMin order size (contracts)
maxVoldecimalMax order size (contracts)
limitMaxVoldecimalMax size for limit orders
bidLimitPriceRatedecimalOrder price limit—seller
askLimitPriceRatedecimalOrder price limit—buyer
takerFeeRatedecimalTaker fee
makerFeeRatedecimalMaker fee
maintenanceMarginRatedecimalMaintenance margin rate
initialMarginRatedecimalInitial margin rate
riskBaseVoldecimalBase contracts for risk limit
riskIncrVoldecimalIncremental contracts
riskIncrMmrdecimalMMR increment
riskIncrImrdecimalIMR increment
riskLevelLimitdecimalNumber of risk tiers
priceCoefficientVariationdecimalFair vs index price deviation coefficient
stateint0 enabled, 1 deliver, 2 delivered, 3 delist, 4 paused
isNewbooleanNew contract tag
isHotbooleanHot contract tag
isHiddenbooleanHidden contract
triggerProtectdecimalPrice protection threshold
riskLongShortSwitchintSeparate long/short risk limits (0 off, 1 on)
riskBaseVolLongdecimalLong base contracts
riskIncrVolLongdecimalLong incremental contracts
riskBaseVolShortdecimalShort base contracts
riskIncrVolShortdecimalShort incremental contracts
openingCountdownOptionintOpening countdown option 1 - Display opening time and countdown 2 - Display opening time only 3 - Hide both opening time and countdown
openingTimelongOpening timestamp
liquidationFeeRatedecimalLiquidation fee rate
tieredDealAmountdecimalTiered turnover amount
tieredEffectiveDayintEffective days
tieredExcludeZeroFeebooleanExclude zero-fee turnover? (false no, true yes)
tieredAppointContractbooleanSpecify contracts? (false no, true yes)
tieredExcludeContractIdbooleanInclude/exclude contracts (false exclude, true include)