From b648435220a498daf517d60144282f77063197d4 Mon Sep 17 00:00:00 2001 From: PtrckM <54516858+PtrckM@users.noreply.github.com> Date: Thu, 18 Mar 2021 14:11:28 +0800 Subject: [PATCH 1/3] (refactor) add BVND token --- hummingbot/connector/exchange/binance/binance_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hummingbot/connector/exchange/binance/binance_utils.py b/hummingbot/connector/exchange/binance/binance_utils.py index 4c4bf3dbb0..a6ba40cc72 100644 --- a/hummingbot/connector/exchange/binance/binance_utils.py +++ b/hummingbot/connector/exchange/binance/binance_utils.py @@ -12,7 +12,7 @@ DEFAULT_FEES = [0.1, 0.1] RE_4_LETTERS_QUOTE = re.compile(r"^(\w+)(USDT|USDC|USDS|TUSD|BUSD|IDRT|BKRW|BIDR)$") -RE_3_LETTERS_QUOTE = re.compile(r"^(\w+)(BTC|ETH|BNB|DAI|XRP|PAX|TRX|NGN|RUB|TRY|EUR|ZAR|UAH|GBP|USD|BRL|AUD|VAI)$") +RE_3_LETTERS_QUOTE = re.compile(r"^(\w+)(BTC|ETH|BNB|DAI|XRP|PAX|TRX|NGN|RUB|TRY|EUR|ZAR|UAH|GBP|USD|BRL|AUD|VAI|BVND)$") USD_QUOTES = ["DAI", "USDT", "USDC", "USDS", "TUSD", "PAX", "BUSD", "USD"] From 4ca95ab6cb20980559fbaecd8163402b78ecfe80 Mon Sep 17 00:00:00 2001 From: PtrckM <54516858+PtrckM@users.noreply.github.com> Date: Thu, 18 Mar 2021 14:30:12 +0800 Subject: [PATCH 2/3] (refactor) add BVND token --- hummingbot/connector/exchange/binance/binance_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hummingbot/connector/exchange/binance/binance_utils.py b/hummingbot/connector/exchange/binance/binance_utils.py index a6ba40cc72..3957fbc97e 100644 --- a/hummingbot/connector/exchange/binance/binance_utils.py +++ b/hummingbot/connector/exchange/binance/binance_utils.py @@ -11,8 +11,8 @@ EXAMPLE_PAIR = "ZRX-ETH" DEFAULT_FEES = [0.1, 0.1] -RE_4_LETTERS_QUOTE = re.compile(r"^(\w+)(USDT|USDC|USDS|TUSD|BUSD|IDRT|BKRW|BIDR)$") -RE_3_LETTERS_QUOTE = re.compile(r"^(\w+)(BTC|ETH|BNB|DAI|XRP|PAX|TRX|NGN|RUB|TRY|EUR|ZAR|UAH|GBP|USD|BRL|AUD|VAI|BVND)$") +RE_4_LETTERS_QUOTE = re.compile(r"^(\w+)(USDT|USDC|USDS|TUSD|BUSD|IDRT|BKRW|BIDR|BVND)$") +RE_3_LETTERS_QUOTE = re.compile(r"^(\w+)(BTC|ETH|BNB|DAI|XRP|PAX|TRX|NGN|RUB|TRY|EUR|ZAR|UAH|GBP|USD|BRL|AUD|VAI)$") USD_QUOTES = ["DAI", "USDT", "USDC", "USDS", "TUSD", "PAX", "BUSD", "USD"] From 2fa267ac8c12425c668438d484b35e97cd852812 Mon Sep 17 00:00:00 2001 From: TheHolyRoger Date: Mon, 5 Apr 2021 14:29:39 +0100 Subject: [PATCH 3/3] 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