Hi everyone,
How can I get the list of options (using the python api query) on bond futures such as FGBLZ4? What is the field to extract the invoice spread on the same instrument?
Thank you
Hi @s.vincent ,
You can get chain constituents using the Chain capabilities from RD Libraries for Python:
import refinitiv.data as rdfrom refinitiv.data.discovery import Chainrd.open_session()constituents = Chain(name="0#FGBL:").constituentsconstituents['FGBLZ4', 'FGBLH5', 'FGBLM5']
Then if you use the get_data function and pass the RICs, it will return all available pricing fields for the given instruments:
rd.get_data(universe=constituents)
You can further request specific fields by using fields paramaters of the function and passing the list of fields.
Hope this helps.
Best regards,
Haykaz
Hi @haykaz.aramyan
when executing the code, I received the following error msg
refinitiv.data._errors.RDError: Error code NotEntitled | Access Denied: User req to PE(8151)universe: 0#FGBL:
Any idea what might be the cause?
As the error suggest, you are not permissioned to that. I would advice raising this with your Account Manager to enable your access to it.