
Build a "Clone the Fund" Portfolio Tracker Using SEC 13F Data in Python
Every quarter, institutional investors managing over $100 million must file a 13F form with the SEC. This filing discloses every equity position they hold — stock by stock, share by share. Berkshire Hathaway, Citadel, Renaissance Technologies, Bridgewater — they all file. And it's all public data. The idea behind "cloning the fund" is simple: pick a fund you admire, see what they're buying and selling each quarter, and mirror their moves in your own portfolio. Whether or not you actually trade on it, tracking institutional movements is one of the best ways to understand where smart money is flowing. This tutorial shows you how to build a fund cloning tracker in Python. The Problem with Raw SEC Data The SEC's EDGAR system makes 13F filings available as XML. But the data is painful to work with: Company names aren't normalized ("APPLE INC" vs "Apple Inc." vs "APPLE COMPUTER INC") Values are reported in thousands, not dollars No ticker symbols — just company names and CUSIPs Formats vary
Continue reading on Dev.to Beginners
Opens in a new tab

![[MM’s] Boot Notes — The Day Zero Blueprint — Test Smarter on Day One](/_next/image?url=https%3A%2F%2Fcdn-images-1.medium.com%2Fmax%2F1368%2F1*AvVpFzkFJBm-xns4niPLAA.png&w=1200&q=75)

