I am trying to make a request for quarterly historical actual revenue, and return the full fundamental backhistory for each calcdate.
below the request for the current and previous fiscal quarter data works, but adding any further relative quarters does not work.
I would also like to know how I could make the call to request all of the previous fundamental data, e.g. FQ0,FQ-1,FQ-2,...,FQ-N for all N quarters available.
# FQ0, FQ-1 WORKS raw_ids, err = ek.get_data( ['EYE.OQ'], ['TR.RevenueActValue', 'TR.RevenueActValue.calcdate','TR.RevenueActValue.date','TR.RevenueActValue.fperiod','TR.RevenueActValue.periodenddate','TR.RevenueActValue.announcedate' ], { 'SDate':'2000-01-01', 'EDate':'2022-01-01', 'Period':'FQ0,FQ-1',# pull past quarters data 'Frq':'FQ' } )
# FQ0,FQ-1,FQ-2 DOES NOT WORK raw_ids, err = ek.get_data( ['EYE.OQ'], ['TR.RevenueActValue', 'TR.RevenueActValue.calcdate','TR.RevenueActValue.date','TR.RevenueActValue.fperiod','TR.RevenueActValue.periodenddate','TR.RevenueActValue.announcedate' ], { 'SDate':'2000-01-01', 'EDate':'2022-01-01', 'Period':'FQ0,FQ-1,FQ-2',# pull past quarters data 'Frq':'FQ' } )