FinLab stock turnover / price-volume divergence research, 2026-11-10

Unzip into an empty directory. Install uv, then run:
uv run --no-project --with finlab==2.3.8 --with pandas --with numpy python static/blog/stock-turnover-ratio-backtest/research.py

Chart generation (requires Chrome):
uv run --no-project --with pandas --with plotly --with kaleido python static/blog/stock-turnover-ratio-backtest/charts.py

FinLab will guide you through login if necessary. Do not put credentials in the scripts.
Outputs: metrics.json, data.csv, and FinLab HTML reports under static/blog/<article>/.
Includes all three original base strategies and the reusable market-filter engine.
Results use 2018-02-01 through 2026-11-09; historical data revisions can change a later rerun.
All tests use default TW fees and tax, without additional slippage. The study did not validate any new strategy.
