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
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:
with this error: