Track US congress member and politician stock trades in real-time using the Quiver Quant API. Syncs trades to a local SQLite database, detects new significan...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install congress-trades或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install congress-trades⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/congress-trades/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: congress-trades description: Track US congress member and politician stock trades in real-time using the Quiver Quant API. Syncs trades to a local SQLite database, detects new significant trades above 15K, and sends alerts via OpenClaw messaging. Only requires Python with the requests library and a QUIVER_API_KEY environment variable. Use when setting up congressional trade monitoring, politician stock trade alerts, insider trading surveillance, or tracking what senators and representatives are buying and selling. ---
Monitor US congressional stock trades via Quiver Quant API, store in a local SQLite database, and alert on new significant trades. Requires Python requests library and a Quiver Quant API key.
requests (pip install requests)| Variable | Required | Default | Description | |---|---|---|---| | QUIVER_API_KEY | Yes | — | Quiver Quant API token | | CONGRESS_DB_PATH | No | data/congress_trades.db | SQLite database path | | MIN_TRADE_AMOUNT | No | 15001 | Minimum trade amount to trigger alerts |
Set these in your shell profile, .env file, or cron environment. Never hard-code API keys in the script.
pip install requests
export QUIVER_API_KEY="your-api-key-here"
Add your env vars to ~/.profile or a .env file sourced by your shell, then add the cron entry:
crontab -e
# Add this line (uses env vars from your profile):
* * * * * . "$HOME/.profile" && /usr/bin/python3 /path/to/scripts/scraper.py >> /path/to/logs/scraper.log 2>&1
Never inline API keys directly in crontab entries.
Add to your HEARTBEAT.md:
## Check for congress trade alerts
- Read `congress_trades/data/pending_congress_alert.txt` — if it has content, send the alert to the user, then delete the file.
Or create an OpenClaw cron job (every 5 min) to check and forward alerts.
api.quiverquant.comdata/pending_congress_alert.txt for OpenClaw pickupdata/new_trades.jsonapi.quiverquant.com (Quiver Quant API)data/chmod 700 data/)🏛️ 3 new congress trade(s) detected:
🟢 PURCHASE: Nancy Pelosi (D) [Rep]
$NVDA — $1,000,001 - $5,000,000
Trade: 2026-02-10 | Reported: 2026-02-14
🔴 SALE: Dan Crenshaw (R) [Rep]
$MSFT — $15,001 - $50,000
Trade: 2026-02-09 | Reported: 2026-02-14
limit=200 in fetch_trades() for broader sweeps安装 Congress Trades Tracker 后,可以对 AI 说这些话来触发它
Help me get started with Congress Trades Tracker
Explains what Congress Trades Tracker does, walks through the setup, and runs a quick demo based on your current project
Use Congress Trades Tracker to track US congress member and politician stock trades in real-time u...
Invokes Congress Trades Tracker with the right parameters and returns the result directly in the conversation
What can I do with Congress Trades Tracker in my finance & investment workflow?
Lists the top use cases for Congress Trades Tracker, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/congress-trades/ 目录(个人级,所有项目可用),或 .claude/skills/congress-trades/(项目级)。重启 AI 客户端后,用 /congress-trades 主动调用,或让 AI 根据上下文自动发现并使用。
Congress Trades Tracker 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Congress Trades Tracker 可免费安装使用。请查阅仓库了解许可证信息。
Track US congress member and politician stock trades in real-time using the Quiver Quant API. Syncs trades to a local SQLite database, detects new significan...
Congress Trades Tracker 属于「Finance & Investment」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my finance & investment tasks using Congress Trades Tracker
Identifies repetitive steps in your workflow and sets up Congress Trades Tracker to handle them automatically