跳到主要内容

CMC

CMC

现货行情

请求地址

GET /deepcoin/cmc/spotquery

请求参数

字段名是否必填类型说明
ProductGroupstring默认 Spot
PageSizeinteger每页数量
PageIndexinteger页码,从 1 开始

返回示例

{
"total_page": 1,
"current_page": 1,
"total_size": 1,
"data": [
{
"ExchangeID": "DeepCoin",
"InstrumentID": "BTC/USDT",
"ProductGroup": "Spot",
"LastPrice": 38700.5,
"Volume": 123.4,
"Turnover": 123456.7,
"BidPrice1": 38690.1,
"AskPrice1": 38710.2,
"OpenPrice": 39000,
"HighestPrice": 39200,
"LowestPrice": 38000,
"OpenInterest": 0,
"UnderlyingPrice": 0,
"MarkedPrice": 0,
"PrePositionFeeRate": 0,
"PrePositionFeeAmount": 0,
"UpdateTime": 1710000000
}
]
}

合约行情

请求地址

GET /deepcoin/cmc/swapquery

请求参数

字段名是否必填类型说明
ProductGroupstring默认 Swap
PageSizeinteger每页数量
PageIndexinteger页码,从 1 开始

返回示例

{
"total_page": 1,
"current_page": 1,
"total_size": 1,
"data": [
{
"ExchangeID": "DeepCoin",
"InstrumentID": "BTCUSDT",
"ProductGroup": "Swap",
"LastPrice": 38700.5,
"Volume": 123.4,
"Turnover": 123456.7,
"BidPrice1": 38690.1,
"AskPrice1": 38710.2,
"OpenPrice": 39000,
"HighestPrice": 39200,
"LowestPrice": 38000,
"OpenInterest": 1000,
"UnderlyingPrice": 38650,
"MarkedPrice": 38680,
"PrePositionFeeRate": 0,
"PrePositionFeeAmount": 0,
"UpdateTime": 1710000000
}
]
}