Client is experiencing slowness when using the Python LSEG API, with significantly longer processing times. We would appreciate your guidance on how to speed up the process.
Attached is their current approach (exported from Jupyter Notebook as a .txt file since the notebook cannot be attached directly). The existing script, which retrieves data for 10 companies across 8 points in time, currently takes around 30 minutes to complete.
Could you please review the code and provide recommendations on how they can improve performance and optimize data retrieval?
Please assist. Thank you.