When I retrieved constituent stock data on April 9th and April 20th, the constituent code returned by STOXX was STMPA.PA, while on all other dates it is consistently STMMI.MI. Could you please explain the reason for this discrepancy?
@rice
Thank you for reaching out to us.
Please share the code that you are using.
We can check if the code is correct. However, we can't answer content-related question. To validate the data, it is better to contact the content support team directly via LSEG Support.
ric_df = ld.get_data( universe=[f"0#{index_ric}"], fields=["TR.RIC"], )
I’ve already asked for help via the help desk, and they said they don’t provide API-related support, so they told me to seek assistance on the forum.
I ran the code and the output is:
It doesn't have STMPA.PA. We may need to wait for the problem to happen again and test it on the Workspace Excel with this formula.
=@RDP.Data("0#.STOXX","TR.RIC","RH=In CH=Fd")
Then, if the Excel shows the same data, we need to contact the content team to verify the data.
Otherwise, you can enable the debug log in the library so we can check the request and retrieved response.
You can enable the debug log in the library by running the following code before opening a session.
import lseg.data as ld config = ld.get_config() config.set_param("logs.transports.file.enabled", True) config.set_param("logs.transports.file.name", "lseg-data-lib.log") config.set_param("logs.level", "debug") ld.open_session()
With this code, the lseg-data-lib.log file will be created.
Yes, today when I pulled the constituent data, the RIC is STMMI.MI.
However, the snapshots I stored show that the constituent RIC retrieved on April 9 and April 20 was STMPA.PA.
I would like to know why this happened.
I understand, but the code cannot retrieve historical data, and the content team can only see the current values. I believe this is why they did not accept the case.
We need to gather more concrete evidence and present it to the content team.
The submitted case number should be 15941644 so I can contact the case owner to recheck the data on that day. I am not sure if they can do that.