Sends a single, new order into the exchange.
Authentication
Using the same authentication to the API Authenticate Method
Params
| Param | Description |
|---|---|
| token | User JSON Web Token | User API Key |
| api_key_auth | Api key delivered by Depasify |
example
URL_WEBSOCKET = wss://{host}?token=token
const ws = new WebSocket(URL_WEBSOCKET, [api_key_auth]) ;
Message structure
| Param | Mandatory | Example | Type | Description |
|---|---|---|---|---|
| subscribe | Y | trade | string | type of message send. always 'trade.cancel' |
| account_id | Y | uuid | string | Id of the account to be associated with the trade |
| id | Y | uuid | string | The id |
