← 返回 Skills 市场
temmyraharjo

Yfinance

作者 temmyraharjo · GitHub ↗ · v1.0.4 · MIT-0
cross-platform ✓ 安全检测通过
449
总下载
0
收藏
3
当前安装
5
版本数
在 OpenClaw 中安装
/install yfinance
功能描述
Fetch live and historical stock data from Yahoo Finance, optimised for Indonesia (IDX) stocks. Use this skill when the user asks about stock prices, historic...
安全使用建议
This skill is coherent with its stated purpose, but consider the following before installing or exposing it: - Network exposure: The server defaults to binding 0.0.0.0 and the app sets CORS allow_origins=["*"]. If you run this on a machine reachable from the internet, requests from any origin can reach it. Run behind a firewall or bind to localhost (127.0.0.1) when used only by your agent, or add authentication if you intend public access. - Isolation: Install Python packages in a virtualenv or container rather than system Python to limit impact of package installation. - Review and test: There are minor bugs/typos visible in the provided source (truncated excerpt and a likely ticker.u typo in the dividends endpoint) — review or run unit tests locally before relying on it in production. - Dependencies: The install relies on PyPI packages (yfinance, fastapi, uvicorn, pandas). Verify you trust these package sources and keep them up to date. - If you plan to publish this connector publicly or open port 8000 on a cloud VM, add API access controls and reduce CORS scope to trusted origins. If you want, I can point out the exact lines to change to bind to localhost, remove permissive CORS, or fix the apparent typo so the service runs more safely and reliably.
功能分析
Type: OpenClaw Skill Name: yfinance Version: 1.0.4 The skill bundle is a legitimate stock market data tool that wraps the yfinance library in a FastAPI server. It provides endpoints for real-time prices, historical data, and company fundamentals, with specific optimizations for Indonesian (IDX) stocks. The code in main.py and the instructions in SKILL.md are consistent with the stated purpose, and no indicators of data exfiltration, malicious execution, or harmful prompt injection were found.
能力标签
cryptocan-make-purchases
能力评估
Purpose & Capability
Name/description match the included files and dependencies: main.py implements a FastAPI server that uses the yfinance Python package; required binaries (python3, curl) and the listed Python packages are appropriate and expected.
Instruction Scope
SKILL.md instructs the agent to run a local FastAPI server (uvicorn) and to start it on 0.0.0.0:8000 if not running; it also suggests installing requirements. This is consistent with the connector model but carries operational considerations: running on 0.0.0.0 + CORS allow_origins=["*"] will expose the API to the network if the host/network is configured to allow ingress (the README even instructs opening port 8000/NSG). There are also minor code-quality issues visible (a truncated snippet and a probable typo in get_dividends: ticker.u) which would cause runtime errors but not indicate malicious behavior.
Install Mechanism
Install uses pip/requirements.txt and declares yfinance in the install spec — a standard PyPI-based installation. No arbitrary downloads, URL shorteners, or archive/extract steps are present.
Credentials
The skill requests no environment variables, credentials, or config paths beyond typical Python runtime tools. There are no requests for unrelated secrets or system configuration.
Persistence & Privilege
The skill is not always-enabled and does not request elevated platform privileges. It suggests how to run as a systemd service if the user chooses to deploy it persistently, which is expected for a connector service and not intrinsically a privilege escalation.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install yfinance
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /yfinance 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.4
yfinance 1.0.4 - Added _meta.json file for metadata support. - Simplified and condensed SKILL.md instructions and rules. - Updated SKILL.md with startup logic for automatic server launch. - Retained essential usage details, but removed extended explanations and examples. - Response format and API usage notes made more concise.
v1.0.3
**Changelog v1.0.3 – yfinance Skill** - Added FastAPI server integration for all stock data endpoints (realtime price, history, fundamentals, dividends, splits). - Updated SKILL.md documentation with detailed instructions, endpoint descriptions, usage examples, and response format. - Enhanced support and explicit instructions for Indonesian stock tickers (auto .JK). - Replaced old implementation and metadata files with new README, main API code, and OpenAPI schema. - Cleaned up unnecessary legacy files for a more streamlined setup.
v1.0.2
- Documentation update only: no changes to code or functionality. - SKILL.md refreshed with the same feature set, usage instructions, and conventions.
v1.0.1
- Added _meta.json file for improved skill metadata management. - No functional or user-facing changes introduced in this version.
v1.0.0
Initial IDX-aware batch/single yfinance skill. Public access enabled.
元数据
Slug yfinance
版本 1.0.4
许可证 MIT-0
累计安装 3
当前安装数 3
历史版本数 5
常见问题

Yfinance 是什么?

Fetch live and historical stock data from Yahoo Finance, optimised for Indonesia (IDX) stocks. Use this skill when the user asks about stock prices, historic... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 449 次。

如何安装 Yfinance?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install yfinance」即可一键安装,无需额外配置。

Yfinance 是免费的吗?

是的,Yfinance 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Yfinance 支持哪些平台?

Yfinance 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Yfinance?

由 temmyraharjo(@temmyraharjo)开发并维护,当前版本 v1.0.4。

💬 留言讨论