ranaroussi / ezibpy

ezIBpy, a Pythonic Client for Interactive Brokers API
Apache License 2.0
324 stars 116 forks source link

No exchange information in contracts #8

Closed nowfornext closed 7 years ago

nowfornext commented 7 years ago

using ezIBpy (1.12.44). codes below:

ibConn = ezibpy.ezIBpy() ibConn.connect(clientId=100, host="localhost", port=4001) print(ibConn.contracts[1].m_exchange)

there are positions in my account. it seems ezibpy created contracts based upon my positions. However, the created contracts did not have the exchange information. This caused issues later to place the orders.

ranaroussi commented 7 years ago

This was fixed in 1.12.45. Upgrade to the latest version to get this fixed.

$ pip install ezibpy --upgrade --no-cache-dir

Cheers!

nowfornext commented 7 years ago

It works! I should have checked first.

Thanks!