Logo: Access Yahoo Finance Data

Access Yahoo Finance Data

Organisatioun
rondoflow
access-yahoo-finance-data

Access Yahoo Finance data including real-time pricing, fundamentals, analyst estimates, options, news, and historical data via the yahooquery Python library.

Iwwersiicht

Editeurrondoflow
Repositoryrondoflow
Skill-Nummaccess-yahoo-finance-data
Stären
29
Forks
2
Matgeliwwert Dateien
1
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 1 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    rondoflow huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Access Yahoo Finance Data an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/rondoflow/rondoflow/tree/master/packages/catalog/content/skills/access-yahoo-finance-data
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/rondoflow/rondoflow.git /tmp/rondoflow
mkdir -p .claude/skills
cp -r /tmp/rondoflow/packages/catalog/content/skills/access-yahoo-finance-data .claude/skills/access-yahoo-finance-data
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Access Yahoo Finance Data an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Access Yahoo Finance Data automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Access Yahoo Finance Data net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

yahooquery Skill

Comprehensive access to Yahoo Finance data via the yahooquery Python library. This library provides programmatic access to nearly all Yahoo Finance endpoints, including real-time pricing, fundamentals, analyst estimates, options, news, and premium research.

Core Classes

1. Ticker (Company-Specific Data)

The primary interface for retrieving data about one or more securities.

python
from yahooquery import Ticker

# Single or multiple symbols
aapl = Ticker('AAPL')
tickers = Ticker('AAPL MSFT NVDA', asynchronous=True)

2. Screener (Predefined Stock Lists)

Access to pre-built screeners for discovering stocks by criteria.

python
from yahooquery import Screener

s = Screener()
screeners = s.available_screeners  # List all available screeners
data = s.get_screeners(['day_gainers', 'most_actives'], count=10)

3. Research (Premium Subscription Required)

Access proprietary research reports and trade ideas.

python
from yahooquery import Research

r = Research(username='you@email.com', password='password')
reports = r.reports(report_type='Analyst Report', report_date='Last Week')
trades = r.trades(trend='Bullish', term='Short term')

Ticker Class: Data Modules

The Ticker class exposes dozens of data endpoints via properties and methods.

📊 Financial Statements

  • .income_statement(frequency='a', trailing=True) - Income statement (annual/quarterly)
  • .balance_sheet(frequency='a', trailing=True) - Balance sheet
  • .cash_flow(frequency='a', trailing=True) - Cash flow statement
  • .all_financial_data(frequency='a') - Combined financials + valuation measures
  • .valuation_measures - EV/EBITDA, P/E, P/B, P/S across periods

📈 Pricing & Market Data

  • .price - Current pricing, market cap, 52-week range
  • .history(period='1y', interval='1d', start=None, end=None) - Historical OHLC
    • period: 1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, max
    • interval: 1m, 2m, 5m, 15m, 30m, 60m, 90m, 1h, 1d, 5d, 1wk, 1mo, 3mo
  • .option_chain - Full options chain (all expirations)

🔍 Analysis & Estimates

  • .calendar_events - Next earnings date, EPS/revenue estimates
  • .earning_history - Actual vs. estimated EPS (last 4 quarters)
  • .earnings - Historical quarterly/annual earnings and revenue
  • .earnings_trend - Analyst estimates for upcoming periods
  • .recommendation_trend - Buy/Sell/Hold rating changes over time
  • .gradings - Recent analyst upgrades/downgrades

🏢 Company Fundamentals

  • .asset_profile - Address, industry, sector, business summary, officers
  • .company_officers - Executives with compensation details
  • .summary_profile - Condensed company information
  • .key_stats - Forward P/E, profit margin, beta, shares outstanding
  • .financial_data - Financial KPIs (ROE, ROA, debt-to-equity, margins)

👥 Ownership & Governance

  • .insider_holders - List of insider holders and positions
  • .insider_transactions - Recent buy/sell transactions by insiders
  • .institution_ownership - Top institutional holders
  • .fund_ownership - Top mutual fund holders
  • .major_holders - Ownership summary (institutional %, insider %, float)

🌍 ESG & Ratings

  • .esg_scores - Environmental, Social, Governance scores and controversies
  • .recommendation_rating - Analyst consensus (Strong Buy → Strong Sell)

📰 News & Insights

  • .news() - Recent news articles
  • .technical_insights - Bullish/bearish technical patterns

💰 Funds & ETFs Only

  • .fund_holding_info - Top holdings, bond/equity breakdown
  • .fund_performance - Historical performance and returns
  • .fund_bond_holdings / .fund_bond_ratings - Bond maturity and credit ratings
  • .fund_equity_holdings - P/E, P/B, P/S for equity holdings

