ilia 332e38dbe8
CI / skip-ci-check (push) Successful in 34s
CI / secret-scan (push) Successful in 30s
CI / python-ci (push) Successful in 1m42s
Merge pull request 'Add AGENTS.md orientation for Cursor agents' (#9) from chore/bootstrap-agents-md into main
2026-08-05 17:51:42 -05:00
2026-07-26 15:40:19 -05:00
2025-12-14 20:45:34 -05:00

POTE (Public Officials Trading Explorer)

Research tool for tracking publicly disclosed stock trades by government officials (starting with U.S. Congress). Computes descriptive metrics and risk/ethics flags from lawfully available public data.

Not investment advice. Not for live trading. Public disclosures only; data may be delayed or incomplete. No claims about inside information.

Status: active. Homelab LXC deploy documented under docs/.

Quick start

git clone <repository-url>
cd pote   # or POTE
make install
source venv/bin/activate
make migrate
python scripts/ingest_from_fixtures.py   # offline sample
make test

With network:

python scripts/fetch_congressional_trades.py
python scripts/fetch_sample_prices.py

Deploy: bash scripts/proxmox_setup.sh or docker-compose up -d. Ops handoff: docs/HANDOFF-2026-05-27.md.

Useful commands

python scripts/analyze_official.py "Nancy Pelosi" --window 90
python scripts/calculate_all_returns.py
python scripts/monitor_market.py --scan
python scripts/send_daily_report.py --to your@email.com

Stack

Python 3.10+, SQLAlchemy, Alembic, pandas/numpy, httpx, yfinance. PostgreSQL or SQLite for local. pytest + ruff + mypy.

Data sources: House Stock Watcher, yfinance; QuiverQuant/FMP optional.

Docs

Doc Purpose
docs/QUICKSTART.md Using a deployed instance
docs/PROXMOX_QUICKSTART.md Proxmox LXC
docs/AUTOMATION_QUICKSTART.md Email reports
docs/01_architecture.md Architecture
docs/02_data_model.md Schema
docs/04_safety_ethics.md Research guardrails
docs/07_deployment.md Full deploy
docs/00_mvp.md Roadmap

PR writeups live under docs/archive/ when moved.

License

MIT for research/educational use. Not investment advice.

S
Description
Public Officials Trading Explorer — research public stock trades
Readme MIT
674 KiB
Languages
Python 90.4%
Shell 8.9%
Makefile 0.3%
Mako 0.2%
Dockerfile 0.2%