Dear IBridgePy users,
Thank you very much for your patience. Finally, IBridgePy on Mac and IBridgePy on Ubuntu are available. Both of them are based on native python 2.7 64-bit, not anaconda python.
Please download them at https://ibridgepy.com//download/
Let us know if you have any issues with them.
Best,
IBridgePy team
I have successfully run example code of IBridgePy on macOS 10.12.6 with built-in Python interpreter 2.7.10 on PyCharm CE.
Excellent work!
Thank you very much for your feedback.
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
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?
Are you using anaconda python? IBridgePy Ubuntu does not support anaconda python yet.
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.
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.
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.
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?
Are you using Anaconda?
No. Just the python that comes installed with the distribution.
Have you solved the problem? I have the same problem on ubuntu 16.
Hi..Can u please tell me the steps to download on Mac?
Please go to https://ibridgepy.com//download/ and download IBridgePy on Mac to your local drive. That is it.
Then, you can follow the instruction on this page https://ibridgepy.com//run_strategy/ to run the example codes.
Wonderful! Do you have a timeline for Python 3 support on Mac? Thank you!
Not recently. Thanks
[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
Please send an email to IBridgePy@gmail.com to schedule a Teamviewer remote debug session. Thanks for reporting the bug.
Hi,
I’m having the same problem. Have you found a solution?
Thanks
Tadas
add the following line in RUN_ME.py
logLevel = ‘NOTSET’
Then, run it.
Then, send the log file in \LOG\xxx to IBridgePy@gmail.com
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?