Use stable version of gateway instead of latest
kayazinc opened this issue · 10 comments
IB Gateway Installation 1
----------------------------
• will install into /home/ibg
• will use the existing installer: /home/ibg/ibgateway-latest-standalone-linux-x64.sh ...
• installing ...
From the docker log, it seem that IBGA download and install the latest version of ibgateway. May i suggest to use the stable version instead?
The benefits of stable version are:
- it doesn't need to auto-upgrade frequently
- its less prone to bugs (users feedback that v10.12 having market data issue)
I'm with IBKR long enough to remember a "stable version" offer. However, I think they have phased that out, probably during the Log4J fiasco. Right now, if you go to their website and click "Download IB Gateway", no stable version is offered.
Latest version
https://download2.interactivebrokers.com/installers/ibgateway/latest-standalone/ibgateway-latest-standalone-linux-x64.sh
If i am correct, the following url contains the stable version.
Stable version
https://download2.interactivebrokers.com/installers/ibgateway/stable-standalone/ibgateway-stable-standalone-linux-x64.sh
ref: https://www.interactivebrokers.com/en/index.php?f=16457&ns=T
edited: url changed for IB gateway instead of TWS.
I understand that's a googled page. It's not linked from IBKR's website. Or did you find one?
Yes I could've allowed changes from 'latest' to 'stable'. However, I hope not to spend extra time for something already phased out. There has to be a reason they are not linking to this 'stable version' from their website. It might not be working.
It's from interactive broker website: https://www.interactivebrokers.com/en/index.php?f=16457&ns=T
Just change the OS from window to linux > Download for Other Operating Systems
The download button will link to https://download2.interactivebrokers.com/installers/ibgateway/stable-standalone/ibgateway-stable-standalone-linux-x64.sh
So how did you get to https://www.interactivebrokers.com/en/index.php?f=16457&ns=T ? Where is this page linked from the website?
To me, I go to www.ibkr.com, click "Log In" at top-right, then click "Download IB Gateway". It leads me to the "latest" version. I found no link to a "stable" version there.
Oh i see what you mean. Yes, i googled the website link. I don't know where the root link is from.
Exactly! I remember having dual download options on that page before. The stable version was removed and it has to be intentional.
You could be right that it might be intention, but the version 10.12 has to be correct, so it shouldn't be a orphan page.
Nevertheless, shall leave to your discretion on which version you intended to use. Feel free to close this issue, thanks!
Yup, I agree that this would be useful, considering the the very first pull request of this project is regarding a custom download URL. I'll figure something out, via an environment variable or similar.
With the latest update, you can use the following environment variable in a docker-compose service node to point to the stable version:
environment:
- IBG_DOWNLOAD_URL=https://download2.interactivebrokers.com/installers/ibgateway/stable-standalone/ibgateway-stable-standalone-linux-x64.sh