Global Economy Daily
/install global-economy-daily
全球经济每日洞察日报(Global Economy Daily Insight)
功能
每日自动生成并推送全球经济洞察日报,支持以下推送渠道:
- QQ(主要渠道)
- 飞书(Feishu)
日报包含以下板块:
- 全球股指 — 美股、欧股、亚太主要指数,含当日涨跌幅 + 归因分析
- 大宗商品 — WTI原油、布伦特、黄金、白银,含归因分析
- 外汇与债券 — 美元指数、美债10Y、离岸人民币、欧元/美元,含归因分析
- 加密货币 — 比特币等,含归因分析
- 时政要闻 — 近期重大地缘政治事件时间线 + 各方立场 + 影响研判
- 综合展望 — 一句话市场研判
推送格式
🌏 全球经济每日洞察
📅 {日期}({星期}){时间}
📡 数据来源:Yahoo Finance(实时)
━━━━━━━━━━━━━━━━━━━━
📊 全球股指
🇺🇸 美股(隔夜):
├ 标普500 {price} {arrow} {change}%
📌 归因:{analysis}
🌏 亚太:
├ 日经225 {price} {arrow} {change}%
📌 归因:{analysis}
...(各板块同理)
🌐 时政要闻 · {事件名称}
📌 事件时间线:
🗓️ {日期1}
· {事件}
🗓️ {日期2}
· {事件}
...
📌 各方立场:
🇺🇸 美国:{position}
🇮🇷 伊朗:{position}
...
📌 影响研判:
{analysis}
💡 综合展望:
{outlook}
━━━━━━━━━━━━━━━━━━━━
🤖 由 OpenClaw 自动生成 | 明日 07:00 准时推送
手动发送
python3 global_economy_daily.py
或直接对话中发送 "发送每日洞察" 即可手动触发。
定时任务配置
macOS(LaunchAgents)
创建 ~/Library/LaunchAgents/com.qclaw.global-economy-daily.plist:
\x3C?xml version="1.0" encoding="UTF-8"?>
\x3C!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
\x3Cplist version="1.0">
\x3Cdict>
\x3Ckey>Label\x3C/key>\x3Cstring>com.qclaw.global-economy-daily\x3C/string>
\x3Ckey>ProgramArguments\x3C/key>
\x3Carray>
\x3Cstring>/usr/bin/python3\x3C/string>
\x3Cstring>{SKILL_PATH}/scripts/global_economy_daily.py\x3C/string>
\x3C/array>
\x3Ckey>StartCalendarInterval\x3C/key>
\x3Cdict>
\x3Ckey>Hour\x3C/key>\x3Cinteger>7\x3C/integer>
\x3Ckey>Minute\x3C/key>\x3Cinteger>0\x3C/integer>
\x3C/dict>
\x3Ckey>RunAtLoad\x3C/key>\x3Ctrue/>
\x3C/dict>
\x3C/plist>
# 加载定时任务
launchctl load ~/Library/LaunchAgents/com.qclaw.global-economy-daily.plist
配置文件
修改 scripts/config.py 来自定义:
- 推送渠道(channel = "qqbot" 或 "feishu")
- 推送时间
- 自定义归因分析逻辑
- 数据源偏好
依赖
- Python 3.x
- 无需额外 pip 包(使用标准库 urllib 请求 Yahoo Finance API)
文件结构
global-economy-daily/
├── SKILL.md
├── _meta.json
├── scripts/
│ ├── global_economy_daily.py # 主脚本
│ └── config.py # 配置文件
└── templates/
└── report_template.md # 报告模板(参考)
注意事项
- 时政板块默认监控美伊霍尔木兹危机,可扩展为多个地缘事件并行追踪
- Yahoo Finance API 偶尔返回 None 历史数据,脚本有容错处理
- 飞书推送使用卡片消息格式,QQ使用纯文本富媒体格式
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install global-economy-daily - After installation, invoke the skill by name or use
/global-economy-daily - Provide required inputs per the skill's parameter spec and get structured output
What is Global Economy Daily?
Automatically generate and send daily global economic insights reports with market data, geopolitical news, and outlooks via QQ or Feishu. It is an AI Agent Skill for Claude Code / OpenClaw, with 75 downloads so far.
How do I install Global Economy Daily?
Run "/install global-economy-daily" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Global Economy Daily free?
Yes, Global Economy Daily is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Global Economy Daily support?
Global Economy Daily is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Global Economy Daily?
It is built and maintained by markdown777 (@markdown777); the current version is v1.0.0.