Corporate insiders — CEOs, CFOs, directors — have to report every time they buy or sell their own company's stock on SEC Form 4, within two business days. Insider buying on the open market is one of the few market signals that's both public and hard to fake: people rarely put their own cash into their own stock unless they mean it.

The problem: Form 4 is filed as XML, thousands of times a week. Reading it by hand is hopeless, and parsing the XML yourself is a weekend gone.

So I built a small screener that ranks my watchlist by insider conviction. Here's the whole thing.

Disclosure: I use my own API for this (SEC Intel). The Form 4 parsing + scoring is the tedious part it removes; the screener logic below is yours to keep.

The idea