Install
openclaw skills install @dandelion80231/stock-watcher-2Manage and monitor a personal stock watchlist with support for adding, removing, listing stocks, and summarizing their recent performance using dual API sources (Sina + Tencent). Use when the user wants to track specific stocks, get performance summaries, or manage their watchlist.
openclaw skills install @dandelion80231/stock-watcher-2自选股管理与行情监控工具,支持双数据源(新浪 + 腾讯)自动切换,提供实时行情摘要和详细股票信息查询。
python scripts/add_stock.py 600519
python scripts/list_stocks.py
python scripts/summarize_performance.py
python scripts/query_stock_detail.py 600519
python scripts/remove_stock.py 600519
python scripts/clear_watchlist.py
| 脚本 | 功能 | 示例 |
|---|---|---|
add_stock.py | 添加股票到自选股 | python add_stock.py 600519 |
remove_stock.py | 从自选股删除股票 | python remove_stock.py 600519 |
list_stocks.py | 列出所有自选股 | python list_stocks.py |
clear_watchlist.py | 清空自选股列表 | python clear_watchlist.py |
summarize_performance.py | 获取行情摘要(双API) | python summarize_performance.py |
monitor_stocks.py | 监控股票价格变动 | python monitor_stocks.py |
query_stock_detail.py | 查询股票详情(88字段) | python query_stock_detail.py 600519 |
| 特性 | 新浪财经 API | 腾讯财经 API |
|---|---|---|
| 延迟 | ~107 ms | ~77 ms ✅ |
| 数据字段 | 34 | 88 ✅ |
| Level 2 买卖五档 | ❌ | ✅ |
| 稳定性 | ✅ 非常稳定 | ✅ 稳定 |
输出示例:
贵州茅台 (600519)
当前价: ¥1215.000 (-2.02%)
[数据源: sina]
# 或新浪失败时:
贵州茅台 (600519)
当前价: ¥1215.00 (-2.02%)
[数据源: tencent]
使用腾讯财经 API 获取完整数据,包括:
行情数据
交易数据
市值数据
涨跌停数据
技术指标
Level 2 买卖五档
支持的股票类型
输出示例
======================================================================
股票名称: 中化国际
股票代码: 600500
======================================================================
【行情数据】
当前价: ¥8.83
昨收: ¥9.20
涨跌幅: -4.02%
【交易数据】
成交量: 4085814 手
成交额: 356213 万元
换手率: 11.39%
【市值数据】
总市值: 316.85 亿元
流通市值: 316.85 亿元
【买卖五档】
买一: ¥8.83 (127手)
卖一: ¥8.84 (177手)
【更新时间】
2026-06-18 16:14:01
======================================================================
自选股存储在:~/.clawdbot/stock_watcher/watchlist.txt
格式:
600519|贵州茅台
002600|领益智造
~/.qclaw/skills/stock-watcher/D:\电脑桌面\stock-watcher-v1.0\Version: v1.0
Last Updated: 2026-06-21