360 Secure SkillHub
360 安全技能中心

stock_data

通过 python3 skill.py {TICKER} {EXCHANGE} 直接从 SimplyWall.st 抓取网页并解析内嵌的 __REACT_QUERY_STATE__,输出公司信息、价格与回报、估值、财务、利润率、增长、股息、预测、目标价、健康度、内部人活动、Snowflake 评分与近期事件等结构化数据,声明无需 API key,支持 IDX/NASDAQ/NYSE/ASX/LS…

分类:数据
raufimusaddiq
raufimusaddiq
热度 55.83
最近更新 2026-05-11 17:26:45

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add raufimusaddiq/stock-data-skill
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
stock_data
description
Fetch comprehensive stock data from Simplywall.st. Use when user asks about stock prices, valuation, financials, dividend, or investment analysis for any global stock.
metadata
{"openclaw":{"emoji":"📈","version":"2.0.0","author":"OpenClaw Community","requires":{}},"changelog":["v2.0.0 - Enhanced: price targets, all returns (1d-5yr), insider activity, margins, health/balance sheet, growth rates, forecasts, 52W range, volatility","v1.3.0 - Switch to direct HTTP fetch (no API key required)"]}

Stock Data - Simplywall.st v2.0

Fetch comprehensive stock data from Simplywall.st for any global stock.

When to Use

  • User asks about stock prices, valuation, financials
  • Investment analysis or stock thesis generation
  • Dividend info, growth rates, insider activity
  • Analyst price targets and forecasts

Usage

cd ~/.openclaw/workspace/skills/stock-data-skill && python3 skill.py {TICKER} {EXCHANGE}

Output Structure (v2.0)

Section Key Fields
company name, description, country, founded, website
price last, currency, beta5Y, min52W, max52W, isVolatile, dailyStdDev
returns 1d, 7d, 30d, 90d, ytd, 1yr, 3yr, 5yr, sinceIPO
valuation peRatio, pbRatio, pegRatio, priceToSales, evToEbitda, npvPerShare, intrinsicDiscount, status
financials eps, roe, roa, debtEquity, revenue, netIncome, yearsProfitable, latestFiscalYear
margins grossProfit, netIncome, ebit, ebitda
growth revenueGrowth 1Y/3Y/5Y, netIncomeGrowth 1Y/3Y/5Y, epsGrowth 1Y/3Y/5Y
dividend yield, futureYield, payingYears, payoutRatio, buybackYield, totalShareholderYield
forecast epsGrowth 1Y/3Y, revenueGrowth 1Y/2Y/3Y, netIncomeGrowth 1Y/2Y/3Y, forwardPE1Y, roe1Y/3Y
priceTarget consensus, low, high, analystCount
health totalDebt, totalEquity, totalAssets, debtToEquity, currentRatio, interestCover, leveredFCF, bookValuePerShare
insiders buyingRatio, totalSharesBought, totalSharesSold, totalEmployees, boardMembers
snowflake value, future, past, health, dividend (each 0-6)
recentEvents title, description (up to 5)

Supported Exchanges

IDX, NASDAQ, NYSE, ASX, LSE, TSX, SGX, TSE, HKSE, KRX

Data Source

  • Direct HTTP fetch from SimplyWall.st (no API key required)
  • Parses __REACT_QUERY_STATE__ embedded in HTML
  • Extracts both basic and extended analysis data
  • Price data updated daily, financials quarterly