How do I get the Eikon equivalent of calcdate in dsws API?
The Eikon API call is:
=@TR(';ASX300 List'!J3:J500,"TR.RecMean.calcdate;TR.NumOfRecommendations;TR.NumOfStrongSell;TR.NumOfSell;TR.NumOfHold;TR.NumOfBuy;TR.NumOfStrongBuy;TR.PriceTargetMean;TR.RecMedian;TR.RecMedianLabel","SDate=1D CH=Fd RH=IN",$AB$1)
DSWS API call:
ds.get_data(tickers = ', '.join(map(str, tickers)), fields = ['DSCD','NAME','LOC','ISIN','RIC','T1C','EXMNEM','EXDSCD','TYPE','SEGM','ISOMIC', 'DOISO', 'GGISO',
'RECNOD','RECNOU','RECBUY','RECHOLD','RECMBUY','RECMSELL','RECSELL',
'RECSBUY','RECSSELL','RECCON','RECTXT','RECMED','RECNO','RECSTD','PTMN'], start=PreviousTradeDay.strftime('%Y%m%d'), kind = 0)