Economic china retail sales monthly
Skill FTShare-Lab/FTShare-skills/ftshare-market-data/sub-skills/economic-china-retail-sales-monthly
FTShare Agent Skills for financial data and investment research workflows|金融数据 Skill 与投研业务 Skill 仓库。
npx -y skills add FTShare-Lab/FTShare-skills --skill economic-china-retail-sales-monthlyAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 17 stars17 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Get China retail sales of consumer goods monthly data (社会消费品零售总额 月度). Use when user asks about 社会消费品零售总额, 零售总额, 消费零售, 中国消费, China retail sales, 社零.
SKILL.md
2.1 KB, as published. Nobody here has run it
中国经济 - 社会消费品零售总额(月度)
1. 接口描述
| 项目 | 说明 |
|---|---|
| 接口名称 | 社会消费品零售总额(月度汇总计算结果) |
| 外部接口 | GET /api/v1/market/data/economic/china-retail-sales |
| 请求方式 | GET |
| 适用场景 | 获取中国社会消费品零售总额月度数据,含当月值、同比、累计及累计同比等 |
2. 请求参数
说明:该接口无需请求参数。
| 参数名 | 类型 | 是否必填 | 描述 | 取值示例 | 备注 |
|---|---|---|---|---|---|
| - | - | - | 无需参数 | - | - |
3. 用法
直接执行:
python script/handler.py
脚本输出 JSON 数组,按时间倒序,每项含 month(如 2025年03月份)、current(当月值)、yoy(同比 %)、cumulative(累计值)、cumulative_yoy(累计同比 %)、unit(亿元)、currency(CNY),以表格展示给用户。
4. 响应说明
返回值为社会消费品零售总额月度计算结果列表,按时间倒序。
RetailSalesComputed 结构
| 字段名 | 类型 | 是否可为空 | 说明 | 单位 |
|---|---|---|---|---|
| month | String | 否 | 月份,格式如 2025年03月份 | - |
| current | float | 是 | 当月值 | 见 unit |
| yoy | float | 是 | 同比增长 | % |
| cumulative | float | 是 | 累计值 | 见 unit |
| cumulative_yoy | float | 是 | 累计同比增长 | % |
| unit | String | 否 | 货币单位 | - |
| currency | String | 否 | 货币种类 | - |
5. 请求示例
GET /api/v1/market/data/economic/china-retail-sales
6. 注意事项
- 返回按月份汇总,格式如「2025年03月份」,列表已按时间倒序,最新月份在前。
- 金额单位见
unit(通常为亿元),同比单位为 %,各数值字段可为 null。