Examples
Runnable code examples — copy and run in your environment.
advanced
Point-in-Time Universe Construction
Build a survivorship-bias-free historical S&P 500 universe for any rebalance date.
PITuniversebacktestingDuckDB
10 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