Hi, when I run the following command, I got "400 bad request". Do you know how I can get data for the delisted stock? thanks.
ek.get_data(['RAI.^G17'], ['TR.SgaExpenseTotal.Date','TR.SgaExpenseTotal'],{'SDate':'2013-01-01','EDate':'2015-12-31'})
Hi, when I run the following command, I got "400 bad request". Do you know how I can get data for the delisted stock? thanks.
ek.get_data(['RAI.^G17'], ['TR.SgaExpenseTotal.Date','TR.SgaExpenseTotal'],{'SDate':'2013-01-01','EDate':'2015-12-31'})
The RIC in your request is wrong. It's either missing the exchange suffix or it has the dot where one shouldn't be. Try instead either 'RAI.N^G17' or 'RAI^G17'.
The "bad request" error however is likely to be the symptom of a timeout. See this thread for more details:
https://community.developers.refinitiv.com/questions/22857/backend-error-400-bad-request.html