fundamental-filter

Filter stock market data by PE, PB, and ROE metrics across A-shares, HK, and US exchanges.

Updated Jun 30, 2026
One-click install
npx skills add https://github.com/0xZKnw/vibe-trading-tap --skill fundamental-filter-0xzknw
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fundamental-filter
Source: https://github.com/0xZKnw/vibe-trading-tap/tree/main/agent/src/skills/fundamental-filter
Command: npx skills add https://github.com/0xZKnw/vibe-trading-tap --skill fundamental-filter-0xzknw

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, numpy, yfinance.

What problem does it solve?

This Skill solves the challenge of manually filtering large stock universes by complex financial criteria, allowing users to identify value or growth opportunities based on quantitative data.

Core Features & Use Cases

  • Multi-Market Screening: Supports A-shares via Tushare and HK/US stocks via YFinance.
  • Customizable Logic: Apply filters for PE, PB, ROE, and financial statement fields like revenue or net income.
  • Use Case: A user can define a value strategy to automatically filter the S&P 500 for companies with a PE ratio under 20 and an ROE above 8 percent to generate a daily long-only portfolio.

Quick Start

Use the fundamental-filter skill to screen the provided stock list for companies with a PE ratio below 15 and an ROE above 10 percent.

Frequently Asked Questions about fundamental-filter

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

FAQPage Schema
How do I screen stocks by PE, PB, and ROE financial metrics?

Yes, you can apply fundamental filters across A-shares, HK, and US exchanges. Multi-market screening is supported by retrieving real-time market information via yfinance for HK and US stocks.

How do I filter the S&P 500 for value stocks using Python?

Filter the S&P 500 for value stocks in Python by defining a strategy to automatically isolate companies meeting specific criteria, like a PE ratio under 20 and ROE above 8 percent, to generate a long-only portfolio.

Do I need pandas and numpy to build a custom stock screener?

Yes, you need pandas and numpy to build a custom stock screener, as these dependencies are required for manipulating financial data and applying logic to fundamental financial metrics like revenue or net income.

What's the best way to automate filtering stock universes by financial criteria?

The best way to automate filtering stock universes by financial criteria is using quantitative data logic that evaluates fundamental metrics, eliminating the challenge of manually processing large volumes of market data.

Can I use yfinance to retrieve real-time market data for fundamental analysis?

Yes, you can use yfinance to retrieve real-time market information for fundamental analysis, specifically supporting multi-market screening for HK and US stocks during the financial filtering process.