interactive-broker-python-api icon indicating copy to clipboard operation
interactive-broker-python-api copied to clipboard

COULD NOT CREATE A NEW SESSION THAT WAS AUTHENTICATED, EXITING SCRIPT.

Open jmrichardson opened this issue 4 years ago • 1 comments

Hi,

I've got the localhost client setup and authenticated with paper trading account:

Client login succeeds

But when I run the code, it fails:

from ibw.client import IBClient

# Create a new session of the IB Web API.
ib_client = IBClient(
    username='xxx',
    account='xxx',
)

# create a new session.
ib_client.create_session()

with this error:


COULD NOT CREATE A NEW SESSION THAT WAS AUTHENTICATED, EXITING SCRIPT.
Process finished with exit code 0

jmrichardson avatar Sep 01 '21 18:09 jmrichardson

Did you ever get this fixed?

syntaxsdev avatar Jan 02 '22 22:01 syntaxsdev