=TR("SCREEN(U(IN(DEALS)/*UNV:DEALSMNA*/), IN(TR.MnAStatus,""P""), TR.MnADealValue(Curn=USD,Scale=9)>=10, CURN=USD)","TR.MnASDCDealNumber;TR.MnAAnnDate;TR.MnARankDate;TR.MnARankValueIncNetDebt(Scale=6);TR.MnATarget;TR.MnATargetPermId;TR.MnATargetMacroInd;TR.MnAAcquiror;TR.MnAAcquirorPermId;TR.MnAAcquirorMacroInd;TR.MnAStatus;TR.MnADealValue(Curn=USD,Scale=9)","CH=Fd")
ek.get_data('''SCREEN(U(IN(DEALS))/*UNV:DEALSMNA*/,IN(TR.MnAStatus,"P"), TR.MnADealValue(Curn=USD,Scale=9)>=10,CURN=USD)''', ['TR.MnASDCDealNumber','TR.MnAAnnDate','TR.MnARankDate', 'TR.MnARankValueIncNetDebt(Scale=6)','TR.MnATarget', 'TR.MnATargetPermId','TR.MnATargetMacroInd','TR.MnAAcquiror', 'TR.MnAAcquirorPermId','TR.MnAAcquirorMacroInd', 'TR.MnAStatus','TR.MnADealValue(Curn=USD,Scale=9)'])
For more details on how to translate a call using =TR function in Eikon Excel to Python code using Eikon Data APIs see this tutorial.
Thank you for this. When I do a screening, if the number of results is greater than 15,000 it cannot be exported to excel. Is there a way export to excel even when the number of results is greater? Thanks
@eric.jian not really
Do you know where I can find the list of parameters like TR.MnAStatus for MnA deals?
Use Screener wizard in Eikon Excel.
The most recent announcement date of a deal that I see using this screener by Eikon Excel is 3/15/2019. On MASRCH, the most recent is 3/19/2019. How come the deals search provided by the Screener in Eikon Excel does not show the most recent deals 3/19/2019 (today)? Is there a way to use the Data API to retrieve the actual MASRCH data?
@eric.jian I would suggest raising this with your local Refinitiv Support Desk. Eikon API and Eikon Excel are sourced from the same database, so you can only replicate what you can see in Excel.