ranaroussi / ezibpy

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

[ERROR] ezibpy: [#321] Error validating request:-'bp' : cause - Invalid account code '0'. #29

Open iranmilad opened 5 years ago

iranmilad commented 5 years ago

hi i get this error my code is

        ibConn.requestAccountUpdates(subscribe=True)
        ibConn.requestPositionUpdates(subscribe=True)
        Time. sleep (30)

        account_data_response=ibConn.account

        ibConn.requestAccountUpdates(subscribe=False)
        ibConn.requestPositionUpdates(subscribe=False)
        # disconnect

how can i do for remove this error my version is 1.12.67 so thanks for support

phenn52 commented 4 years ago

Was there ever a fix for this? I am trying to connect to FA accounts beginning in either F or U and I am receiving the same error. I am creating unique ID's for each time i try to connect and I have ensured the global config settings in IB are correct and the ports match up. Any ideas? Thank you.

ch01ca commented 4 years ago

i got the same error

rhodel68 commented 3 years ago

I'm also getting this error using an FA setup and several others when trying to route orders to one client account. Are there any configuration examples anywhere that I could follow for FA setup?