← All skills
Tencent SkillHub Β· AI

Etrade Pelosi Bot

Mirror congressional stock trades with automated broker execution and risk management

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Mirror congressional stock trades with automated broker execution and risk management

⬇ 0 downloads β˜… 0 stars Unverified but indexed

Install for OpenClaw

Item is unstable.

This item is timing out or returning errors right now. Review the source page and try again later.

Quick setup
  1. Wait for the source to recover or retry later.
  2. Review SKILL.md only after the source returns a real package.
  3. Do not rely on this source for automated install yet.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Manual review
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
AUTOMATED_SYSTEM_SUMMARY.md, CONGRESSIONAL_DATA.md, QUICK_START.md, README.md, SKILL.md, add_trade.py

Validation

  • Wait for the source to recover or retry later.
  • Review SKILL.md only after the download returns a real package.
  • Treat this source as transient until the upstream errors clear.

Install with your agent

Agent handoff

Use the source page and any available docs to guide the install because the item is currently unstable or timing out.

  1. Open the source page via Review source status.
  2. If you can obtain the package, extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the source page and extracted files.
New install

I tried to install a skill package from Yavira, but the item is currently unstable or timing out. Inspect the source page and any extracted docs, then tell me what you can confirm and any manual steps still required. Then review README.md for any prerequisites, environment setup, or post-install checks.

Upgrade existing

I tried to upgrade a skill package from Yavira, but the item is currently unstable or timing out. Compare the source page and any extracted docs with my current installation, then summarize what changed and what manual follow-up I still need. Then review README.md for any prerequisites, environment setup, or post-install checks.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 13 sections Open source page

ClawBack

Mirror congressional stock trades with automated broker execution ClawBack tracks stock trades disclosed by members of Congress (House and Senate) and executes scaled positions in your brokerage account. Built on the premise that congressional leaders consistently outperform the market due to informational advantages.

Features

Real-time disclosure tracking from official House Clerk and Senate eFD sources Automated trade execution via broker API (E*TRADE adapter included) Smart position sizing - scales trades to your account size Trailing stop-losses - lock in profits, limit losses Risk management - drawdown limits, consecutive loss protection Telegram notifications - get alerts for new trades and stop-losses Backtesting engine - test strategies on historical data

Performance (Backtest Results)

StrategyWin RateReturnSharpe3-day delay, 30-day hold42.9%+6.2%0.399-day delay, 90-day hold57.1%+4.7%0.22 Congressional leaders have outperformed the S&P 500 by 47% annually according to NBER research.

Quick Start

# Clone and setup git clone https://github.com/openclaw/clawback cd clawback python3 -m venv venv && source venv/bin/activate pip install -r requirements.txt # Configure secrets python3 src/config_loader.py setup # Authenticate with broker python3 src/main.py interactive # Select option 1 to authenticate # Set up automation ./scripts/setup_cron.sh

Configuration

ClawBack reads secrets from environment variables or config/secrets.json: { "BROKER_API_KEY": "your-broker-api-key", "BROKER_API_SECRET": "your-broker-api-secret", "BROKER_ACCOUNT_ID": "your-account-id", "TELEGRAM_BOT_TOKEN": "optional-for-notifications", "TELEGRAM_CHAT_ID": "optional-for-notifications" }

Supported Brokers

ClawBack uses an adapter pattern for broker integration. Each broker implements a common interface defined in broker_adapter.py. BrokerAdapterStatusE*TRADEetrade_adapter.pySupportedSchwabschwab_adapter.pyPlannedFidelityfidelity_adapter.pyPlanned To specify which broker to use, set broker.adapter in your config: { "broker": { "adapter": "etrade", "credentials": { "apiKey": "${BROKER_API_KEY}", "apiSecret": "${BROKER_API_SECRET}" } } }

Data Sources

All data is scraped directly from official government sources: SourceDataMethodHouse ClerkHouse PTR filingsPDF parsingSenate eFDSenate PTR filingsSelenium scraping No third-party APIs required for congressional data.

Strategy Settings

Edit config/config.json to customize: { "strategy": { "entryDelayDays": 3, "holdingPeriodDays": 30, "purchasesOnly": true, "minimumTradeSize": 50000 }, "riskManagement": { "positionStopLoss": 0.08, "trailingStopActivation": 0.10, "trailingStopPercent": 0.05, "maxDrawdown": 0.15 } }

Commands

# Interactive mode python3 src/main.py interactive # Single check cycle python3 src/main.py run # Scheduled trading python3 src/main.py schedule 24 # Run backtest python3 src/backtester.py

Cron Automation

# Install cron jobs ./scripts/setup_cron.sh # Manual runs ./scripts/run_bot.sh check # Check for new trades ./scripts/run_bot.sh monitor # Check stop-losses ./scripts/run_bot.sh full # Both

Architecture

clawback/ β”œβ”€β”€ src/ β”‚ β”œβ”€β”€ main.py # Main entry point β”‚ β”œβ”€β”€ congress_tracker.py # Congressional data collection β”‚ β”œβ”€β”€ trade_engine.py # Trade execution & risk management β”‚ β”œβ”€β”€ broker_adapter.py # Abstract broker interface β”‚ β”œβ”€β”€ etrade_adapter.py # E*TRADE broker implementation β”‚ β”œβ”€β”€ database.py # SQLite state management β”‚ └── config_loader.py # Configuration handling β”œβ”€β”€ config/ β”‚ β”œβ”€β”€ config.json # Main configuration β”‚ └── secrets.json # API keys (git-ignored) β”œβ”€β”€ scripts/ β”‚ β”œβ”€β”€ run_bot.sh # Cron runner β”‚ └── setup_cron.sh # Cron installer └── data/ └── trading.db # SQLite database

Risk Disclaimer

This software is for educational purposes only. Trading stocks involves substantial risk of loss. Past performance of congressional trades does not guarantee future results. The authors are not financial advisors. Use at your own risk.

License

MIT License - See LICENSE file Built with ClawBack for the OpenClaw community

Category context

Agent frameworks, memory systems, reasoning layers, and model-native orchestration.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
5 Docs1 Scripts
  • SKILL.md Primary doc
  • AUTOMATED_SYSTEM_SUMMARY.md Docs
  • CONGRESSIONAL_DATA.md Docs
  • QUICK_START.md Docs
  • README.md Docs
  • add_trade.py Scripts