finnhub-pro使用 Finnhub 获取美股/全球股票的实时报价、公司档案、新闻、分析师推荐、内部人交易、盈利日历和基本面财务数据。适用场景:查股价、查公司信息、看最新新闻、了解内部人是否在买卖、查看近期财报日期。免费层60次/分钟。
Install via ClawdBot CLI:
clawdbot install lsj210001/finnhub-pro使用 Finnhub API 获取美股及全球市场数据。
已保存:YOUR_FINNHUB_API_KEY(环境变量 FINNHUB_API_KEY 或脚本内硬编码)
通过 Python 脚本调用:
python3 /Users/dtbllsj/.openclaw/workspace/skills/finnhub/scripts/finnhub_cli.py <command> [args] [--json] [--limit N]
或更简洁(在代理中直接用 exec 工具运行):
PYTHON=/Users/dtbllsj/.pyenv/versions/3.12.12/bin/python3
SCRIPT=/Users/dtbllsj/.openclaw/workspace/skills/finnhub/scripts/finnhub_cli.py
python3 $SCRIPT quote AAPL
python3 $SCRIPT quote NVDA
python3 $SCRIPT quote TSLA --json # 返回原始JSON
python3 $SCRIPT profile AAPL
python3 $SCRIPT profile BABA
python3 $SCRIPT news NVDA
python3 $SCRIPT news AAPL --from 2026-02-01 --to 2026-02-21 --limit 5
python3 $SCRIPT recommend NVDA
python3 $SCRIPT recommend TSLA
python3 $SCRIPT insiders AAPL
python3 $SCRIPT insiders NVDA --from 2026-01-01 --to 2026-02-21
python3 $SCRIPT earnings # 所有股票
python3 $SCRIPT earnings NVDA # 指定股票
python3 $SCRIPT earnings --from 2026-02-21 --to 2026-03-07 --limit 30
python3 $SCRIPT financials AAPL
python3 $SCRIPT financials NVDA --json # 全部指标JSON
python3 $SCRIPT market # 默认美国市场
python3 $SCRIPT market NYSE
python3 $SCRIPT market NASDAQ
python3 $SCRIPT peers AAPL
python3 $SCRIPT peers NVDA
python3 $SCRIPT search "apple"
python3 $SCRIPT search "nvidia"
stock_candles - K线数据(需付费)price_target - 分析师目标价(需付费)news_sentiment - 新闻情绪��析(需付费)stock_candles - 历史价格(需付费)import finnhub
client = finnhub.Client(api_key="YOUR_FINNHUB_API_KEY")
# 实时报价
quote = client.quote("AAPL")
# 内部人交易
insiders = client.stock_insider_transactions("AAPL", "2026-01-01", "2026-02-21")
# 盈利日历
earnings = client.earnings_calendar(_from="2026-02-21", to="2026-03-07", symbol="", international=False)
# 基本面
financials = client.company_basic_financials("AAPL", "all")
Generated Feb 26, 2026
Retail investors can use this skill to quickly check real-time stock prices, company profiles, and recent news for stocks like AAPL or NVDA before making trading decisions. It helps them monitor insider trading activities and upcoming earnings dates to gauge market sentiment and potential volatility.
Journalists and financial reporters can leverage the skill to gather up-to-date company news, analyst recommendations, and earnings calendar data for writing articles or reports. It provides a streamlined way to access key financial metrics and market status without manual data collection.
Students and researchers in finance or economics can use the skill to analyze company financials, peer comparisons, and market trends for projects or papers. The free tier supports data retrieval for case studies on stock performance and corporate actions.
Small business owners can utilize the skill to track competitors' stock performance, news, and financial health in global markets. It aids in benchmarking and strategic planning by providing insights into industry peers and market conditions.
Offer basic financial data access for free with rate limits (60 requests/minute), while charging for premium features like historical price data, analyst price targets, and advanced sentiment analysis. This attracts users who need occasional data and upsells to power users requiring deeper insights.
Partner with financial technology applications to embed real-time stock quotes, news, and earnings data directly into their platforms. Provide API access with scalable pricing based on usage volume, enabling apps to enhance user experience without building data infrastructure from scratch.
Develop training programs or workshops that teach individuals and businesses how to use the skill for investment analysis and market research. Combine the free data access with paid courses, certifications, or consulting services to monetize expertise in financial data interpretation.
💬 Integration Tip
Ensure the FINNHUB_API_KEY is properly set as an environment variable to avoid hardcoding in scripts, and monitor usage to stay within the free tier's 60 requests per minute limit to prevent errors.
Analyze stocks and cryptocurrencies using Yahoo Finance data. Supports portfolio management, watchlists with alerts, dividend analysis, 8-dimension stock scoring, viral trend detection (Hot Scanner), and rumor/early signal detection. Use for stock analysis, portfolio tracking, earnings reactions, crypto monitoring, trending stocks, or finding rumors before they hit mainstream.
Get stock prices, quotes, fundamentals, earnings, options, dividends, and analyst ratings using Yahoo Finance. Uses yfinance library - no API key required.
Yahoo Finance (yfinance) powered stock analysis skill: quotes, fundamentals, ASCII trends, high-resolution charts (RSI/MACD/BB/VWAP/ATR), plus optional web a...
Become an autonomous prediction market trader on Polymarket with AI-powered analysis and a performance-backed token on Base. Trade real markets, build a track record, and let the buyback flywheel run.
Get cryptocurrency token price and generate candlestick charts via CoinGecko API or Hyperliquid API. Use when user asks for token price, crypto price, price chart, or cryptocurrency market data.
Trade and monitor Hyperliquid perpetual futures. Check balances, view positions with P&L, place/cancel orders, execute market trades. Use when the user asks about Hyperliquid trading, portfolio status, crypto positions, or wants to execute trades on Hyperliquid.