Lucas170 / Interactive-brokers-python-native-api-guide

These are the code used for the article "Interactive Brokers Python API (Native) – A Step-by-step Guide". The article and these code are written by Jignesh Davda.
23 stars 20 forks source link

AttributeError: 'IBapi' object has no attribute 'connState' #1

Open aifish520 opened 4 years ago

aifish520 commented 4 years ago

Hi Lucas,

I am a new learning of quant trading, I try your code as your method https://algotrading101.com/learn/interactive-brokers-python-api-native-guide/

while i run the connect connectivity.py in my laptop, return this error: AttributeError: 'IBapi' object has no attribute 'connState' what is the problem, it is appreciated that i can have your replying. Thank you

PythonForForex commented 4 years ago

aifish520 - I've created a pull request with a small update to the code. It should work now. Please let me know if there are any other issues.

Thanks, Jignesh