How do I get the Eikon equivalent of calcdate in dsws API?

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)

Best Answer

  • Jirapongse
    Answer ✓

    @sam.macaluso

    Thank you for reaching out to us.

    This forum is dedicated to software developers using LSEG APIs. The moderators on this forum do not have deep expertise in every bit of content available through LSEG products, which is required to answer content questions such as this one.

    The best resource for Datastream content questions is the Datastream support team, which can be reached by submitting queries through MyAccount. The support team will either have the required content expertise ready available or can reach out to relevant content experts to get the answer for you.