yfinance.Ticker#
- class yfinance.Ticker(ticker, session=None, proxy=None)#
 Attributes
Returns a dictionary of events, earnings, and dividends for the ticker
Methods
__init__(ticker[, session, proxy])get_actions([proxy])get_analyst_price_targets([proxy])Keys: current low high mean median
get_balance_sheet([proxy, as_dict, pretty, freq])get_balancesheet([proxy, as_dict, pretty, freq])get_calendar([proxy])get_capital_gains([proxy])get_cash_flow([proxy, as_dict, pretty, freq])get_cashflow([proxy, as_dict, pretty, freq])get_dividends([proxy])get_earnings([proxy, as_dict, freq])get_earnings_dates([limit, proxy])Get earning dates (future and historic)
get_earnings_estimate([proxy, as_dict])Index: 0q +1q 0y +1y Columns: numberOfAnalysts avg low high yearAgoEps growth
get_earnings_history([proxy, as_dict])Index: pd.DatetimeIndex Columns: epsEstimate epsActual epsDifference surprisePercent
get_eps_revisions([proxy, as_dict])Index: 0q +1q 0y +1y Columns: upLast7days upLast30days downLast7days downLast30days
get_eps_trend([proxy, as_dict])Index: 0q +1q 0y +1y Columns: current 7daysAgo 30daysAgo 60daysAgo 90daysAgo
get_fast_info([proxy])get_financials([proxy, as_dict, pretty, freq])get_funds_data([proxy])get_growth_estimates([proxy, as_dict])Index: 0q +1q 0y +1y +5y -5y Columns: stock industry sector index
get_history_metadata([proxy])get_income_stmt([proxy, as_dict, pretty, freq])get_incomestmt([proxy, as_dict, pretty, freq])get_info([proxy])get_insider_purchases([proxy, as_dict])get_insider_roster_holders([proxy, as_dict])get_insider_transactions([proxy, as_dict])get_institutional_holders([proxy, as_dict])get_isin([proxy])get_major_holders([proxy, as_dict])get_mutualfund_holders([proxy, as_dict])get_news([proxy])get_recommendations([proxy, as_dict])Returns a DataFrame with the recommendations Columns: period strongBuy buy hold sell strongSell
get_recommendations_summary([proxy, as_dict])get_revenue_estimate([proxy, as_dict])Index: 0q +1q 0y +1y Columns: numberOfAnalysts avg low high yearAgoRevenue growth
get_sec_filings([proxy])get_shares([proxy, as_dict])get_shares_full([start, end, proxy])get_splits([proxy])get_sustainability([proxy, as_dict])get_upgrades_downgrades([proxy, as_dict])Returns a DataFrame with the recommendations changes (upgrades/downgrades) Index: date of grade Columns: firm toGrade fromGrade action
history(*args, **kwargs)option_chain([date, tz])