From 2fa267ac8c12425c668438d484b35e97cd852812 Mon Sep 17 00:00:00 2001 From: TheHolyRoger Date: Mon, 5 Apr 2021 14:29:39 +0100 Subject: [PATCH] CoinZoom: Update user-agent for order book ws requests --- hummingbot/connector/exchange/coinzoom/coinzoom_websocket.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hummingbot/connector/exchange/coinzoom/coinzoom_websocket.py b/hummingbot/connector/exchange/coinzoom/coinzoom_websocket.py index 1e233e2054..7da31a20e4 100644 --- a/hummingbot/connector/exchange/coinzoom/coinzoom_websocket.py +++ b/hummingbot/connector/exchange/coinzoom/coinzoom_websocket.py @@ -46,7 +46,7 @@ def is_subscribed(self): async def connect(self): # if auth class was passed into websocket class # we need to emit authenticated requests - extra_headers = self._auth.get_headers() if self._isPrivate else None + extra_headers = self._auth.get_headers() if self._isPrivate else {"User-Agent": "hummingbot"} self._client = await websockets.connect(self._WS_URL, extra_headers=extra_headers) return self._client