Skip to content

Unable to get any examples working.  #188

@steelliberty

Description

@steelliberty

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions