Hello,
What is the correct and most reliable way to configure proxy settings for a "Platform" session in the lseg-data library? An example using the proxies parameter would be appreciated.
lseg-data
proxies
Many thanks
@valentin.tassel
Thank you for reaching out to us.
You can set the proxy settings via the operating system's environment variables. For example:
import os os.environ['HTTP_PROXY'] = 'http://<PROXY>:<PORT>' os.environ['HTTPS_PROXY'] = 'https://<PROXY>:<PORT>' os.environ['SSL_CERT_FILE'] = '<CERTIFICATE_FILE>'