We are trying to download some prices from lseg through lseg.data python library, but it gives me back empty dataframes?
why is that?
+++++++++++++++++++++++++++
Sampled Code:
import lseg.data as ld
import pandas as pd
universe = ["GCc1", "GCc2", ]
Opens the Workspace session (must be active on the PC)
ld.open_session()
We download GC1 (Front) and GC2 (Second) with the same adjustment parameters
df = ld.get_history(
universe="GCc1",
fields=["TR.PriceClose"], #"(AdjMethod=C,RollMethod=V)"], # Parametri INLINE
start="2024-01-01",
end="2024-12-31",
#interval="daily"
#count = 5
)
print(df.tail(10))
ld.close_session()
++++++++++++++++++++++++++++++++++++++++
Error Message: