Monitors SEC EDGAR Form 4 filings in near real-time, detects insider buy clusters, sends Slack alerts, and optionally executes trades via Alpaca.
Copying the idea from https://insidercopytrading.com
- PLAN.md: full implementation plan from issue - config.py: configurable thresholds, API keys via .env - ingestion/: EDGAR RSS poller + Form 4 XML parser - db/: SQLite schema + interface (WAL mode) - signals/: filter engine (buy/10b5-1/value/role) + cluster detector - alerts/: Slack webhook alert with score gating - broker/: Alpaca paper/live trade execution - backtest/: historical signal backtesting with yfinance - main.py: CLI entrypoint (run | fetch-once | backtest) |
||
|---|---|---|
| .gitea/workflows | ||
| alerts | ||
| backtest | ||
| broker | ||
| db | ||
| ingestion | ||
| signals | ||
| .env.example | ||
| .gitignore | ||
| config.py | ||
| main.py | ||
| PLAN.md | ||
| requirements.txt | ||