Hello, for this specific company MMM.N, does every iteration of yr give me quarterly or annual data?
I need to retrieve 20 years of quarterly data of these data fields, so need to specify the range yr covers.
I am a newbie here and would appreciate any help or suggestions. Thanks!
for yr in [0,-1,-2]:
_df, err = ek.get_data("MMM.N",
['TR.EPSACTVALUE(Period=FY%s)'%yr,
'TR.EPSMeanEstimate(Period=FY%s)'%yr,
'TR.Ebit(Period=FY%s)'%yr,
'TR.CompanyMarketCap(SDate=%s)'%yr,
'TR.NetDebt(Period=FY%s)'%yr,
'TR.TotalLongTermDebt(Period=FY%s)'%yr,
'TR.CommShareholdersEqty(Period=FY%s)'%yr,
'TR.NumberofSharesOutstandingMean(Period=FY%s)'%yr], {'Curn':'USD'})