Repository

bagoldbe/form4lab

form4lab

Self-hostable platform for building, backtesting, and paper-trading SEC Form 4 insider-trading signal strategies.

6stars

Open github.com

bagoldbe/form4lab

form4lab

Self-hostable platform for building, backtesting, and paper-trading SEC Form 4 insider-trading signal strategies.

Visit project

Show me a random project

First shared
Jul 10, 2026
HN activity
10

Show HN@bagoldbeJul 10, 2026

Show HN: OSS tool for testing out new trading thesis based on insider activity

Created a tool that ingests form 4 for a universe of stocks you define. pulls it all into a database, cleans the data e.g. planned trade vs. discretionary trade and allows you to test different trading hypothesis based on insider activities. You can backtest the different trading ideas. Some illustrative trading ideas are cluster buys for insiders, large purchases relative to historical buys, exercise and holding rather than immediately selling, etc... I've also designed it in a way that it can automatically trade via Alpaca API. I'm currently testing some of my own ideas via their paper trading accounts. Some promising ideas so far, buts it's only been ~4 months of trading in a relative bull market. It's all open source. I used Railway to host it which has some minimal costs but can also host locally. Welcome any feedback or thoughts.

Community

Hacker News discussion

Loading the thread…