QuantConnect / IBAutomater

Automates IB Gateway start, stopping and restarting.
https://www.lean.io
Apache License 2.0
107 stars 38 forks source link

IBAutomater should test for already running Gateway or TWS before trying to start a new Gateway #24

Open aricooperman opened 4 years ago

aricooperman commented 4 years ago

Most likely for myself and I would assume many others, they already have an IB API process running and don't need a new one started and logged into. Can IBAutomater detect, based on a port given, the directory provided and/or a process check. If there is one running, then connect to that one and don't start new.

The check could be done in Lean but as this is an automation tool I would assume the decision could be handled in here.

superichmann commented 3 months ago

Just came across this by accident.. FYI: multiple ib gateways can be run at the same time on the same machine