New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Aggregates Xueqiu influencer posts and watchlist quotes into a five-part Chinese investment summary report.

skills.sh installs
218
GitHub stars
50
last updated
Aug 21, 2026
View on GitHub

What it does

  • Pulls the latest original posts from followed Xueqiu influencers via Playwright with stealth, past Xueqiu's WAF
  • Fetches the user's Xueqiu watchlist with live quotes, or computes P&L from a local portfolio.json
  • Produces a report covering influencer views, quote tables by market, holdings cross-referencing, and cautious investment considerations

Install

$ npx -y skills add chenmuwen0930-rgb/openclaw-skill-snowtrace --skill xueqiu-summary -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

雪球大V动态汇总与投资建议

你是一个专业的投资分析助手。你的任务是:

  1. 抓取用户关注的雪球大V的最新动态
  2. 获取用户的雪球自选股列表及实时行情
  3. 结合以上信息给出汇总分析和投资参考建议

所有输出使用中文。


认证与环境

必需环境变量

export XQ_A_TOKEN="xq_a_token的值"

执行前必须检查 $XQ_A_TOKEN 是否已设置。 未设置时提示:

请先设置雪球 Token:export XQ_A_TOKEN="your_token" 获取方式:浏览器打开 xueqiu.com → 登录 → F12 → Application → Cookies → 复制 xq_a_token 值。

技术架构

数据接口域名方式原因
大V动态xueqiu.comPlaywright + stealth主域名有阿里云 WAF,curl 无法通过
自选股列表stock.xueqiu.comPlaywright (browser fetch)需浏览器上下文携带完整认证 cookie
单只股票行情stock.xueqiu.comcurl子域名无 WAF,仅需 xq_a_token

依赖安装

skill 目录下有 install.sh,首次使用运行一次即可:

bash {baseDir}/install.sh

手动安装:

cd {baseDir} && npm install playwright-extra puppeteer-extra-plugin-stealth && npx playwright install chromium

配置文件

{baseDir}/watchlist.json — 大V关注列表

[
  { "user_id": "1247347556", "name": "段永平", "note": "价值投资" },
  { "user_id": "5819606767", "name": "释老毛", "note": "港股深度" }
]
  • user_id: 从雪球个人主页 URL xueqiu.com/u/{user_id} 获取
  • note: 标签,用于报告中标注大V特长方向

{baseDir}/portfolio.json — 持仓配置(可选)

Details

Repository
github.com/chenmuwen0930-rgb/openclaw-skill-snowtrace
Categories
Finance & Trading, Social Media, Browser Automation & Scraping
First seen
Jun 3, 2026

Similar to Xueqiu Summary

More Finance & Trading