I'm trying to get fundamentals for certain stocks, but get an error. It seems that data is available up to 2014-07-04 only, since the error is raised whenever the starting date is after 2014-07-04. Please fix this or tell me how I can fix it.
ticker="INTC"
fundamentals = init_fundamentals()
stock_sid = symbols(ticker).sid
starting_sids = [stock_sid, stock_sid]
fund_panel = get_fundamentals(query(fundamentals.company_reference.sid,
fundamentals.valuation.market_cap,
fundamentals.valuation_ratios.pe_ratio,
fundamentals.valuation_ratios.forward_pe_ratio
)
.filter(fundamentals.company_reference.sid.in_((starting_sids))),
str('2014-07-08'), '110d')
fund = fund_panel.to_frame(False)
fund = fund.reset_index()