stock-fundamental

Retrieves A-share stock fundamentals from East Money via Playwright DOM parsing.

Updated Jan 12, 2026
One-click install
npx skills add https://github.com/chinawrj/agent-skills-stock --skill stock-fundamental
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stock-fundamental
Source: https://github.com/chinawrj/agent-skills-stock/tree/main/.github/skills/stock-fundamental
Command: npx skills add https://github.com/chinawrj/agent-skills-stock --skill stock-fundamental

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, duckdb, pandas, and includes scripts (resource) components.

What problem does it solve?

本技能帮助用户快速获取东方财富上A股股票的基本面数据(如EPS、净利润、营收、ROE 等),解决手动查询与数据整理的痛点。

Core Features & Use Cases

  • 支持单股与批量查询,快速获取多只股票的基本面数据。
  • 提供盈利筛选功能,筛选最近N年的年报盈利情况以发现盈利股。
  • 数据源稳定,结合 Playwright DOM 解析和可选缓存,便于重复查询和历史对比。

Quick Start

使用 fetch_fundamental.py 查询单股或多股基本面数据,并将结果输出为CSV或JSON。

Frequently Asked Questions about stock-fundamental

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I batch query A-share stock fundamentals like EPS and ROE from East Money?

You can batch query A-share stock fundamentals by providing stock codes or a CSV file as input. The Skill retrieves EPS, net profit, revenue, and ROE data from East Money and outputs the results as CSV or JSON.

Can I screen profitable A-share stocks based on recent years of annual reports?

Yes, you can screen profitable A-share stocks by filtering profitability over recent years. The Skill evaluates annual report data to help you quickly identify and filter profitable candidates for investment decisions.

Does this Skill support caching financial data for repeated historical comparisons?

Yes, the Skill supports optional caching to DuckDB for retrieved financial data. This allows you to store East Money fundamentals locally, enabling fast repeated queries and historical data comparisons without redundant web scraping.

What is the best way to extract financial data for multiple A-share stocks without manual queries?

The best way to extract financial data for multiple A-share stocks is using Playwright DOM parsing with batch processing. This automates the retrieval of fundamentals like net profit and revenue, eliminating manual query and data consolidation efforts.

Do I need Playwright to scrape stock fundamental data from East Money?

Yes, Playwright is required as the Skill uses it for DOM parsing to retrieve stock fundamentals from East Money. It works alongside pandas for data consolidation and duckdb for optional local caching of the queried financial metrics.