CMC
CMC
现货行情
请求地址
GET /deepcoin/cmc/spotquery
请求参数
| 字段名 | 是否必填 | 类型 | 说明 |
|---|---|---|---|
| ProductGroup | 否 | string | 默认 Spot |
| PageSize | 否 | integer | 每页数量 |
| PageIndex | 否 | integer | 页码,从 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
请求参数
| 字段名 | 是否必填 | 类型 | 说明 |
|---|---|---|---|
| ProductGroup | 否 | string | 默认 Swap |
| PageSize | 否 | integer | 每页数量 |
| PageIndex | 否 | integer | 页码,从 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
}
]
}