Skip to content

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

Description

@jmrichardson

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions