Fetching quarterly results¶
You can use the LSEG Data Library for Python to retrieve quarterly results that company’s post each earnings season.
To do so, pass the company’s Refinitiv Instrument Code to the get_data submodule. In addition to the code, you must provide custom parameters that specify the metric, time interval and number of periods to retrieve.
Revenue¶
The same logic can be used to query revenue, which is provided by the “TR.RevenueActValue” field.
expression = "TR.RevenueActValue(SDate=0,EDate=-8,Period=FQ0,Frq=FQ)"
ld.get_data(
"TRI.TO",
fields=[
f"{expression}.Date",
f"{expression}.periodenddate",
expression,
],
)
| Instrument | Date | Period End Date | Revenue - Actual | |
|---|---|---|---|---|
| 0 | TRI.TO | 2025-08-06 06:30:00 | 2025-06-30 | 1785000000 |
| 1 | TRI.TO | 2025-05-01 06:30:00 | 2025-03-31 | 1900000000 |
| 2 | TRI.TO | 2025-02-06 06:30:00 | 2024-12-31 | 1909000000 |
| 3 | TRI.TO | 2024-11-05 06:30:00 | 2024-09-30 | 1724000000 |
| 4 | TRI.TO | 2024-08-01 06:30:00 | 2024-06-30 | 1740000000 |
| 5 | TRI.TO | 2024-05-02 06:30:00 | 2024-03-31 | 1885000000 |
| 6 | TRI.TO | 2024-02-08 06:30:00 | 2023-12-31 | 1815000000 |
| 7 | TRI.TO | 2023-11-01 06:30:00 | 2023-09-30 | 1594000000 |
| 8 | TRI.TO | 2023-08-02 06:30:00 | 2023-06-30 | 1647000000 |