-
Notifications
You must be signed in to change notification settings - Fork 222
Open
Description
from yahoofinancials import YahooFinancials
def tstYfinData(symbol,end_date):
ticker = symbol
yahoo_financials = YahooFinancials(ticker)
balance_sheet_data_qt = yahoo_financials.get_financial_stmts('quarterly', 'balance')
income_statement_data_qt = yahoo_financials.get_financial_stmts('quarterly', 'income')
all_statement_data_qt = yahoo_financials.get_financial_stmts('quarterly', ['income', 'cash', 'balance'])
apple_earnings_data = yahoo_financials.get_stock_earnings_data()
apple_net_income = yahoo_financials.get_net_income()
historical_stock_prices = yahoo_financials.get_historical_price_data('2008-09-15', '2018-09-15', 'weekly')
print(balance_sheet_data_qt)
print(income_statement_data_qt)
print(all_statement_data_qt)
print(apple_earnings_data)
print(apple_net_income)
print(historical_stock_prices)
kungfu-eric
Metadata
Metadata
Assignees
Labels
No labels