Please help mofidy the following codes:
The client is looking for the formula : And code returned the future dividends estimate by analysts, but I need this for each month in the next fiscal year (NTM) period, not only last value of 2024 (2024-12-31).
dados, err = ek.get_data(
instruments =
['MILS3.SA','PRIO3.SA','ARZZ3.SA','ENAT3.SA','MGLU3.SA'],
fields = ['TR.TotalDividendsSmartEst(SDate=0M).periodenddate','TR.TotalDividendsSmartEst(SDate=0M)', 'TR.TotalDividendsMean(SDate=0M)',
'TR.F.LEVEREDFOCF(SDate=0M)'],