Track your A-share stocks with a simple watchlist that pulls real-time data from 10jqka.com.cn. Add stocks by their six-digit codes, remove them, or get a quick performance summary with the key metrics displayed directly. Everything is stored locally in a text file at ~/.clawdbot/stock_watcher/watchlist.txt, and the summarize function fetches current data with reasonable rate limiting. It's built specifically for the Chinese stock market (Shanghai, Shenzhen, and STAR boards), so if you're watching U.S. equities or need sub-minute precision, look elsewhere. The straightforward approach works well if you just want a persistent list and occasional snapshots without switching to a browser.
npx -y skills add agentbay-ai/agentbay-skills --skill stock-watcher --agent claude-codeInstalls into .claude/skills of the current project.
This skill provides comprehensive stock watchlist management capabilities, allowing users to track their favorite stocks and get performance summaries using real-time data from 同花顺 (10jqka.com.cn).
当你要求查看自选股行情时,系统会直接显示以下信息:
无需额外命令,直接为你呈现简洁明了的行情概览。
使用股票代码(6位数字)添加到自选股:
通过股票代码删除自选股:
显示当前所有自选股的完整列表
完全清空所有自选股
主要使用同花顺 (10jqka.com.cn) 作为数据源:
https://stockpage.10jqka.com.cn/{stock_code}/自选股存储在 ~/.clawdbot/stock_watcher/watchlist.txt:
600053|九鼎投资
600018|上港集团
688785|恒运昌
600053)运行 scripts/install.sh 脚本自动创建必要的目录结构。
运行 scripts/uninstall.sh 脚本完全移除所有相关文件。
所有脚本都使用统一的配置文件 config.py 来管理存储路径,确保路径一致性:
add_stock.py - 添加股票到自选股remove_stock.py - 从自选股删除股票list_stocks.py - 列出所有自选股clear_watchlist.py - 清空自选股列表summarize_performance.py - 获取股票行情摘要binance/binance-skills-hub
binance/binance-skills-hub