Hello,
I’m working on a Python script that needs to connect to LSEG without Workspace being launched. My goal is to retrieve the last closes (TR.PriceClose) and the latest trade via (TRDPRC_1).
It turns out that I can retrieve TR.PriceClose without any issue, but not TRDPRC_1.
here is part of the connect code:
import refinitiv.data as rd from concurrent.futures
import ThreadPoolExecutor, as_completed from refinitiv.data.content
import historical_pricing from refinitiv.data.content.historical_pricing
import Intervals, MarketSession
rd.open_session(name="platform.ldp", config_name="config/session.json")
When I run the same script while connected through Workspace, it works when i connect using
rd.open_session() instead of
rd.open_session(name="platform.ldp", config_name="config/session.json")
I therefore conclude that I don’t have permission to access TRDPRC_1 with the way I am logging in. How can I retrieve both TRDPRC_1 and TR.PriceClose without Workspace and using Python?
thanks in advance