Overview
Comprehensive financial data toolkit using Yahoo Finance API.Basic Usage
Selective Tool Configuration
Enable only specific financial capabilities:Available Tools
When usingenable_all_tools(), the following methods are available:
- get_current_stock_price(symbol: str): Get current stock price
- get_company_info(symbol: str): Get comprehensive company information
- get_analyst_recommendations(symbol: str): Get analyst recommendations
- get_company_news(symbol: str, num_stories: int): Get recent company news
- get_stock_fundamentals(symbol: str): Get key financial fundamentals
- get_income_statements(symbol: str): Get income statement data
- get_key_financial_ratios(symbol: str): Get key financial ratios
- get_historical_stock_prices(symbol: str, period: str, interval: str): Get historical price data
- get_technical_indicators(symbol: str, period: str): Get technical indicators
Parameters
Constructor Parameters:stock_price(bool): Enable stock price retrieval (default: True)company_info(bool): Enable company information (default: False)analyst_recommendations(bool): Enable analyst recommendations (default: False)company_news(bool): Enable company news (default: False)enable_all(bool): Enable all available tools (default: False)
period(str): Time period - ‘1d’, ‘5d’, ‘1mo’, ‘3mo’, ‘6mo’, ‘1y’, ‘2y’, ‘5y’, ‘10y’, ‘ytd’, ‘max’interval(str): Data interval - ‘1m’, ‘2m’, ‘5m’, ‘15m’, ‘30m’, ‘60m’, ‘90m’, ‘1h’, ‘1d’, ‘5d’, ‘1wk’, ‘1mo’, ‘3mo’

