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

dividend-premium-tracker

بواسطة gykdly

Coding Agents & IDEs
901التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Track the dividend premium (dividend yield minus 10-year bond yield) for CSI Dividend Low Volatility Index.

الوصف

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

Tracks the dividend premium for the CSI Dividend Low Volatility Index (H30269) by pulling dividend yield data from China Securities Index and 10-year bond yield from China's Ministry of Finance. Calculates the spread between the two and flags threshold breaches via Telegram alerts. Outputs Excel reports with charts for historical review.

Automates what would otherwise require manually downloading two separate government data sources and computing the spread each day.

متى تستخدمها

  • Checking if CSI dividend stocks are cheap relative to bonds
  • Getting alerted when bond yields rise three days in a row
  • Backfilling historical premium data for a past date range
  • Generating an Excel chart of dividend premium trends
  • Monitoring the 1% premium threshold for entry signals

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

الإدخال

User asks: what is today's dividend premium and any alerts?

الوكيل
  1. 1

    Run update_dividend_premium.py --update to fetch latest dividend yield and bond yield

  2. 2

    Calculate premium as dividend yield minus bond yield

  3. 3

    Check monitor_dividend_premium.py --check against alert thresholds

  4. 4

    Send Telegram alert if bond yield rose 3 consecutive days or premium dropped below 1%

  5. 5

    Output updated Excel report with new data point appended

الإخراج

Premium value for today displayed, alerts fired if thresholds breached, Excel report updated

المتطلبات

  • TELEGRAM_BOT_TOKEN environment variable (optional, for alerts)

التثبيت

clawhub install gykdly/dividend-premium-tracker

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

الروابط