跳到正文
TakoAPI
返回技能列表

finance

由 anton-roos 提供

Coding Agents & IDEs
7.9k下载量由 clawskills.sh 提供
13星标
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Track stocks, ETFs, indices, crypto (where available), and FX pairs with caching + provider fallbacks.

描述

该技能的功能

Fetches latest quotes and historical price series for stocks, ETFs, indices, FX pairs, and crypto tickers. Uses Yahoo Finance and ExchangeRate-API by default with no API keys required. Caches responses locally to stay within rate limits.

Works without any API keys by default using Yahoo Finance and ExchangeRate-API, with optional paid provider support for higher-frequency or higher-volume needs.

何时使用

  • Check the current price of AAPL, ^GSPC, or VOO
  • Track USD/ZAR or EURUSD exchange rates
  • Pull a 30-day historical series for a stock or ETF
  • Maintain a watchlist and review daily performance changes
  • Monitor multiple tickers and get a combined summary

示例工作流

输入

User asks: What is AAPL trading at today, and can you show me the last 30 days?

智能体
  1. 1

    Run market_quote.py AAPL to fetch the latest price and change %

  2. 2

    Check local cache to skip redundant API calls

  3. 3

    Run market_series.py AAPL --days 30 to retrieve the historical series

  4. 4

    Return the current quote with source and timestamp, plus a preview of the first and last rows of the series

输出

AAPL current price with % change and data source, plus a 30-day CSV preview confirming date range and row count

前置要求

  • TWELVEDATA_API_KEY (optional, required only if adding Twelve Data as a paid provider)
  • ALPHAVANTAGE_API_KEY (optional, required only if adding Alpha Vantage as a paid provider)

安装

clawhub install anton-roos/finance

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接