universe ric for brent and gasoil future contract

onionw
onionw Newcomer
edited March 12 in Eikon Data APIs

Hello,

what is the best way to query EXPIR_DATE, SETTLEPRICE for both brent and gasoil futures from 2020 to 2024? does this get_history() work? what is universe ric to use?

import lseg.data as ld

df = ld.get_history()

Is there an API doc for us to search all api available to us to use?

Answers

  • @onionw Thanks for your question - so this is a complicated topic and so we have written an excellent article about how to construct historical futures RICs. This should give you all you need to know including a fully functional codebase.

    In general to have a look at what data is available for an instrument you can use the Data Item Browser app (type DIB into search bar).

    image.png

    In terms of examples - please search our article bank on the developer portal. Also you can check our codebook app (type CODEBK in search bar) and have a look at the "__Examples__" folder for lots of different use case and asset class samples.

    I hope this can help.