Getting errors trying to pull in deal data, any idea why?
Getting errors trying to pull in deal data, any idea why?
Thank you for reaching out to us.
The following code is easier to read.
df, err = ek.get_data('SCREEN(U(IN(DEALS)), relativedate(TR.MnAAnnDate,LQ), IN(TR.MnAStatus,"W","SW","IW","DR"), CURN=USD)', fields=["TR.MnASDCDealNumber","TR.MnAAnnDate","TR.MnARankDate"]) df
The output is:
If you still get the same error, please run the following code to enable logging.
import eikon as ek ek.set_log_level(1) ek.set_app_key('<app key>') ...
Thank you! This worked.
How can I specify a date range using this API, rather than using relativedate(TR.MnAAnnDate,LQ)?