Overview
Financial Screener will enable you to find stocks matching specific criteria using natural language queries. Instead of manually filtering through spreadsheets or using complex screener UIs, simply describe what you’re looking for and let Finance Agent translate your query into SQL and return matching companies.Natural Language Queries
Ask in plain English: “Find tech stocks with P/E ratio less than 20”
DuckDB Analytics
Powered by DuckDB for fast in-memory analytics over company fundamentals
Multi-Criteria Filtering
Combine multiple filters: sector, market cap, ratios, growth rates, margins
Structured Results
Returns data in table format with key metrics for each matching stock
Planned Capabilities
Sector & Industry Filtering
Sector & Industry Filtering
- “Find all healthcare companies”
- “Show me stocks in the energy sector”
- “List software companies with market cap over $10B”
Valuation Metrics
Valuation Metrics
- “Find stocks with P/E ratio less than 15”
- “Show me companies trading below book value”
- “List stocks with EV/EBITDA under 10”
Growth Metrics
Growth Metrics
- “Find companies with revenue growth over 20% YoY”
- “Show me stocks with positive earnings growth”
- “List companies with expanding margins”
Financial Health
Financial Health
- “Find companies with debt-to-equity ratio below 0.5”
- “Show me stocks with strong cash positions”
- “List companies with improving return on equity”
Dividend Screening
Dividend Screening
- “Find dividend stocks yielding over 3%”
- “Show me companies with dividend growth streaks”
- “List high-yield dividend aristocrats”
Comparative Screening
Comparative Screening
- “Find stocks cheaper than $AAPL on P/E basis”
- “Show me companies growing faster than $MSFT”
- “List stocks with better margins than industry average”
How It Will Work
When Financial Screener launches, the workflow will be:- Natural Language Input - You ask a screening question in plain English
- Query Analysis - LLM interprets your criteria and identifies required metrics
- SQL Generation - Agent translates to optimized DuckDB SQL query
- Data Retrieval - Executes query against fundamentals database
- Results Formatting - Returns matching stocks in table format with key metrics
- Streaming Response - Results stream back in real-time
Example Queries (Planned)
Simple Sector Filter
Multi-Criteria Screen
Comparative Screen
Planned Features
Available Metrics (Planned)
Valuation:- P/E Ratio (Price-to-Earnings)
- P/B Ratio (Price-to-Book)
- P/S Ratio (Price-to-Sales)
- EV/EBITDA
- PEG Ratio
- Revenue Growth (YoY, QoQ)
- Earnings Growth
- EPS Growth
- Free Cash Flow Growth
- Gross Margin
- Operating Margin
- Net Profit Margin
- Return on Equity (ROE)
- Return on Assets (ROA)
- Debt-to-Equity Ratio
- Current Ratio
- Quick Ratio
- Cash Position
- Free Cash Flow
- Dividend Yield
- Dividend Growth Rate
- Payout Ratio
- Dividend History
- Market Capitalization
- Stock Price
- 52-Week High/Low
- Volume
DuckDB Backend
The screener will use DuckDB for analytics:- In-memory processing: Fast queries over large datasets
- SQL interface: LLM generates optimized SQL from natural language
- Columnar storage: Efficient for analytical workloads
- No external database: Embedded analytics engine
LLM-to-SQL Translation
The agent will:- Parse natural language query
- Identify required metrics and filters
- Generate syntactically correct DuckDB SQL
- Execute query and format results
- Provide natural language summary of findings
Technical Architecture (Planned)
Data Sources (Planned)
- Fundamentals Database: Company financial metrics, updated quarterly
- Market Data: Stock prices, market cap, volume
- Company Metadata: Sector, industry, description
- Coverage: S&P 500 and major public companies initially
Development Status
API Endpoint (Planned)
Limitations (Planned)
- Quarterly Data Lag: Fundamentals updated quarterly, not real-time
- No Technical Analysis: Focus is on fundamentals (P/E, revenue, margins), not chart patterns
- No Real-Time Prices: Screening uses end-of-day or end-of-quarter data
- SQL Constraints: Complex queries may require multiple passes or manual refinement
Roadmap
Q1 2025 (Target):- Core screening with basic metrics (P/E, market cap, sector)
- Single-criteria queries
- Table-formatted results
- Multi-criteria support
- Comparative screening (“better than X”)
- Growth and profitability metrics
- Dividend screening
- Financial health metrics
- Industry average comparisons
- Historical screening (“stocks that had P/E < 15 in 2023”)
- Backtesting capabilities
- Saved screens and alerts
Timeline is subject to change. Follow our GitHub repository for updates.
Related Features
- Earnings Transcripts - For quarterly earnings analysis
- SEC Filings - For annual 10-K financial data
- Real-Time News - For current market developments