تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

etrade-pelosi-bot

بواسطة mainfraame

Productivity & Tasks
1.5kالتنزيلات وفق ما يذكره clawskills.sh
4النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Mirror congressional stock trades with automated broker execution and risk management.

الوصف

ما الذي تفعله هذه المهارة

ClawBack scrapes congressional stock trade disclosures from House Clerk and Senate eFD sources, then executes scaled positions in your brokerage account automatically. It includes trailing stop-losses, drawdown limits, and a backtesting engine for strategy validation.

Scrapes directly from official government sources rather than relying on third-party data providers, reducing latency and dependency on paid services.

متى تستخدمها

  • Automatically mirror Nancy Pelosi's disclosed stock purchases
  • Backtest congressional trading strategies on historical data
  • Get Telegram alerts when a new congressional trade triggers a position
  • Run scheduled daily checks for new House or Senate PTR filings
  • Apply position sizing and stop-losses based on your account balance

مثال على سير العمل

الإدخال

User asks: mirror all congressional stock purchases with a 3-day delay and 30-day hold

الوكيل
  1. 1

    Sets entryDelayDays to 3 and holdingPeriodDays to 30 in config.json

  2. 2

    Runs setup_cron.sh to schedule daily checks

  3. 3

    congress_tracker.py scrapes House Clerk PDFs and Senate eFD via Selenium

  4. 4

    trade_engine.py calculates position size relative to account balance and submits order via E*TRADE adapter

  5. 5

    Sets trailing stop at 5% activation after 10% gain

الإخراج

Positions opened in E*TRADE account matching congressional purchases, with stop-losses active and Telegram notifications sent on each execution

المتطلبات

  • BROKER_API_KEY environment variable
  • BROKER_API_SECRET environment variable
  • BROKER_ACCOUNT_ID environment variable
  • E*TRADE brokerage account
  • TELEGRAM_BOT_TOKEN environment variable (optional, for notifications)
  • TELEGRAM_CHAT_ID environment variable (optional, for notifications)

التثبيت

clawhub install mainfraame/etrade-pelosi-bot

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط