install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/asterisk622/xiaoding-stock" ~/.claude/skills/openclaw-skills-xiaoding-stock && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/asterisk622/xiaoding-stock" ~/.openclaw/skills/openclaw-skills-xiaoding-stock && rm -rf "$T"
manifest:
skills/asterisk622/xiaoding-stock/SKILL.mdsource content
Stock Skill - 股票查询
获取A股、港股、美股的实时行情数据。
支持的市场
- A股: 上海/深圳股票(使用新浪财经接口)
- 港股: 港股股票(使用新浪财经接口)
- 美股: 美股股票(使用新浪财经接口)
使用方式
# 查询A股股票(自动识别沪深市场) stock 600519 # 贵州茅台 stock 000001 # 平安银行 stock 300750 # 宁德时代 # 查询港股 stock 00700 # 腾讯控股 # 查询美股 stock AAPL # 苹果 stock MSFT # 微软
输出格式
返回股票的:
- 当前价格
- 涨跌幅
- 涨跌额
- 开盘价
- 最高价
- 最低价
- 成交量
- 成交额
- 换手率