📊 Other Modules

  • .summary_detail - Trading stats (day high/low, volume, avg volume)
  • .default_key_statistics - Enterprise value, trailing P/E, forward P/E
  • .index_trend - Performance relative to a benchmark index
  • .quote_type - Security type, exchange, market

Global Functions

python
import yahooquery as yq

# Search
results = yq.search('NVIDIA')

# Market Data
market = yq.get_market_summary(country='US')  # Major indices snapshot
trending = yq.get_trending(country='US')  # Trending tickers

# Utilities
currencies = yq.get_currencies()  # List of supported currencies
exchanges = yq.get_exchanges()  # List of exchanges
rate = yq.currency_converter('USD', 'EUR')  # Exchange rate

Configuration & Keyword Arguments

The Ticker, Screener, and Research classes accept these optional parameters:

Performance & Reliability

  • asynchronous=True - Make requests asynchronously (for multiple symbols)
  • max_workers=8 - Number of concurrent workers (when async)
  • retry=5 - Number of retry attempts
  • backoff_factor=0.3 - Exponential backoff between retries
  • status_forcelist=[429, 500, 502, 503, 504] - HTTP codes to retry
  • timeout=5 - Request timeout in seconds

Data Format & Validation

  • formatted=False - If True, returns data with {raw, fmt, longFmt} structure
  • validate=True - Validate symbols on instantiation (invalid → .invalid_symbols)
  • country='United States' - Regional data/news (france, germany, canada, etc.)

Network & Auth

  • proxies={'http': 'http://proxy:port'} - HTTP/HTTPS proxy
  • user_agent='...' - Custom user agent string
  • verify=True - SSL certificate verification
  • username='you@email.com' / password='...' - Yahoo Finance Premium login

Advanced (Shared Sessions)

  • session=... / crumb=... - Share auth between Research and Ticker instances

Best Practices

1. Async for Multiple Symbols

python
tickers = Ticker('AAPL MSFT NVDA TSLA', asynchronous=True)
prices = tickers.price  # Returns dict keyed by symbol

2. Handling DataFrames

Most financial methods return pandas.DataFrame. Convert for JSON output:

python
df = aapl.income_statement()
print(df.to_json(orient='records', date_format='iso'))

3. Historical Data - 1-Minute Intervals

Yahoo limits 1-minute data to 7 days per request. For 30 days:

python
tickers = Ticker('AAPL', asynchronous=True)
df = tickers.history(period='1mo', interval='1m')  # Makes 4 requests automatically

4. Premium Users: Combining Research + Ticker

python
r = Research(username='...', password='...')
reports = r.reports(sector='Technology', investment_rating='Bullish')

# Reuse session for Ticker
tickers = Ticker('AAPL', session=r.session, crumb=r.crumb)
data = tickers.asset_profile

Common Use Cases

Portfolio Analysis

python
portfolio = Ticker('AAPL MSFT NVDA', asynchronous=True)
summary = portfolio.summary_detail
earnings = portfolio.earnings
history = portfolio.history(period='1y')

Screening & Discovery

python
s = Screener()
gainers = s.get_screeners(['day_gainers'], count=20)
# Returns DataFrame with price, volume, % change, etc.

Options Analysis

python
nvda = Ticker('NVDA')
options = nvda.option_chain
# Filter for calls/puts, strikes, expirations

Earnings Calendar

python
tickers = Ticker('AAPL MSFT NVDA')
calendar = tickers.calendar_events
# Shows next earnings date + analyst estimates

Reference Documentation

Full API docs at: /Users/henryzha/.openclaw/workspace-research/skills/yahooquery/references/

  • index.md - Overview of classes and functions
  • ticker/ - Detailed breakdown of all Ticker methods
  • screener.md - Screener class guide
  • research.md - Research class (Premium)
  • keyword_arguments.md - Complete list of configuration options
  • misc.md - Global utility functions
  • advanced.md - Sharing sessions between Research and Ticker

Environment

  • Installation: python3 -m pip install yahooquery
  • Dependencies: pandas, requests-futures, tqdm, beautifulsoup4, lxml
  • Python Version: 3.7+

Notes

  • Yahoo Finance may rate-limit or block requests. Use retry, backoff_factor, and status_forcelist for robustness.
  • Premium features (Research class) require a paid Yahoo Finance Premium subscription.
  • Data accuracy and availability depend on Yahoo Finance's upstream data providers.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Access Yahoo Finance Data?

Access Yahoo Finance data including real-time pricing, fundamentals, analyst estimates, options, news, and historical data via the yahooquery Python library.

Firwat Access Yahoo Finance Data op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Access Yahoo Finance Data besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Access Yahoo Finance Data an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/rondoflow/rondoflow/tree/master/packages/catalog/content/skills/access-yahoo-finance-data an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Access Yahoo Finance Data benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Access Yahoo Finance Data benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Access Yahoo Finance Data domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Access Yahoo Finance Data gratis?

Jo. rondoflow huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