Hello, everyone,
Receive this exception when trying launch algo in a live mode.
I use IB Gateway 978 and it works well.
C#, MacOS.
Thanks in advance.
QUANTCONNECT COMMUNITY
Hello, everyone,
Receive this exception when trying launch algo in a live mode.
I use IB Gateway 978 and it works well.
C#, MacOS.
Thanks in advance.
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
Aaron Janeiro Stone
Did you change your Launcher/config.json from the default at line 77?
"ib-version": "974", <- change to 978
Andrey Chertok
Sure, i did it. Exception in details:
20210127 03:19:41.853 ERROR:: Algorithm.Initialize() Error: InteractiveBrokersBrokerage.CheckIbAutomaterError(): IbGatewayVersionNotInstalled - The IBGateway version is not installed. - Version: 978.2k Stack Trace: System.Exception: InteractiveBrokersBrokerage.CheckIbAutomaterError(): IbGatewayVersionNotInstalled - The IBGateway version is not installed. - Version: 978.2k at QuantConnect.Brokerages.InteractiveBrokers.InteractiveBrokersBrokerage.CheckIbAutomaterError (QuantConnect.IBAutomater.StartResult result, System.Boolean throwException) [0x00039] in /Users/achertok/Projects/Lean/Brokerages/InteractiveBrokers/InteractiveBrokersBrokerage.cs:3236 at QuantConnect.Brokerages.InteractiveBrokers.InteractiveBrokersBrokerage..ctor (QuantConnect.Interfaces.IAlgorithm algorithm, QuantConnect.Securities.IOrderProvider orderProvider, QuantConnect.Securities.ISecurityProvider securityProvider, QuantConnect.Data.IDataAggregator aggregator, QuantConnect.Interfaces.IMapFileProvider mapFileProvider, System.String account, System.String host, System.Int32 port, System.String ibDirectory, System.String ibVersion, System.String userName, System.String password, System.String tradingMode, System.String agentDescription) [0x002ad] in /Users/achertok/Projects/Lean/Brokerages/InteractiveBrokers/InteractiveBrokersBrokerage.cs:272 at QuantConnect.Brokerages.InteractiveBrokers.InteractiveBrokersBrokerageFactory.CreateBrokerage (QuantConnect.Packets.LiveNodePacket job, QuantConnect.Interfaces.IAlgorithm algorithm) [0x000e1] in /Users/achertok/Projects/Lean/Brokerages/InteractiveBrokers/InteractiveBrokersBrokerageFactory.cs:95 at QuantConnect.Lean.Engine.Setup.BrokerageSetupHandler.CreateBrokerage (QuantConnect.Packets.AlgorithmNodePacket algorithmNodePacket, QuantConnect.Interfaces.IAlgorithm uninitializedAlgorithm, QuantConnect.Interfaces.IBrokerageFactory& factory) [0x00060] in /Users/achertok/Projects/Lean/Engine/Setup/BrokerageSetupHandler.cs:128 at QuantConnect.Lean.Engine.Engine.Run (QuantConnect.Packets.AlgorithmNodePacket job, QuantConnect.Lean.Engine.AlgorithmManager manager, System.String assemblyPath, QuantConnect.Util.WorkerThread workerThread) [0x0023c] in /Users/achertok/Projects/Lean/Engine/Engine.cs:138 System.Exception: InteractiveBrokersBrokerage.CheckIbAutomaterError(): IbGatewayVersionNotInstalled - The IBGateway version is not installed. - Version: 978.2k at QuantConnect.Brokerages.InteractiveBrokers.InteractiveBrokersBrokerage.CheckIbAutomaterError (QuantConnect.IBAutomater.StartResult result, System.Boolean throwException) [0x00039] in /Users/achertok/Projects/Lean/Brokerages/InteractiveBrokers/InteractiveBrokersBrokerage.cs:3236 at QuantConnect.Brokerages.InteractiveBrokers.InteractiveBrokersBrokerage..ctor (QuantConnect.Interfaces.IAlgorithm algorithm, QuantConnect.Securities.IOrderProvider orderProvider, QuantConnect.Securities.ISecurityProvider securityProvider, QuantConnect.Data.IDataAggregator aggregator, QuantConnect.Interfaces.IMapFileProvider mapFileProvider, System.String account, System.String host, System.Int32 port, System.String ibDirectory, System.String ibVersion, System.String userName, System.String password, System.String tradingMode, System.String agentDescription) [0x002ad] in /Users/achertok/Projects/Lean/Brokerages/InteractiveBrokers/InteractiveBrokersBrokerage.cs:272 at QuantConnect.Brokerages.InteractiveBrokers.InteractiveBrokersBrokerageFactory.CreateBrokerage (QuantConnect.Packets.LiveNodePacket job, QuantConnect.Interfaces.IAlgorithm algorithm) [0x000e1] in /Users/achertok/Projects/Lean/Brokerages/InteractiveBrokers/InteractiveBrokersBrokerageFactory.cs:95 at QuantConnect.Lean.Engine.Setup.BrokerageSetupHandler.CreateBrokerage (QuantConnect.Packets.AlgorithmNodePacket algorithmNodePacket, QuantConnect.Interfaces.IAlgorithm uninitializedAlgorithm, QuantConnect.Interfaces.IBrokerageFactory& factory) [0x00060] in /Users/achertok/Projects/Lean/Engine/Setup/BrokerageSetupHandler.cs:128 at QuantConnect.Lean.Engine.Engine.Run (QuantConnect.Packets.AlgorithmNodePacket job, QuantConnect.Lean.Engine.AlgorithmManager manager, System.String assemblyPath, QuantConnect.Util.WorkerThread workerThread) [0x0023c] in /Users/achertok/Projects/Lean/Engine/Engine.cs:138
Andrey Chertok
Here I use 978.2k for this field (because this value is in "About" section), but I also used 978 - same result.
Aaron Janeiro Stone
The next most likely culprit would be to make sure you changed your JTS directory from its default Windows location to your local one (usually in home)
https://github.com/QuantConnect/Lean/blob/8cbdfcaf2837b79937f885a151660dc3eb65fea6/Launcher/config.json#L74If this is not the issue, can you post your config (without any personal details)?
Andrey Chertok
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!