Install
openclaw skills install wsb-digest自动抓取 r/wallstreetbets 热股数据,生成每日报告推送到 Discord。使用 ApeWisdom API,支持分片发送避免 Discord 2000 字符限制。
openclaw skills install wsb-digest自动监控 WallStreetBets (WSB) 热门股票,每日生成热股报告并推送到 Discord。
# 在你的 OpenClaw workspace 中
cd ~/.openclaw/workspace/skills
git clone https://github.com/mingkko/wsb-digest.git
# 或者手动复制本文件夹到 skills/wsb-digest/
本 skill 仅依赖 Node.js (v18+),无需额外 npm 包。
编辑 scripts/wsb-digest-trigger.sh,修改以下变量:
# Discord 频道 ID(必须修改!)
TARGET_CHANNEL_ID="你的频道ID"
# OpenClaw 可执行文件路径(根据你的安装调整)
OPENCLAW_BIN=/root/.local/share/pnpm/openclaw
获取 Discord 频道 ID:
crontab -e
# 添加以下行(每天北京时间 9:00 和 21:00 推送)
0 9,21 * * * /root/.openclaw/workspace/skills/wsb-digest/scripts/wsb-digest-trigger.sh
# 手动运行测试
/root/.openclaw/workspace/skills/wsb-digest/scripts/wsb-digest-trigger.sh
📊 **WSB 每日热股报告**
⏰ 2026/03/04 09:00 (北京时间)
📈 数据来源: ApeWisdom (r/wallstreetbets)
📊 总提及股票: 643 只
## 🔥 TOP 15 热门股票
1. **$SPY** 🟢🟢🟢
📊 200 次提及 (+29.0%)
👍 2301 upvotes
📈 ➡️ 持平
🏢 SPDR S&P 500 ETF Trust
2. **$NVDA** 🟢🟢🟢
📊 65 次提及 (-17.7%)
👍 296 upvotes
📈 ➡️ 持平
🏢 NVIDIA
## 🚀 快速上升股票
↗️ **$UAE**: 上升 42 位 (从 #45 → #3) 🔥
↗️ **$USO**: 上升 51 位 (从 #59 → #8) 🔥
---
📝 数据来自 ApeWisdom API | ⏰ 每日 9:00 & 21:00 更新
⚠️ 仅供参考,不构成投资建议
wsb-digest/
├── SKILL.md # 本文件
├── scripts/
│ ├── apewisdom-wsb.js # 核心抓取脚本
│ └── wsb-digest-trigger.sh # Discord 推送脚本
└── references/
└── install-guide.md # 详细安装指南
编辑 crontab:
crontab -e
Cron 格式说明:
# 每天 9:00 和 21:00(北京时间)
0 9,21 * * * /path/to/wsb-digest-trigger.sh
# 每天 12:00 一次
0 12 * * * /path/to/wsb-digest-trigger.sh
# 每 6 小时一次
0 */6 * * * /path/to/wsb-digest-trigger.sh
编辑 scripts/apewisdom-wsb.js:
// 修改 TOP N 数量(默认 15)
const stocks = data.results.slice(0, 15);
// 修改快速上升股票数量(默认 5)
const trending = data.results.filter(...).slice(0, 5);
在 apewisdom-wsb.js 中修改 generateDigest() 函数的 output 拼接部分。
解决: 确保 Node.js 已安装,并在脚本中正确设置 PATH:
export PATH="/usr/bin:/usr/local/bin:$PATH"
解决:
TARGET_CHANNEL_ID 是否正确openclaw 命令路径是否正确解决:
tail -f /tmp/wsb-digest.log# 实时查看日志
tail -f /tmp/wsb-digest.log
# 查看最近 50 行
tail -n 50 /tmp/wsb-digest.log
cd ~/.openclaw/workspace/skills/wsb-digest
git pull
MIT