MCP Server live — AI agents can now query 105M+ SEC facts. Connect your agent →
ValueinValuein

Examples

Runnable code examples — copy and run in your environment.

beginner

Quickstart: First Query in 60 Seconds

Install valuein-sdk, authenticate, and pull your first 10 years of Apple revenue data.

SDKDuckDBfundamentals
intermediate

S&P 500 Revenue Growth Screener

Find all S&P 500 companies with 3-year revenue CAGR above 20% using the references table.

SDKscreeningrevenueDuckDB
advanced

Point-in-Time Universe Construction

Build a survivorship-bias-free historical S&P 500 universe for any rebalance date.

PITuniversebacktestingDuckDB
intermediate

Earnings Momentum Strategy

Build an earnings surprise screen using eps_surprise_pct from earnings_signals.parquet.

earningsmomentumsignalsDuckDB
advanced

Multi-Factor Portfolio Backtest

Combine ROE, FCF yield, and Piotroski F-score into a simple long-short factor portfolio.

factorbacktestPITDuckDB