Trying to update Python app on Windows to switch from RDP to RD library API. Using RD library version 1.1.0 and the following code to make real-time snaphot retrieval:
import refinitiv.data as rd
session = rd.session.platform.Definition('rd_PPE').get_session()
rd.session.set_default(session)
rd.open_session()
response = rd.content.pricing.Definition(
['SOFR1MAVG=', 'SOFR3MAVG=', 'SOFR6MAVG=', 'USDSOFR=', '.SR1M', '.SR3M', '.SR6M', '.SR1Y'],
['VALUE_DT1', 'PRIMACT_1']
).get_data()
With RDP library, the value retrieved at 12:08 UTC for 'USDSOFR=' RIC is updated already for current day. However, after switch to RD library code above, the value is still yesterday's data until minutes later. Today I was not able to retrieve the current day data until 12:22 UTC. I can see using DataView that the current day data is already available at 12:08.
Please advise if anything can be done about the lag in the current data being available with RD get_data() call, or if I am doing something wrong.