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.
от rondoflow★ 37 звёзд на GitHub
Установить access-yahoo-finance-data в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
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.
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.
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.
from yahooquery import Research
r = Research(username='[email protected]', 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
- period:
.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
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 attemptsbackoff_factor=0.3- Exponential backoff between retries- `status_forcelist=[
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- manifest.json
FAQ
Что делает скилл 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.
Как установить скилл access-yahoo-finance-data?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл access-yahoo-finance-data запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…