# SHIBOR报价日度

- 接口：shibor_quote_daily
- 路径：/api/v1/market/data/shibor-quote-daily
- 方法：GET
- 描述：按日期范围查询 Shibor 报价行日度报价。
- 数据范围：多家报价行按官方发布节奏更新；不同报价行和期限可存在缺报或空值，接口不做跨行补齐、插值或前值填充。
- 单次限量：分页返回，默认 `page=1`、`page_size=100`，`page_size` 最大 1000。
- 提示：`bank` 为精确匹配；结果按 `bank`、`trade_date` 升序。

## 输入参数

| 名称 | 类型 | 必选 | 描述 |
|------|------|------|------|
| start_date | string | Y | 开始日期，格式 YYYYMMDD |
| end_date | string | Y | 结束日期，格式 YYYYMMDD，不能早于 start_date |
| bank | string | N | 报价行名称，精确匹配，不能是空白字符串 |
| page | integer | N | 页码，从 1 开始，默认 1 |
| page_size | integer | N | 每页数量，默认 100，范围 1–1000 |

## 输出参数

成功响应外层固定为 `code`、`message`、`data`：

| 名称 | 类型 | 默认显示 | 描述 |
|------|------|---------|------|
| code | integer | Y | 状态码。 |
| message | string | Y | 状态信息。 |
| data | object / null | Y | 成功时为业务数据对象；失败时为 `null`。其字段如下 |

data 对象：

| 名称 | 类型 | 默认显示 | 描述 |
|------|------|---------|------|
| pageNum | integer | Y | 当前页码 |
| pageSize | integer | Y | 每页条数 |
| total | integer | Y | 总记录数 |
| pages | integer | Y | 总页数 |
| records | array | Y | 报价记录列表 |

records 数组：

| 名称 | 类型 | 默认显示 | 描述 |
|------|------|---------|------|
| trade_date | string | Y | 交易日期 |
| bank | string | Y | 报价行名称 |
| bank_en | string | Y | 报价行英文名称 |
| on_rate | number | Y | 隔夜利率 |
| w1 | number | Y | 1 周利率 |
| w2 | number | Y | 2 周利率 |
| m1 | number | Y | 1 月利率 |
| m3 | number | Y | 3 月利率 |
| m6 | number | Y | 6 月利率 |
| m9 | number | Y | 9 月利率 |
| y1 | number | Y | 1 年利率 |

## 接口示例

```bash
curl -sS 'https://market.ft.tech/gateway/api/v1/market/data/shibor-quote-daily?start_date=20260701&end_date=20260731&bank=%E4%B8%AD%E5%9B%BD%E9%93%B6%E8%A1%8C'
```

Python（[`ftshare`](https://github.com/FTShare-Lab/FTShare-python-sdk.git) SDK，方法 `market.shibor_quote_daily`，默认返回 pandas `DataFrame`）：

```python
import ftshare as ft

market = ft.market_api()
df = market.shibor_quote_daily(start_date="20260630", end_date="20260630")
print(df)
```

## 数据样例

| trade_date | bank | on_rate | w1 | ... |
|------|------|------|------|-----|
| 2026-07-01 | ... | ... | ... | ... |
