feat: add PLAN.md and insider copytrade POC implementation

- 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)
This commit is contained in:
2026-05-04 16:15:22 +00:00
parent 7ddf89ebfb
commit 7e9221a914
20 changed files with 1244 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
SLACK_WEBHOOK_URL=
ALPACA_KEY=
ALPACA_SECRET=
ALPACA_BASE_URL=https://paper-api.alpaca.markets
DB_PATH=insider.db
DATA_DIR=data/filings