Closed nowfornext closed 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.
This was fixed in 1.12.45. Upgrade to the latest version to get this fixed.
$ pip install ezibpy --upgrade --no-cache-dir
Cheers!
It works! I should have checked first.
Thanks!
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.