Im trying to get historical corn data, eg get the historical values for ric chain 0#C: but got an error:
get_timeseries(["0#C:"],start_date="2010-01-01",end_date="2011-01-01")
eikonError.EikonError: Error code Error | 0#C:: Invalid RIC
you have to run chain request first. Then get_timeseries for received RICs
Hi @3352edee-c7b3-42de-95ff-77348a2fc138_deprecated_0bbe7cc3-29e3-4fb6-9839-cd518b6f430b
I am not an Eikon API specialist, but I don't believe the get_timeseries method takes a Chain RIC as a valid 1st parameter.
As per the documentation the first parameter can be 'a string or a list of strings' i.e. Single RIC or List of RICs. Therefore, you would need to extract the RICs from the Chains into a string list before calling the method.
There is a post here about getting the Chain Constituents using Eikon API - hope this helps.
IF you are not familiar with Chains, then the intro section of this article may also help.
Tnx! And how does the chain request looks like?