Back

Error: TWS version 968 is not installed __ You must install the offline version of TWS/Gateway __ IBController does not work with the auto-updating TWS/Gateway

I am trying to get LEAN working "locally". (still have to ask IB support to turn on live data feed to IB paper account.)  I have setup everything in Visual Basics with IBController 3.4.0 and ibgateway-latest-standalone-windows-x64 version 973 (incorrect version I guess).  Configuration of config.json file has been completed and I have ran sample BasicTemplateAlgorithm.py, but I am getting following error shown below. Is there a way I can get a 968 version for Windows platform as I cannot find this anywhere on IB website or maybe if there is solution to get IBController to work with 973 version. Any direction would be very helpful. Thanks!!

 Error:

 ================================================================================Starting IBController version 3.4.0 on Tue 10/23/2018 at 19:05:45.32Operating system:  Microsoft Windows 10 Pro  64-bit          10.0.17763 
Arguments:TWS version = 968
Entry point = ibcontroller.IBGatewayController
/TwsPath = C:\Jts
/IbcPath = C:\IBController
/IbcIni = C:\IBController\IBController.ini
/Mode = paper
/JavaPath =
/User = ***
/PW = ***
/FIXUser =
/FIXPW =
=========================== An error has occurred ============================= Error: TWS version 968 is not installed
       You must install the offline version of TWS/Gateway
       IBController does not work with the auto-updating TWS/Gateway
Update Backtest







just to add on to this.

My IBControllerStart.bat file has the following:

set TWS_MAJOR_VRSN=973
set IBC_INI=%SYSTEMDRIVE%\IBController\IBController.ini
set TRADING_MODE='paper'
set IBC_PATH=%SYSTEMDRIVE%\IBController
set TWS_PATH=%SYSTEMDRIVE%\Jts
set LOG_PATH=%IBC_PATH%\Logs
set TWSUSERID=
set TWSPASSWORD=
set JAVA_PATH=
set HIDE=

0

just to add on:

had to change version to 973 in run-ib-controller.bat file located in Brokerages\InteractiveBrokers in Lean folder.

It is working now.

0

Update Backtest





0

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.


Loading...

This discussion is closed