微算力 · API 导航与自营网关
API 接入 EN
未登录登录
📈

智能 IDX 股票数据一键获取

Yfinance · v1.0.2
入口已确认,内容待校验 文件树里有 SKILL.md,但正文还没采回,frontmatter 未核对。
效率 安全 A 级 作者 temmyraharjo 公开目录收录
1.1k 下载 0 安装 3k 收藏 18 浏览

简介

专为印尼股票优化的 yfinance 数据获取工具,自动处理 IDX 代码后缀,提供实时价格、技术与基本面快照及历史数据。

原始描述

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...

通过你的 Agent 添加

安装目录:yfinance-42680/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/yfinance-42680/
Codex CLI~/.codex/skills/yfinance-42680/
DeepSeek Harness~/.agents/skills/yfinance-42680/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文

yfinance AgentSkill

Fetch price, technical, and fundamental data using the Python yfinance package. Specially tuned for Indonesian (IDX) stocks with smart ticker handling and concise output.


⚙️ Features

  • Fetches real-time price and snapshot summary for 1 or more tickers (batch/single).
  • IDX auto-suffix: On input tickers for Indonesian stocks, if ".JK" is missing, append it automatically.
  • Supports both international and IDX-listed tickers.
  • Provides concise fundamental AND technical snapshots (see SOUL.md for conventions).
  • Returns last 3 months of historical price data when requested (defaults to daily, adjustable granularity).
  • Error/warning handling for invalid tickers or missing data, in line with teaching/analyst persona.

🛠️ Usage

  • yfinance snapshot <ticker or [tickers]> — Get concise price, technical, and fundamental summary(s)
  • yfinance history <ticker or [tickers]> [period] [interval] — Last 3 months historical price data (default: period=3mo, interval=1d)

Examples:

  • yfinance snapshot ADRO (IDX, returns ADRO.JK)
  • yfinance snapshot ADRO,BBCA,TLKM (batch, all suffix-handled)
  • yfinance history AGII (IDX, 3-month chart)
  • yfinance snapshot AAPL (non-IDX, no suffix added)

📑 Input rules

  • Tickers: Accept comma/space list or single ticker (e.g. "ADRO, BBCA, TLKM" or ["ADRO","BBCA"])
  • If ticker is all caps, at most 5 letters, and not suffixed → treat as IDX/append .JK.

🔍 Output

  • Follows SOUL.md style: clear, section-divided, teaching tone
  • Concise: Key price/fundamentals, important technical levels
  • Use emoji markers (see SOUL.md) sparingly and strictly as structure
  • Mark missing/unavailable data
  • Flag unclear/ambiguous tickers

🧩 Implementation

  • Language: Python 3
  • Core Libs: yfinance, pandas (for tabular/series), datetime

EXTEND

If enhancing, consult SOUL.md for stylistic/analysis rules and TOOLS.md for local env details. For direct API integration, keep endpoints and auth secure.


Author

Auto-generated by skill-creator (OpenClaw subagent) on behalf of Temmy Raharjo. 2026

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

financestocksindonesiaidxmarket-datayfinancetradinginvestmentpython

同类 Skill