Install
openclaw skills install stock-watcherManage and monitor a personal stock watchlist with support for adding, removing, listing stocks, and summarizing their recent performance using data from 10jqka.com.cn. Use when the user wants to track specific stocks, get performance summaries, or manage their watchlist.
openclaw skills install stock-watcherThis 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 - 获取股票行情摘要