This is a quick reference guide for the Data Library for Python on different asset types
If you’re new to the library, a shallow dive into LSEG APIs landscape, including the introduction to data library can be found in article Summary of Common LSEG Refinitiv APIs
- How to use the Data Library
- Where to go to figure out the available fields that I can access using the Refinitiv Data Libraries (such as the RD Python Library)?
Please note that the data library in Codebook is the version 1 (Refinitiv Data Library). It will be upgraded to the newer version, version 2 - LSEG Data Library soon.
- After the rebranding and release of LSEG Data Library 2.0, the Refinitiv Data Library will become " Feature Complete", but we will continue to support it and provide maintenance releases. This is essential for customers who cannot migrate to the LSEG Data Library 2.0. However, new features will only be added to the LSEG data library.
In this article, we are focusing on using the access layer, which is the easiest way to get data. It provides simple interfaces allowing you to rapidly prototype solutions within interactive environments such as Jupyter Notebooks. It has been designed for quick experimentation with our data and for Financial Coders specific needs. (To learn more about Data Library for Python’s layers: example codes can be found here)
Table of contents Here’s what included in this quick reference guide.
- Search
- Symbology
- Convert symbols, Get data - get RIC from bond, Get data - get CUSIP and international CUSIP, Get data with Screener, Get data with Peers, Get data of instruments with all available fields, Get data of instruments with specific fields, Get constituent with Chain object
- Timeseries
- Get data with field level parameter, Get data with request level parameter (global parameter), Get history
- Company guidance
- Earnings
- Analyst recommendations
- Industry Analysis / The Reference data Business Classification (TRBC)
- Ownership data
- Corporate actions data
- Volatility
- Volatility, Equity implied volatility, Futures implied volatility
- Portfolio and Lists
- Portfolio, List, Monitor, Index/exchange constituents as of certain date, Index leavers/joiners
- Fixed income data
- Bond status, Fixed income securities core reference data, Bond pricing, Bond analytics, Historical bond pricing, Historical analytics, Credit default swaps
- Pricing streams
- Using pricing streams with events, Using pricing streams as a data cache, Get a snapshot for a subset of instruments and fields