fundamental-filter

Screen stocks by PE, PB, and ROE thresholds to generate daily long or flat signals.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/Liangwei-zhang/six-stock --skill fundamental-filter-liangwei-zhang
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: fundamental-filter
Source: https://github.com/Liangwei-zhang/six-stock/tree/main/Vibe-Trading/agent/src/skills/fundamental-filter
Command: npx skills add https://github.com/Liangwei-zhang/six-stock --skill fundamental-filter-liangwei-zhang

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires numpy, pandas.

What problem does it solve?

Filter stocks using fundamental financial data (PE, PB, ROE, etc.) to identify value or growth opportunities for screening and backtesting.

Core Features & Use Cases

  • Multi-market support: A-shares via tushare extra_fields; US/HK via yfinance Ticker.info.
  • Flexible filters: PE, PB, ROE thresholds with optional PE_TTM, market cap, and size constraints.
  • Signal generation: Produces daily long/flat signals based on meeting all criteria.
  • Use Case: Build a tradable universe of stocks that pass fundamental criteria and apply technical or factor signals on top.

Quick Start

Use the fundamental-filter to screen a list of tickers and generate long signals based on the configured criteria.

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 fundamental metrics like PE, PB, and ROE?▼

To screen stocks by fundamental metrics, this tool filters tickers using configurable PE, PB, and ROE thresholds to generate long or flat signals. It evaluates per-date data against your criteria to identify tradable value or growth opportunities.

Can I use fundamental stock screening for A-shares, US, and HK markets?▼

Yes, fundamental stock screening supports A-shares, US, and HK markets. It retrieves A-share data via tushare extra_fields and US/HK data via yfinance Ticker.info to evaluate your configured thresholds across multiple regions.

How do I filter stocks for value versus growth opportunities?▼

You filter stocks for value or growth by applying different configuration settings. The screener applies flexible filters like PE, PB, ROE, market cap, and size constraints to produce signals matching your specific value or growth criteria.

What happens when fundamental data is missing during stock screening?▼

When fundamental data is missing during stock screening, the tool applies robust handling to ensure deterministic behavior. It avoids generating false long signals, defaulting to flat positions if a ticker fails to meet all required thresholds.

Do I need pandas and numpy to run fundamental stock filters?▼

Yes, you need pandas and numpy to run fundamental stock filters. These dependencies are required to process the underlying financial data, calculate metrics, and generate the per-date long or flat signals for your portfolios.

What is the best way to build a tradable universe using fundamental data?▼

The best way to build a tradable universe using fundamental data is to screen a list of tickers with strict PE, PB, and ROE constraints. This generates daily long signals for passing assets, which you can then use for backtesting.