ig-python / trading-ig

A lightweight Python wrapper for the IG Markets API
https://trading-ig.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
308 stars 196 forks source link

lightstreamer.py -- connect systemd.daemon not available, no watchdog notifications will be sent. #296

Closed MilindRCodes closed 10 months ago

MilindRCodes commented 12 months ago

Hi all,

In my model, I initiate the REST and streaming API and then close it after 3 hours. Immediately after few seconds, I re-initiate the a new REST and streaming connection which will run for another 3 hours. And then keep repeating these steps so as to ensure continuous connection throughout the week.

However, of late I am facing an issue where the streaming API fails to reinitiate sometimes. I have dropped the respective logs below.

Can someone please let me know, how I can deal with issue. Thanks a lot.

Streaming API issue

MilindRCodes commented 12 months ago

Updated the screenshot.. please check

bug-or-feature commented 10 months ago

Please update to the latest release, it uses the official Lightstreamer Python client SDK, which does auto-reconnections, auto-resubscriptions. See #302. Closing