Skip to content

Show error / update config & examples, for multiple ws accounts #158

Description

@tiagosiebler

"Websocket no longer supported multiple account batch login."
https://www.okx.com/docs-v5/log_en/#2023-04-19

Instead, the expectation is that you create one connection per account. With the SDK, you can do this by making one WebsocketClient instance per account. I'll look to update the parameter to make that clearer in future...

Need to:

  • update docs to remove suggestions multiple accounts are supported in one wsclient instance
  • update examples to ^
  • throw hard error if multiple accounts are provided in ws config?

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions