I am trying to extract daily OHLCV data for a list of instruments using the Refinitiv Data Library.
Here is the code I am using:
import refinitiv.data as rd
import pandas as pd
rd.open_session()
instruments = [
"IWDA.L","VAVUAG.L","VWRP.L","VWRA.L","EEDS.L","ISACI.L","SWDA.L","EIMI.L",
"SASU.L","VWRL.L","IUIT.L","IUSA.L","XDEW.L","EMIM.L","LQDE.L","IITU.L",
"IHYG.L","IMEU.L","SSAC.L","CBU7.L","VWRD.L","XD9U.L","ISLQDA.L","SDIA.L",
"IEMB.L","XDWE.L","IHYU.L","JPEA.L","SMEA.L","XSPU.L","DTLA.L","AGGU.L",
"IEAA.L","IHYA.L","ISIJPA.L","IUAA.L","VEVE.L","SPY4.L","HMWO.L","SDIG.L",
"IGLT.L","FLOA.L","CORP.L","LYCSH2.L","LYXEUC.PA","XAD1.MI","CMOP.L","FEDF.L","COMO.PA"
]
ohlc_fields = ['OPEN_PRC', 'HIGH_1', 'LOW_1', 'TRDPRC_1', 'ACVOL_UNS']
print("Fetching Daily Data... This may take a moment due to the 14-year range.")
df_daily = rd.get_history(
universe=instruments,
fields=ohlc_fields,
interval="daily",
start="2012-01-01",
end="2026-03-11")
Issue:
The request hangs at the message:
Fetching Daily Data... This may take a moment due to the 14-year range.
The call does not complete even after several hours.
What I need help with:
- Is my code correct for retrieving OHLCV history for these RICs?
- Is there a faster or more efficient way to extract daily data for a large list of instruments?
- How can I extract all data into one combined output file?
- I also need to retrieve minute‑level data for the same symbols for the period 2025‑11‑01 to 2026‑03‑12. What is the recommended approach for that?