I am trying to retrieve data for the ric TFMBSURF1 using the refinitiv-data python api.
I tried the below code:
import refinitiv.data as rd
start_date, end_date = '2025-07-16', '2025-07-21'
rics = ['TFMBSURF1']
rd.open_session()
df = rd.get_data(
universe=rics,
fields=['TR.SETTLEMENTPRICE.Date'] + ['TR.SETTLEMENTPRICE'] * (len(rics) - 1),
parameters={
'SDate': '{}'.format(start_date),
'Frq': 'D',
'EDate': '{}'.format(end_date)
}
)
rd.close_session()
but it is not retrieving anything.
How can I retrieve the vol surface for TTF via the python api?
and what about downlading a single implied vol delta ric?
df_vol = rd.get_data(
universe=['TFMB10P1M=R'],
fields=['TR.SETTLEMENTPRICE.Date', 'TR.STL_IMPVLT'],
parameters={
'SDate': '{}'.format(start_date),
'Frq': 'D',
'EDate': '{}'.format(end_date)
}
)
this is the code I am trying to use but it returns nothing