Report CLI
查询和下载券商研报的命令行工具。
使用方式一:Skill 安装(推荐)
安装
在 Agent 对话框里直接发送这句话,Agent 会自动下载并安装到对应目录:
请帮我安装 skill: https://raw.githubusercontent.com/manymore13/eastmoney/master/SKILL.md
适用于 Cursor、Cline、Codex、Claude Code 等支持 Skill 的 Agent 工具。
使用
安装后,直接用自然语言交互:
- "帮我查一下游戏行业的最新研报"(走
query,只查看) - "下载最近5篇策略报告"(走
download,下载PDF) - "贵州茅台有什么最新分析?"(走
query) - "把新能源行业的研报导出成表格"(走
query --save-csv)
Agent 会自动区分:用户说"查/看/了解"走
query,只有明确说"下载"才走download。
Agent 会自动识别关键词(研报、研究报告、行业分析、策略报告、宏观研究、券商晨报等)并调用本工具。
使用方式二:CLI 安装
pip install report-cli
命令一览
| 命令 | 说明 |
|---|---|
report -h |
帮助文档 |
report list |
列出所有行业 |
report list -s <关键词> |
搜索行业 |
report query -i <行业代码> |
查询行业研报 |
report query -t strategy |
查询策略报告 |
report query -t macro |
查询宏观研究 |
report query -t morning |
查询券商晨报 |
report query -t stock -c <股票代码> |
查询个股研报 |
report download -i <行业代码> -o <目录> |
下载研报 PDF |
使用示例
report list # 列出所有行业
report list -s 游戏 # 搜索行业
report query -i 1046 -s 5 # 游戏行业研报
report query -t strategy -s 10 # 策略报告
report query -t stock -c 600519 -s 5 # 茅台个股研报
report download -t strategy -s 5 -o ./reports # 下载PDF
report query -i 1046 -s 10 --save-csv # 导出CSV
主要参数
| 参数 | 说明 |
|---|---|
-t |
研报类型:industry / strategy / macro / morning / stock |
-i |
行业代码 |
-c |
股票代码 |
-s |
返回数量 |
-o |
输出目录 |
--begin / --end |
日期筛选(YYYY-MM-DD) |
--save-csv |
结果保存为 CSV |
License
MIT
Metadata
Release files for report-cli 1.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| report_cli-1.3.3.tar.gz | 17.5 kB | Without provenance | Details for report_cli-1.3.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| report_cli-1.3.3-py3-none-any.whl | Python 3 | none | any | Details for report_cli-1.3.3-py3-none-any.whl |
Total release size: 33.8 kB
Release files / report_cli-1.3.3.tar.gz
| Download URL | report_cli-1.3.3.tar.gz |
|---|---|
| Size | 17.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4592e15b3ba655c4321bc3fe218c5bf8e0b510270b3670898b8c52ceefe43d9c
|
|
BLAKE2b-256 checksum How to use checksums |
143383ed6a4d938b243d787dec96cdebfdaeb52f4cd7eea916398eb39d141529
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / report_cli-1.3.3-py3-none-any.whl
| Download URL | report_cli-1.3.3-py3-none-any.whl |
|---|---|
| Size | 16.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
31bcd1618bdba278fa336a7266a8d4093d4d7a241fad81e928d50e1888d0fdca
|
|
BLAKE2b-256 checksum How to use checksums |
4b0fa3d5d5094226cc7d0c8171e20de73700d1e2e42699a0e03c2f28afb14dec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Security for report-cli 1.3.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.