Skip to main content

Tool for querying and downloading Eastmoney research reports

Project description

Report CLI

PyPI version

查询和下载券商研报的命令行工具。

使用方式一: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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

report_cli-1.3.2.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

report_cli-1.3.2-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file report_cli-1.3.2.tar.gz.

File metadata

  • Download URL: report_cli-1.3.2.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for report_cli-1.3.2.tar.gz
Algorithm Hash digest
SHA256 a6fad4081a77666d12963123b47da6a5d57737f8fd113da3281da3d6da69511f
MD5 870b7eba92e73065065f68ae58c39a2b
BLAKE2b-256 f8f85627b6351d4554ea46f34a46a65a905d0d7d32eb0be25e9521f37f0d38dd

See more details on using hashes here.

File details

Details for the file report_cli-1.3.2-py3-none-any.whl.

File metadata

  • Download URL: report_cli-1.3.2-py3-none-any.whl
  • Upload date:
  • Size: 16.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for report_cli-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 25f0f367d9d6578201d72d6774e33803c57b4f1c168f389d68aebe01bdef6f6d
MD5 7f3289c773971b153c60477793292fa6
BLAKE2b-256 666aab7bea1cb2498af1343b51bfe2fc64970ce10ef673d98ede50158454d2a3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page