I am trying to run Lean locally but I am not able to set the "ib-version": "10.12" in lean.json file.  It seems like IB changed the version numbers when they got to 1000. So 1012 is 10.12. I get this error message when having a decimal point in the version number. 

‘System.FormatException: Input string was not in a correct format.’ 

This version gets installed at location ‘C:\Jts\ibgateway\1012’  If I change it to "ib-version": "1012".   I get this error ‘Error 

- Code: IbGatewayVersionNotInstalled - The
IBGateway version is not installed. - Version: 1012 - Path: C:\ibgateway’

A couple of things to note with this error message.  The version number is not correct and the Path defaults to ‘C:\ibgateway’ When it should be ‘C:/Jts/ibgateway/1012’

If I set the version to a previous version below 1000 it fails because I don't have that version but does show the correct Path.  Error:

Code: IbGatewayVersionNotInstalled - The
IBGateway version is not installed. - Version: 978 - Path: C:\Jts/ibgateway/978

I know there has to be some sort of workaround for this issue.  Can anybody point me in the right direction?

Thank you.

 

 

Author