Get order book for a send pair
Authentication
Using the sign in to the API Login Use
Params
Param | Description |
---|---|
token | Token get in login process |
api_key_auth | Api key delivered by Depasify |
example
URL_WEBSOCKET = wss://{host}?token=sing_token
const ws = new WebSocket(URL_WEBSOCKET, [api_key_auth]) ;
Message structure subscribe
Param | Mandatory | Example | Type | Description |
---|---|---|---|---|
subscribe | Y | order | string | order |
pair | Y | BTC/EUR | string | The symbol of the currency pair. |
Message structure unsubscribe
Param | Mandatory | Example | Type | Description |
---|---|---|---|---|
unsubscribe | Y | order | string | order |
pair | Y | BTC/EUR | string | The symbol of the currency pair. |