Deep RL - What is correct setup to run OSX on local machine?

Please advise the correct setup for running deep RL using tensorflow for OSX. I've been reading the documents for days but it's not clear to me. It seems that plain python has to be used for IBridgePy, but the course documents keep referring to Anaconda. I have installed python 3.9 and IBridgePy 3.9 and the connection to IBKR works fine using VS Code. However, how can the backtesting code (and other) be run with plain python given that most of the script files are ipynb? Do the ipynb files need to be converted py files? You guidance is appreciated. 

Hi Logan,



For live trading using IBridgePy on Mac, you will have to convert the code into plain Python language and then run the same accordingly. For reference, you can check this template documentation. You can refer to this link if you are facing any issues with setting up IBridgePy on Mac. Please do let us know if you face any further issues.



Hope this helps!



Thanks,

Akshay

Thanks for your reply about having to convert to plain py files. However, the links you referred me to are the ones that provide instructions for setting up an Anaconda environment. The issue is that we cannot use an Anconda environmet, which is why the files need be converted to py files. Therefore, my question remains - what is a good setup for running RL with tensorflow for the IBridgePy api? What would be a good IDE (e.g., VS Code)? Should an env be setup without using Anaconda? I strongly suggest that Quantra give consideration to creating a single document to guide users with settup up a sytem on a local machine who are using macOS/Linux. Hopefully, someone on your team is using macOS or Linux and running RL with tensorflow. Your further guideance is appreciated.   

Hi Logan,



So you can set up the environment on your system without using Anaconda, activate the environment and then follow the steps in this video to install IBridgePy. Once the installation is done, you can try running this code to check if everything is installed properly. Also, about the IDE, you can use any IDE that suits you, like VS Code, PyCharm etc. 



Hope this helps!



Thanks,

Akshay