Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计通过

yf-finance永丰金融

Agent Skill

yf-finance 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,644

周安装

108

GitHub Stars

公开资料未说明

下载量

847
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:yf-finance(永丰金融)
来源仓库:https://github.com/erhwenkuo/yf-finance
安装命令:
openclaw skills install yf-finance
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install yf-finance

简介

yf-finance 用于从雅虎财经获取实时和历史财务数据,适合金融信息查询场景。

  • 适用于股票价格、公司财务状况和收益日历等金融数据查询需求。
  • 通过 yf-cli 工具实现数据获取,确保信息准确性和时效性。
  • 安装命令:openclaw skills install yf-finance,建议确认权限范围和维护状态。
  • 使用前请核实是否会触发联网操作及数据访问权限。

SKILL.md

name
yf-finance
description
>
license
MIT
compatibility
Requires Python 3.13+, uv, and yf-cli installed via uv tool install yf-cli. Internet access required.
metadata
author
erhwenkuo
version
1.0
allowed-tools
Bash(yf:*) Bash(uv:*) Bash(command:*)

yf-finance

Query Yahoo Finance data from the command line using yf-cli.

Pre-flight Check

Always run this before any yf command.

command -v yf

If the command is not found, install it:

uv tool install yf-cli

Confirm the tool is ready before continuing:

yf --version

Never skip this check — assume nothing about the environment.


Command Catalogue

Real-time Quote

yf quote TICKER

Returns current price, daily change, volume, and market cap.

Historical OHLCV

yf history TICKER [--period PERIOD] [--interval INTERVAL] [--output FORMAT]
FlagDefaultCommon values
--period1mo1d 5d 1mo 3mo 6mo 1y 2y 5y 10y ytd max
--interval1d1m 5m 15m 30m 60m 1d 1wk 1mo
--outputtablejson csv

Company Info

yf info TICKER

Returns business summary, sector, industry, employee count, and key ratios.

Financials

yf financials TICKER [--type TYPE]

--type values: income (default), balance, cashflow. Returns the most recent annual statements.

Corporate Actions

yf dividends TICKER   # dividend history
yf splits TICKER      # stock split history
yf actions TICKER     # combined dividends and splits

Analyst Data

yf analyst TICKER

Returns price targets (low / mean / high), buy/hold/sell recommendation counts, and EPS estimates.

Ownership

yf holders TICKER

Returns major holders, institutional holders, and insider transactions.

Earnings Calendar

yf calendar TICKER

Returns next earnings date, EPS estimate, and revenue estimate.

Options Chain

yf options TICKER [--output FORMAT]

Returns calls and puts for the nearest expiry. Use --output json to process programmatically.

Search

yf search QUERY

Resolves a company name or partial ticker to a symbol. Use this when the user does not know the exact ticker.

Market Screener

yf screen --preset PRESET

Common presets: most_actives, day_gainers, day_losers, undervalued_large_caps, growth_technology_stocks, aggressive_small_caps.

Market Overview

yf market

Returns sector performance and broad market indices.

News

yf news TICKER

Returns the latest headlines and article links for a ticker.


Output Format Guidance

FormatFlagUse when
Table (default)_(none)_Displaying results directly to the user
JSON--output jsonParsing values, computing statistics, chaining commands
CSV--output csvExporting data for spreadsheet use

Add --no-color in environments that do not support ANSI escape codes.


Decision Guide

User intentCommand
"What is the current price of X?"yf quote TICKER
"Show me X's stock history / chart data"yf history TICKER
"Tell me about company X"yf info TICKER
"Show X's income statement / balance sheet"`yf financials TICKER --type income\balance\cashflow`
"When does X report earnings?"yf calendar TICKER
"What do analysts think of X?"yf analyst TICKER
"Who owns X?"yf holders TICKER
"Show X's options"yf options TICKER
"What are today's top movers?"`yf screen --preset most_actives\day_gainers\day_losers`
"How is the market doing?"yf market
"Latest news on X"yf news TICKER
Unknown ticker or company nameyf search "company name"

Edge Cases

  • Unknown ticker — if yf quote returns no data, run yf search QUERY first to resolve the correct symbol.
  • Delisted or OTC tickers — some symbols are unavailable on Yahoo Finance; inform the user and suggest an alternative ticker if known.
  • Rate limiting — if Yahoo Finance returns an error or empty response, wait a few seconds and retry once before reporting failure.
  • Empty options chain — not all tickers have listed options; handle gracefully and inform the user.
  • Market closedyf quote still returns the last closing price; note this to the user when markets are closed.

Reference Files

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

83.84%
按下载量换算710

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills