IBridgePy on Mac and IBridgePy on Ubuntu are available!

IBridgePy Mac and Ubuntu versions bring algorithmic trading to macOS and Linux users. Both platforms use native Python 2.7 64-bit, giving you full access to IBridgePy trading capabilities on your preferred operating system with easy download and setup.

IBridgePy Mac and Ubuntu versions available

Dear IBridgePy users,

EXCLUSIVE OFFER

Extra 7% OFF All Quantra Courses

Level up your quant trading skills with courses from Quantra by QuantInsti — Python for trading, machine learning strategies, options trading, and more.

HUI7 Browse Courses → Use code HUI7 at checkout

Thank you very much for your patience. Finally, IBridgePy on Mac and IBridgePy on Ubuntu are available for download. Both of them are based on native python 2.7 64-bit, not anaconda python. These Mac Ubuntu available versions provide full functionality for your trading needs.

Download IBridgePy Mac Ubuntu Versions

Please download them at https://ibridgepy.com/download/

Let us know if you have any issues with them. Visit our tutorials for installation guides.

Need help building this strategy?

Our Rent-a-Coder team builds custom automated trading programs. From simple scripts to complex multi-account strategies — we handle it all.

Learn more from Python official documentation.

Best,

IBridgePy team

 

EXCLUSIVE OFFER

Extra 7% OFF All Quantra Courses

Level up your quant trading skills with courses from Quantra by QuantInsti — Python for trading, machine learning strategies, options trading, and more.

HUI7 Browse Courses → Use code HUI7 at checkout

Ready to Automate Your Trading?

Download IBridgePy free or let our coders build your strategy.

Download Free Hire a Coder

21 thoughts on “IBridgePy on Mac and IBridgePy on Ubuntu are available!”

    1. Hello,

      I am trying to run this using the same setup. I downloaded PyCharm, and I when i run the RUN_ME file, i get the following error:

      Fatal Python error: PyThreadState_Get: no current thread

      Was wondering if, perhaps, you saw this and had a work around.

      Any help greatly appreciated

  1. Hi, it is great that an Ubuntu version is available now. However, it isn’t clear how to install and run it. I have python 2.7.6 on Ubuntu 14.04. I unzipped the file and tried to run RUN_ME.py but got an error:

    File ..//IBridgePy_ubuntu/IBridgePy/quantopian.py”, line 1, in
    from IBridgePy import IBCpp
    ImportError: …/IBridgePy/IBCpp.so: undefined symbol: GENERAL_NAME_free:

    I tried adding …/IBridgePy_ubuntu/IBridgePy to both PYTHONPATH and LD_LIBRARY_PATH and got the same result. Am I missing some installation step?

      1. No, I have the standard python package installed for 2.7.6. I also have python3 installed, but this has separate binaries and a separate library distribution directory.

  2. No, I have the standard python package installed for 2.7.6. I also have python3 installed, but this has separate binaries and a separate library distribution directory.

    1. IBridgePy on Ubuntu was developed on Ubuntu build-in python 2.7 64 bit. I suspect that Python3 in your system confuses IBridgePy so that it did not work as expected.

    2. Hey davidsi,

      I have the same problem here, Ubuntu 64-bit with Python 2.7.12. I also had python3 installed on the side (I believe it comes with the distribution by default).

      I removed python3 and tried again but it did not help. I still get:

      ImportError: ~/IBridgePy_ubuntu/IBridgePy/IBCpp.so: undefined symbol: GENERAL_NAME_free

      Know of any solution to this?

  3. [re-post]
    Hi,

    I’m trying to migrate from Quantopian to iBridgePy. I’m running the native Python (v. 2.7.10) under macOS 10.12.6. If I check ‘Read-Only API’ in settings, I can run ‘example_show_positions.py’ (albeit with “Error validating request:-‘bI’”…). If I uncheck ‘Read-Only API’, however, I almost immediately get a socket error:IBridgePy.IBAccountManager: errorId = -1, errorCode = 509, error message: Exception caught while reading socket – Invalid argument

    Note that I observe this same behavior whether I’m using TWS or IB Gateway, and Live or Paper Trading.

    Robert

  4. I have tried to run the Mac version of ibridgepy:
    1) by running python2 RUN_ME.py in the command line
    2) by pasting the RUN_ME.py file into a Jupyter notebook running python2

    in both cases, I get an error like:
    Fatal Python error: PyThreadState_Get: no current thread
    Abort trap: 6

    Did anyone successfully run the Mac version of ibridgepy? Is there another trick to it?

Leave a Comment