# 存款准备金率

- 接口：reserve_ratio_monthly
- 路径：/api/v1/market/data/economic/china-reserve-ratio
- 方法：GET
- 描述：查询中国人民币存款准备金率月度汇总计算结果。按日期返回中小型金融机构与大型金融机构的存款准备金率当月值。数据加载后按日期聚合，按年份（2000 年起）降序排列。响应为数组直出。无入参。
- 数据范围：宏观经济月度数据
- 单次限量：全量序列一次返回，无分页上限
- 提示：
  - `date` 格式化为中文月份标签（如「2025年12月」）。
  - 准备金率单位为百分比（%），缺失为 null。

## 输入参数

无。


## 输出参数
成功响应外层固定为 `code`、`message`、`data`：

| 名称 | 类型 | 默认显示 | 描述 |
|------|------|---------|------|
| code | integer | Y | 状态码 |
| message | string | Y | 成功固定为 `success`；失败时为中文错误信息 |
| data | array / null | Y | 成功时为业务数据数组；失败时为 `null`。 |


data 数组：

| 名称 | 类型 | 默认显示 | 描述 |
|------|------|---------|------|
| date | string | Y | 日期，中文月份标签如「2025年12月」 |
| reserve_ratio_small_medium | string | Y | 中小型金融机构存款准备金率（%） |
| reserve_ratio_large | string | Y | 大型金融机构存款准备金率（%） |

## 接口示例

```bash
curl -sS "https://market.ft.tech/gateway/api/v1/market/data/economic/china-reserve-ratio"
```

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

```python
import ftshare as ft

market = ft.market_api()

# 默认返回 DataFrame（全量存款准备金率历史序列）
df = market.reserve_ratio_monthly()
print(df)
#          date reserve_ratio_small_medium reserve_ratio_large
# 0  2026年06月                          6                   9
# 1  2026年05月                          6                   9

# 只取近期，按日期排序后取前若干行
recent = market.reserve_ratio_monthly().head(5)

# 返回原始 JSON（列表，未经 DataFrame 抽取）
rows = market.reserve_ratio_monthly(raw=True)
# rows[0] == {"date": "2026年06月", "reserve_ratio_small_medium": "6.0000", "reserve_ratio_large": "9.0000"}
```

## 数据样例

全量序列按日期降序返回，节选最近两期核心字段：

| date | reserve_ratio_small_medium | reserve_ratio_large |
|------|----------------------------|---------------------|
| 2026年06月 | 6.0000 | 9.0000 |
| 2026年05月 | 6.0000 | 9.0000 |
