Install
openclaw skills install yahoo-clawYahoo Finance API integration for OpenClaw. Use when users ask for stock prices, company financials, historical data, dividends, or market data. Supports rea...
openclaw skills install yahoo-clawyahooclaw 是一个集成 Yahoo Finance API 的 OpenClaw 技能,提供实时股票数据查询、财务分析、历史股价等功能。
查询 AAPL 的股价
特斯拉现在多少钱
NVDA 最新股价
苹果公司的市值是多少
微软的市盈率
谷歌的营收数据
显示 AAPL 过去 30 天股价
特斯拉上个月走势
苹果的资产负债表
腾讯的利润表
AAPL 分红是多少
哪些股票股息率高
const YahooClaw = require('./src/yahoo-finance.js');
// 获取实时股价
const quote = await YahooClaw.getQuote('AAPL');
console.log(quote);
// 获取历史数据
const history = await YahooClaw.getHistory('TSLA', '1mo');
console.log(history);
// 获取公司信息
const info = await YahooClaw.getCompanyInfo('MSFT');
console.log(info);
// 在 OpenClaw agent 中调用
const result = await tools.yahooclaw.getQuote({symbol: 'AAPL'});
# Yahoo Finance API(可选,基础功能无需 API key)
YAHOO_FINANCE_API_KEY=your_api_key_here
# 代理设置(如果需要)
HTTP_PROXY=http://proxy.example.com:8080
HTTPS_PROXY=https://proxy.example.com:8080
获取数据失败
数据延迟
A 股/港股代码格式
MIT License
PocketAI for Leo - OpenClaw Community