Voltar ao marketplace

yahoo-finance

A Node.js CLI for fetching comprehensive stock data from Yahoo Finance using the `yahoo-finance2` library.

4,522downloads18instalações17estrelas
v1.0.0
cmdopDevelopment3/2/2026

Overview

Fetch comprehensive stock data from Yahoo Finance using the yahoo-finance2 library.

Key Features

  • Get real-time price, change, and basic data
  • Get detailed modules like earnings, financial data, and profiles
  • Get technical and fundamental insights (valuation, outlook)
  • Search for symbols

How It Works

The tool is available as yf. It outputs JSON, which can be piped to jq for filtering.

Use Cases

  • Quick price check
  • Next earnings date
  • Analyst recommendations
  • Company profile
  • Historical OHLCV
  • Search for symbols
  • Trending symbols (US)
  • Insights (valuation, outlook)

Examples

  • Quick price check: yf quote NVDA | jq '{symbol: .symbol, price: .regularMarketPrice, changePct: .regularMarketChangePercent}'
  • Next earnings date: `yf quoteSummary TSLA ’{

Avaliações

Nenhuma avaliação ainda.