360 Secure SkillHub
360 安全技能中心

yf-stats

通过 python3 脚本按股票代码获取行情数据,并在传入 --chart 时生成价格走势图。SKILL.md 以 openclaw 元数据声明运行命令、python 依赖与二进制;未说明具体数据源接口细节、输出文件路径与图表格式。

grayson85
grayson85
热度 68.90
最近更新 2026-05-17 13:46:50
分类:数据依赖:代码执行 / 第三方 API应用场景:财务 / 市场分析 / 数据处理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add yf-stats
Metadata
name
yf-stats
description
Fetches stock data and generates price charts.
metadata
{"openclaw":{"emoji":"📈","binaries":["python3"],"dependencies":{"python":"requirements.txt"},"command":"python3 yf_scraper.py {{ticker}} {{chart_flag}}"}}

Yahoo Finance Pro

Use this to get financial data. If the user asks for a "chart," "graph," or "trend," include the --chart flag.

Parameters

  • ticker: The symbol (e.g., ONDS).
  • chart_flag: Use --chart if a visual is requested, otherwise leave blank.

Example

  • User: "Show me the ONDS chart."
  • Agent runs: python3 yf_scraper.py ONDS --chart