Not able to run the strategy

Course Name: Automated Trading with IBridgePy using Interactive Brokers Platform, Section No: 2, Unit No: 4, Unit type: Document

 

I have python version  - Python 3.12.3 and I have downloaded the pyhton version 3.11 for the ibridge.py I was connected to the paper trading account of the ibkr tws and ran into error .Please see the error below -

DLL load failed while importing IBCpp: The specified module could not be found.

Hi Jagteshwar,



The error is likely caused by the different Python versions. You can create a separate environment (ibenv) with Python 3.11 using the following command:

 

conda create -n ibenv python=3.11

activate it, and then try running the RUN_ME.py file. It should run without any errors. 

 

Thanks 

Hi Jagteshwar,



This has been answered here.