合约产品列表
获取所有合约产品信息,可按合约类型筛选。
接口信息
- 方法:
GET - 路径:
/api/v1/futures/open-api/products
请求参数
| 参数 | 位置 | 类型 | 必填 | 说明 |
|---|---|---|---|---|
| type | query | int | 否 | 合约类型:1=美股,2=港股,3=数字货币;不传返回全部 |
请求示例
# 全部产品
GET /api/v1/futures/open-api/products
# 仅美股
GET /api/v1/futures/open-api/products?type=1
响应字段
| 字段 | 类型 | 说明 |
|---|---|---|
| code | int | 状态码,200 表示成功 |
| total | int | 产品总数 |
| data | array | 产品列表 |
data 数组元素字段:
| 字段 | 类型 | 说明 |
|---|---|---|
| symbol | string | 合约交易对 |
| name | string | 产品英文名称 |
| nameZh | string | 产品中文名称 |
| type | int | 合约类型:1=美股,2=港股,3=数字货币 |
| quoteSymbol | string | 计价币种(数字货币有效) |
| baseSymbol | string | 基础币种(数字货币有效) |
| pricePrecision | int | 价格精度(小数位数) |
| volPrecision | int | 数量精度(小数位数) |
| minOrderVolume | string | 最小下单数量 |
| maxOrderVolume | string | 最大下单数量 |
| leverageLevel | int | 最大杠杆倍数 |
| leverTypes | string | 可用杠杆档位,逗号分隔 |
| feeRateMaker | string | Maker 手续费率 |
| feeRateTaker | string | Taker 手续费率 |
| tradeStatus | int | 交易状态:1=正常 |
响应示例
{
"code": 200,
"total": 3,
"data": [
{
"symbol": "AAPL",
"name": "Apple Inc.",
"nameZh": "苹果公司",
"type": 1,
"quoteSymbol": "",
"baseSymbol": "",
"pricePrecision": 2,
"volPrecision": 0,
"minOrderVolume": "1",
"maxOrderVolume": "10000",
"leverageLevel": 50,
"leverTypes": "1,2,3,5,10,25,50",
"feeRateMaker": "0.00045",
"feeRateTaker": "0.0007",
"tradeStatus": 1
},
{
"symbol": "00700",
"name": "Tencent Holdings",
"nameZh": "腾讯控股",
"type": 2,
"quoteSymbol": "",
"baseSymbol": "",
"pricePrecision": 2,
"volPrecision": 0,
"minOrderVolume": "1",
"maxOrderVolume": "5000",
"leverageLevel": 10,
"leverTypes": "1,2,3,5,10",
"feeRateMaker": "0.00045",
"feeRateTaker": "0.0007",
"tradeStatus": 1
},
{
"symbol": "BTCUSDT",
"name": "Bitcoin",
"nameZh": "比特币",
"type": 3,
"quoteSymbol": "USDT",
"baseSymbol": "BTC",
"pricePrecision": 2,
"volPrecision": 4,
"minOrderVolume": "0.001",
"maxOrderVolume": "100",
"leverageLevel": 100,
"leverTypes": "1,2,3,5,10,20,50,100",
"feeRateMaker": "0.0002",
"feeRateTaker": "0.0005",
"tradeStatus": 1
}
]
}