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
5 minView example
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
8 minView example
advanced
Point-in-Time Universe Construction
Build a survivorship-bias-free historical S&P 500 universe for any rebalance date.
PITuniversebacktestingDuckDB
10 minView example
intermediate
Earnings Momentum Strategy
Build an earnings surprise screen using eps_surprise_pct from earnings_signals.parquet.
earningsmomentumsignalsDuckDB
8 minView example
advanced
Multi-Factor Portfolio Backtest
Combine ROE, FCF yield, and Piotroski F-score into a simple long-short factor portfolio.
factorbacktestPITDuckDB
15 minView example