Skip to main content

Product Info - symbol

Description

Send symbol snapshot immediately after first subscription.

Pushing Frequency

Real Time

Channel

symbol

Request Parameters

ParameterRequiredTypeDescription
eventYesStringOperation: subscribe, unsubscribe
channelYesStringsymbol
symbolsYesArraytrading pair array

Request Response:

ParameterTypeDescription
eventStringOperation: subscribe, unsubscribe
channelStringsymbol
symbolsArraytrading pair array
messageStringError message

Push Data

ParameterTypeDescription
channelStringsymbol
dataArrayThe subscribed data
> sStringA trading pair, consisting of two currencies: base currency and quote currency
> visibleSTStringVisible startTime
> tradableSTStringTradable startTime
> pxScaleStringPrice precision, with X decimal places retained.
> lotSzIntegerOrder size precision. The amount of futures trades is measured in Cont, while the amount of spot trades is measured in the base currency.
> minSzIntegerMinimum order size. The amount of futures trades is measured in Cont, while the amount of spot trades is measured in the base currency.
> ctValStringContract face value, e.g., 0.001 BTC (per contract) - applicable only to futures trading
> statusIntegerTrading status. 0: Delisted; 1: Listed; 2: Pending; 3: Settlement; 4: Suspended
> maxPxStringmaximum price of an order
> minPxStringminimum price of an order
> maxQtyStringMaximum size of an order
> minQtyStringMinimum size of an order
> maxLeverStringMaximum leverage
> leverStringDefault leverage
> ctTypeStringContract type
- Linear: linear futures
- Inverse: inverse futures
- Applicable only to Delivery/Perpetual
> aliasString
  • THIS_WEEK: This week
  • NEXT_WEEK: Next week
  • THIS_MONTH: This month
  • NEXT_MONTH: Next month
  • QUARTER:This quarter
  • NEXT_QUARTER: Next quarter
> bAssetStringUnderlying asset (e.g. BTCUSD index)
> bCcyStringBase currency - In the BTCUSDT trading pair, it is BTC.
> qCcyStringQuote currency - In the BTCUSDT trading pair, it is USDT.
> sCcyStringSettlement currency
> tSzStringTick size. The minimum price movement of a symbol in the market, e.g., it is 0.001 for BTC.
> oDateStringListing date
> iMStringInitial margin rate
> mMStringMaintenance margin rate
> mRStringMaximum risk limit
> tsLongPush time (millisecond)

Request Example

{
"event": "subscribe",
"channel": ["symbol"],
"symbols": ["BTC_USDT_PERP"]
}

Push Data Example

{
"channel": "symbol",
"data": [
{
"symbol": "BTC_USDT_PERP",
"visibleStartTime": "1584721775000",
"tradableStartTime": "1584721775000",
"pxScale": "0.01,0.1,1,10,100",
"lotSz": 1,
"minSz": 1,
"ctVal": "0.001",
"status": "OPEN",
"maxPx": "1000000",
"minPx": "0.01",
"maxQty": "1000000",
"minQty": "1",
"maxLever": "75",
"lever": "20",
"ctType": "LINEAR",
"alias": "",
"buyLmt": "",
"sellLmt": "",
"bAsset": ".PXBTUSDT",
"bCcy": "BTC",
"qCcy": "USDT",
"sCcy": "USDT",
"tSz": "0.01",
"oDate": "1547435912000",
"iM": "0.0133",
"mR": "5000",
"mM": "0.006"
}
],
"action": "snapshot"
}