stock-screener

Filter stocks by PE, PB, and ROE thresholds to generate equal-weight long signals.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/loanntc/Paave --skill stock-screener-loanntc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stock-screener
Source: https://github.com/loanntc/Paave/tree/main/skills/fundamental-filter
Command: npx skills add https://github.com/loanntc/Paave --skill stock-screener-loanntc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the guesswork of selecting stocks by automatically filtering candidates using key fundamental indicators such as PE, PB, and ROE so you can focus on building cleaner backtests and portfolios.

Core Features & Use Cases

  • Fundamental factor screening: Applies value and optional growth filters to decide which tickers qualify each day.
  • Multi-market support: Uses Tushare for A-shares (daily valuation fields or point-in-time statement fields) and yfinance Ticker.info snapshots for US/HK fundamentals.
  • Signal output for backtesting: Produces 1/N weighting for all passing stocks and 0 for non-qualifiers, ready to integrate into a strategy pipeline.
  • Use Case: You want a value-oriented universe (e.g., PE < 20, PB < 3, ROE > 8%) and need a repeatable signal generator that excludes loss-making and micro-cap stocks while respecting disclosure timing for statement-based inputs.

Quick Start

Generate a fundamental screening signal from your configured fundamentals dataset by running the fundamental filter with your PE/PB/ROE thresholds and producing equal-weight long selection for all tickers that pass.

Frequently Asked Questions about stock-screener

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

FAQPage Schema
How do I screen stocks by fundamental factors like PE, PB, and ROE for backtesting?

Yes, you can use yfinance Ticker.info snapshots to screen US and HK stocks by fundamental factors. The skill applies your configured value and growth filters to these snapshots to generate equal-weight long signals for qualifying tickers.

Does this stock screener support A-share backtesting with point-in-time statement fields?

Yes, this stock screener supports A-share backtesting by using Tushare daily valuation extra_fields or point-in-time statement fundamental_fields. It merges required fields into daily frames with disclosure-date visibility rules to ensure accurate fundamental factor filtering.

How do I generate equal-weight portfolio signals from a value investing stock screen?

You generate equal-weight portfolio signals by configuring your fundamental factor thresholds, such as PE under 20 and ROE over 8%. The screener outputs 1/N weighting for all passing stocks and zero for non-qualifiers, creating a clean tradable universe.

Can I use yfinance for US and HK stock fundamental screening instead of Tushare?

Yes, you can use yfinance Ticker.info snapshots to screen US and HK stocks by fundamental factors. The skill applies your configured value and growth filters to these snapshots to generate equal-weight long signals for qualifying tickers.

What are the limitations of using yfinance snapshots for fundamental factor screening?

Using yfinance snapshots for fundamental factor screening relies on point-in-time data rather than historical daily valuation frames. This limits historical backtesting accuracy compared to Tushare point-in-time statement fields which enforce disclosure-date visibility rules for A-shares.