JECSand / yahoofinancials

A powerful financial data module used for pulling data from Yahoo Finance. This module can pull fundamental and technical data for stocks, indexes, currencies, cryptos, ETFs, Mutual Funds, U.S. Treasuries, and commodity futures.
https://pypi.python.org/pypi/yahoofinancials
MIT License
911 stars 215 forks source link

TTM Data Missing From Annual Income Statement #80

Open jimmylai-hk opened 4 years ago

jimmylai-hk commented 4 years ago

Hi,

The following code cannot get the TTM data but it is available in the yahoo finance website.

ticker = "ALB" yahoo_financials = YahooFinancials(ticker) frequency="annual" income_statement_data = yahoo_financials.get_financial_stmts(frequency, 'income')

https://finance.yahoo.com/quote/ALB/financials?p=ALB