Get the FREE Ultimate OpenClaw Setup Guide →
Y

Fund News Summary

Scanned

@YonghaoZhao722

npx machina-cli add skill @YonghaoZhao722/fund-news-summary --openclaw
Files (1)
SKILL.md
3.1 KB

Fund News Summary Skill

Purpose

Automatically collects and summarizes the latest core news for specified funds across multiple markets.

Supported Markets

  • US Markets: NASDAQ, S&P 500
  • Europe: European equity markets
  • Japan: Japanese stock market
  • Commodities: Gold
  • Prediction Markets: Polymarket and prediction market news

Execution

Automatic (Cron Job)

This skill is bound to the DailyFundNews cron job, executing automatically at 11:00 Beijing Time daily.

Manual Trigger

User can ask:

  • "Get today's fund news"
  • "Show market updates"
  • "What's the latest on my funds?"
  • "Run fund news summary"

When triggered, the Agent should:

  1. Run the script: python3 /root/clawd/skills/fund-news-summary/fund_news.py
  2. Read output: The script automatically generates a report and outputs to stdout
  3. Send to Telegram: Send the script output directly to Telegram

Script Features

  • Multi-market coverage: US, Europe, Japan, Gold, Polymarket
  • Rate limiting: Maximum 2 concurrent searches, 1.5 second request interval
  • Retry mechanism: Automatic retry on rate limit
  • Error handling: Individual fund failures don't affect others
  • Formatted output: Bold list format
  • Obsidian sync: Saves Chinese version to Obsidian
  • Auto GitHub push: Automatically pushes to GitHub after generation

Fund Configuration

The script has built-in keywords for:

  • 华宝纳斯达克精选股票 (QDII)C
  • 摩根欧洲动力策略股票 (QDII)A
  • 摩根日本精选股票 (QDI)A
  • 易方达黄金 ETF 联接 C
  • 标普500 (S&P 500 Index)
  • Polymarket / 预测市场

Error Handling

Common Issues

Issue: Script fails with "Rate limit exceeded"

  • Cause: Too many requests to search API
  • Solution: Script has built-in retry with exponential backoff. Wait 5 minutes and retry.

Issue: Empty or partial report

  • Cause: Some fund APIs may be temporarily unavailable
  • Solution: Check individual fund sources. The script continues even if some funds fail.

Issue: GitHub push fails

  • Cause: Network issue or authentication expired
  • Solution: Report success/failure in output. User can manually push if needed.

Output Format

The script outputs a formatted report with:

  • Market name and fund name (bold)
  • Key news summary with bullet points
  • Last updated timestamp

Data Storage

  • Obsidian save path: /root/clawd/obsidian-vault/reports/fund/YYYY-MM-DD.md
  • Filename format: YYYY-MM-DD.md
  • Language: Chinese (translated from English API results)
  • GitHub repo: https://github.com/YonghaoZhao722/yonghao-notes
  • Branch: master

Manual Execution (Debug)

cd /root/clawd/skills/fund-news-summary
python3 fund_news.py

Source

git clone https://clawhub.ai/YonghaoZhao722/fund-news-summaryView on GitHub

Overview

Automatically collects and summarizes the latest core news for US, Europe, Japan stock markets, gold, and prediction markets. It supports automatic cron delivery at 11:00 Beijing Time and on-demand triggers, delivering formatted reports suitable for Telegram sharing and archival in Obsidian and GitHub.

How This Skill Works

A Python script (python3 /root/clawd/skills/fund-news-summary/fund_news.py) fetches market news, formats it into a readable report, and outputs to stdout. The agent then sends the report to Telegram and relies on built-in rate limiting, retry on failures, and independent fund error handling, with outputs saved to Obsidian and automatically pushed to GitHub.

When to Use It

  • You need the latest fund news for US, Europe, Japan stocks, gold, or Polymarket/prediction markets.
  • You prepare daily investment research or client briefings and require a concise briefing.
  • You want a quick, formatted daily market summary delivered via Telegram.
  • You ask for on-demand fund news like 'Get today's fund news' or 'Show market updates'.
  • You rely on the DailyFundNews cron to generate a morning briefing at 11:00 Beijing Time.

Quick Start

  1. Step 1: Ensure the fund-news-summary script is at /root/clawd/skills/fund-news-summary and the DailyFundNews cron is configured.
  2. Step 2: Manually trigger a fetch: python3 /root/clawd/skills/fund-news-summary/fund_news.py
  3. Step 3: Check stdout for the report, confirm Telegram delivery, and verify Obsidian save and GitHub push.

Best Practices

  • Verify the markets and funds you care about (US/Europe/Japan, Gold, Polymarket) are included in the script configuration.
  • Rely on the built-in rate limiting and retry logic to minimize API errors and avoid throttling.
  • Review the formatted (bold list) output before sharing with clients or teams.
  • Ensure Obsidian sync paths and GitHub credentials are accessible for automatic saves and pushes.
  • Test both automatic cron runs and manual triggers to confirm Telegram delivery works reliably.

Example Use Cases

  • Daily US market update with NASDAQ and S&P 500 headlines.
  • European market roundup highlighting major index moves and sector shifts.
  • Japan equities update including earnings headlines and currency impact.
  • Gold market overnight movement and risk-off/risk-on commentary.
  • Polymarket/prediction market news snapshot with notable event odds.

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers