Hi ,
I am using the codebook for the first time and I am trying to plot benchmark yield curve for a specific date, can you please help me how to extract data for the chain RICS like
0#FRBMK=
@Simran_Sandhu
Thank you for reaching out to us.
You can use the Chain in the from "lseg.data.discovery import Chain" to expand this chain. Then, use the get_data method to retrieve the required fields.
For example:
fchi = Chain(name="0#FRBMK=") df = ld.get_data( universe=fchi.constituents, fields=['TR.BIDYIELD','TR.ASKYIELD'], parameters={'SDate':'2025-04-01'}) df
The output is:
You can also refer to the examples in the __Examples__/01. Data Retrieval and Discovery/01.01. LSEG Data Library/ path.