Summary
Add the python-socketio package to the default QuantConnect Python environment.
Package details
python-socketio is a Socket.IO server and client implementation built on top of python-engineio. It is widely used for real-time messaging and complements the websockets package already available in the QC environment (Socket.IO adds the protocol layer — automatic reconnection, room/namespace multiplexing, fallback transports — on top of raw WebSockets).
Use case
Customer (Intercom conversation 215474452877852, Gold support plan) wants to use Socket.IO for connecting to data sources / services that expose Socket.IO endpoints rather than raw WebSocket endpoints. Quoting the customer: "an additional feature set on the already included websockets package that QC already has."
Proposed change
Add python-socketio (and its transitive dependency python-engineio) to the LEAN Python Docker image at the next batched library rebuild.
Open questions
- Pin to latest stable, or a specific version?
Source
QuantConnect support ticket [Intercom 215474452877852].
Summary
Add the
python-socketiopackage to the default QuantConnect Python environment.Package details
python-socketiois a Socket.IO server and client implementation built on top ofpython-engineio. It is widely used for real-time messaging and complements thewebsocketspackage already available in the QC environment (Socket.IO adds the protocol layer — automatic reconnection, room/namespace multiplexing, fallback transports — on top of raw WebSockets).Use case
Customer (Intercom conversation 215474452877852, Gold support plan) wants to use Socket.IO for connecting to data sources / services that expose Socket.IO endpoints rather than raw WebSocket endpoints. Quoting the customer: "an additional feature set on the already included websockets package that QC already has."
Proposed change
Add
python-socketio(and its transitive dependencypython-engineio) to the LEAN Python Docker image at the next batched library rebuild.Open questions
Source
QuantConnect support ticket [Intercom 215474452877852].