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