Hello Team, please help on client's issue below. Thank you.
===
I get the same error, however it works in codebook in workspace. Im using the app key in the other local environment
LDError: token expired Requested universes: ['CACMB5YT=RR']. Requested fields: ['TR.BH.ISIN', 'TR.BH.EFFDATE', 'TR.BH.ENDDATE']
===
Here is the script:
import lseg.data as ld
ld.open_session()
df = ld.get_data(
universe = ['CACMB5YT=RR'],
fields = ['TR.BH.ISIN','TR.BH.EffDate','TR.BH.EndDate'],
parameters = {
'SDate': '2000-01-02',
'EDate': '2023-11-14',
'Frq': 'D'
}
)
display(df)