Independent global journalism

NWCast — Independent Global Journalism

The Lead · Investing & Markets

How to Create a Sector Rotation Model with yfinance and Pandas

A sector rotation model downloads price data for sector ETFs, calculates relative strength scores for each, and ranks them to show which sectors are outper

By the Investing & Markets Desk · August 4, 2026 · 6 min read

Investing & Markets

All investing & markets

Guides & Tutorials

All guides →