Is it possible to get the constituents of an index at a given date?
In Excel we can use the following formula:
=TR("0#.AEX","TR.RIC","SDate=2016-12-31")
With the Eikon API, this works:
rics, err = eikon.get_data("0#.AEX","TR.RIC") rics
But this doesn't work:
rics, err = eikon.get_data("0#.AEX","TR.RIC", "SDate=2016-12-31") rics
It results in the following error:
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Thank you so much in advance for your help!