This API provides the ability to use WebSocket for trading and subscriptions.

To use this API, you must create an API key.

You can create the API key in a profile, API keys section. After creating the API key you will be given a key and a secret.

Please note that the secret of the key is available for copy only within 30 minutes after creating the key.

The API key data is used for authentication.

The connection must be opened by the following protocol: wss://

All requests must be sent in JSON format converted to a string.

All responses from the server also come in JSON format, converted to a string.

Authentication is required for each request. The instruction on authentication can be found in the appropriate section of this documentation.

If the query succeeds, the response is:

{"success":1, "result": {}}

Response in case of error:

{"success":0, "error": ""}