Skip to content

Streaming UnexpectedResponseCode 3, msg is 'Login Denied' #240

Description

@hinson-x

I used the streaming code example from https://tda-api.readthedocs.io/en/latest/streaming.html

But I received this error:
tda.streaming.UnexpectedResponseCode: unexpected response code: 3, msg is 'Login Denied.'

I've modified it to this:
client = easy_client(config.api_key, config.redirect_uri, config.token_path)

and also changed many variables but still cannot get the streaming to work.

However when I use it to retrieve get_quote on my other python file, it works.

Does streaming have something extra or did something break?

Thanks.

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