运行时依赖
安装命令
点击复制技能文档
盯盘哨兵
上班族工作时间无法盯盘?让小妹帮你实时查询股票、贵金属价格走势,推送到你的频道!
触发场景
当用户说以下内容时触发:
"查一下 XXX 股票" "看看 XXX 现在什么价格" "盯一下 XXX 的走势" "帮我看看 XXX 现在怎么样" "XXX 股票现在多少钱" "黄金/白银现在什么价格" "查一下原油期货" "看看铜的价格" "螺纹钢现在多少钱" "上证指数现在多少点" 支持的品种 股票 A股:支持股票名称或代码(如"茅台"、"600519"、"贵州茅台") 港股:支持港股代码(如"00700"、"腾讯") 美股:支持美股代码(如"AAPL"、"特斯拉") 贵金属 黄金(AU):现货黄金、黄金期货、黄金T+D 白银(AG):现货白银、白银期货、白银T+D 铂金(PT):铂金期货 钯金(PD):钯金期货 期货 能源期货:原油、天然气、燃油、沥青 金属期货:铜、铝、锌、铅、镍、锡 化工期货:PTA、甲醇、塑料、PP、PVC 农产品期货:豆粕、玉米、小麦、棉花、白糖 黑色系期货:螺纹钢、热卷、铁矿石、焦炭、焦煤 贵金属现货 国际现货:伦敦金、伦敦银 国内现货:黄金T+D、白银T+D 指数 A股指数:上证指数、深证成指、创业板指、科创50 港股指数:恒生指数、恒生科技指数 美股指数:道琼斯、纳斯达克、标普500 工作流程 ┌─────────────────────────────────────────────────────────────┐ │ 盯盘哨兵工作流程 │ ├─────────────────────────────────────────────────────────────┤ │ │ │ 1️⃣ 解析用户请求 │ │ 识别品种类型和代码/名称 │ │ 股票/贵金属/期货/指数 │ │ │ │ 2️⃣ 查找品种代码 │ │ 名称 → 标准代码(如"黄金" → "AU") │ │ 如果找不到,询问用户确认 │ │ │ │ 3️⃣ 选择数据源 │ │ 根据品种类型选择合适的财经网站 │ │ 股票 → 东方财富/新浪财经 │ │ 期货 → 东方财富期货/文华财经 │ │ 贵金属 → 东方财富 │ │ │ │ 4️⃣ 访问财经网站(必须使用 browser_use) │ │ 步骤: │ │ - browser_use action=open url=目标URL │ │ - browser_use action=snapshot 获取页面数据 │ │ - 从 snapshot 中提取价格信息 │ │ │ │ 5️⃣ 获取实时数据 │ │ - 当前价格 │ │ - 涨跌幅/涨跌额 │ │ - 今开/昨收 │ │ - 成交量/成交额 │ │ - 最高/最低 │ │ - 持仓量(如有) │ │ │ │ 6️⃣ 生成分析报告 │ │ 按照输出模板生成简洁易读的报告 │ │ │ │ 7️⃣ 推送到频道 │ │ 使用 copaw channels 发送 推送到用户微信 │ │ 目标:会话_id=weixin:o9cq8012x7_zwZtDYePv8bo7qxLM │ │ │ └─────────────────────────────────────────────────────────────┘
常用 URL 速查 贵金属(东方财富) 品种 URL 说明 国际黄金 https://quote.eastmoney.com/globalfuture/GC00Y.html COMEX黄金 沪金期货 https://quote.eastmoney.com/qihuo/aum.html 沪金主连 沪银期货 https://quote.eastmoney.com/qihuo/agm.html 沪银主连 大宗商品(TradingEconomics) 品种 URL 说明 商品总览 https://zh.tradingeconomics.com/commodities 所有商品价格一览 原油 https://zh.tradingeconomics.com/commodity/crude-oil WTI原油 布伦特原油 https://zh.tradingeconomics.com/commodity/brent-crude-oil 布伦特原油 天然气 https://zh.tradingeconomics.com/commodity/natural-gas 天然气 铜 https://zh.tradingeconomics.com/commodity/copper LME铜 铝 https://zh.tradingeconomics.com/commodity/aluminum LME铝 指数(东方财富) 品种 URL 说明 上证指数 https://quote.eastmoney.com/sh000001.html 上证指数 创业板指 https://quote.eastmoney.com/sz399006.html 创业板指 科创50 https://quote.eastmoney.com/kcb/000688.html 科创50 A股股票 URL 拼接规则 基础 URL:https://quote.eastmoney.com/{市场}/{代码}.html
市场代码:
- 沪市A股:sh (如 600519)
- 深市A股:sz (如 000001)
- 创业板:sz (如 300750)
- 科创板:kcb (如 688813)
- 北交所:bj (如 872926)
示例:
- 贵州茅台:https://quote.eastmoney.com/sh600519.html
- 宁德时代:https://quote.eastmoney.com/sz300750.html
- 科创50:https://quote.eastmoney.com/kcb/000688.html
港股股票 URL 拼接规则 基础 URL:https://quote.eastmoney.com/hk/{代码}.html
示例:
- 腾讯控股:https://quote.eastmoney.com/hk/00700.html
- 阿里巴巴:https://quote.eastmoney.com/hk/09988.html
美股股票 URL 拼接规则 基础 URL:https://quote.eastmoney.com/us/{代码}.html
示例:
- 苹果:https://quote.eastmoney.com/us/AAPL.html
- 特斯拉:https://quote.eastmoney.com/us/TSLA.html
黄金查询完整示例 # 步骤 1: 打开国际黄金页面 browser_use action=open url=https://quote.eastmoney.com/globalfuture/GC00Y.html
# 步骤 2: 获取页面数据 browser_use action=snapshot
# 步骤 3: 提取数据(从 snapshot 结果中找) # 当前价格、涨跌幅、今开、昨收、最高、最低、成交量
# 步骤 4(可选): 打开沪金期货页面对比 browser_use action=open url=https://quote.eastmoney.com/qihuo/aum.html browser_use action=snapshot
股票查询完整示例 # 步骤 1: 根据股票名称搜索代码 # 用户说"查一下茅台",先确定代码是 600519
# 步骤 2: 拼接 URL 并打开 browser_use action=open url=https://quote.eastmoney.com/sh600519.html
# 步骤 3: 获取页面数据 browser_use action=snapshot
# 步骤 4: 提取数据 # 当前价格、涨跌幅、今开、昨收、最高、最低、成交量、成交额
大宗商品查询示例(原油、铜等)
注意:TradingE