You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When changing the sample code's year from 2016 to 2015, as below.
stock = Stock('AAPL')
period = 'quarterly' # or 'annual', which is the default
year = 2015 # can use default of 0 to get the latest
quarter = 1 # 1, 2, 3, 4, or default value of 0 to get the latest
# using defaults to get the latest annual, can simplify to stock.get_filing()
filing = stock.get_filing(period, year, quarter)
# financial reports (contain data for multiple years)
income_statements = filing.get_income_statements()
balance_sheets = filing.get_balance_sheets()
cash_flows = filing.get_cash_flows()
will get the below error:
cik for AAPL is 320193
getting ['10-Q', '10-Q/A'] filing info from https://www.sec.gov/Archives/edgar/full-index/2015/QTR1/master.idx
Processing SGML at https://www.sec.gov/Archives/edgar/data/320193/0001193125-15-023697.txt
AttributeError: 'DocumentText' object has no attribute 'xml'
The text was updated successfully, but these errors were encountered:
When changing the sample code's year from 2016 to 2015, as below.
will get the below error:
The text was updated successfully, but these errors were encountered: