Skip to content

Hardcoded account type #14

Description

@george-cindea

self.ws=websocket.create_connection("wss://ws.xtb.com/demo")

As seen here, the account type is hardcoded and set to "demo". When I first tried to use this file, I was hit by an error and it took a while to figure it out what is wrong. Is it possible to make this dynamic from somewhere so that users can easily check if they want to connect to a demo or real account?

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