I am running Refinitiv / LSEG Data Library (lseg-data, previously refinitiv-data) API calls from Python — TR.* reference/pricing fields via ld.get_data and hourly bars via ld.get_history — and I want to schedule the script to run unattended each morning.
The library is currently configured to use a Desktop session, which requires the Refinitiv Workspace application to be open and logged in on the same machine. If Workspace is closed, the session fails to connect to ws://localhost:9000 and every call errors. Because of this I have to open Workspace manually every day before the schedule can run.
Two questions:
Has anyone here already moved a scheduled lseg-data job to a Platform session (RDP / LSEG Data Platform) ?
If a Platform session isn't an option, has anyone got a robust workaround for the Desktop-session case — Workspace auto-launch at logon on a dedicated scheduling box, keep-alive scripts, etc.?