Developer builds SEC Form 4 insider-conviction screener in 40 lines of Python
A developer has shared a compact Python script that screens stocks by insider buying conviction using parsed SEC Form 4 filings, which corporate executives must submit within two business days of trading their own company's shares. The tool assigns each ticker a conviction score from 0 to 100, weighing factors such as the number of insiders buying, C-suite involvement, and the ratio of buys to sells. When run against a watchlist of major tech and energy stocks, the screener surfaced roughly $880 million in open-market buying at Tesla, while most other mega-cap names showed net insider selling. The script relies on a third-party API called SEC Intel, hosted on RapidAPI, which handles the underlying XML parsing of Form 4 data. The author notes the tool is intended as a signal filter to surface informed trading activity, not as investment advice.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in