Skip to content

Commit

Permalink
Merge branch 'development' into connector-status
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisocana authored Apr 6, 2021
2 parents a38baa2 + 2916e94 commit 4ab95cd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions hummingbot/connector/connector_status.py
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
#!/usr/bin/env python

connector_status = {
'ascend_ex': 'yellow',
'balancer': 'green',
'beaxy': 'yellow',
'beaxy': 'green',
'binance': 'green',
'binance_perpetual': 'green',
'binance_perpetual_testnet': 'green',
'binance_perpetual': 'yellow',
'binance_perpetual_testnet': 'yellow',
'binance_us': 'yellow',
'bitfinex': 'yellow',
'ascend_ex': 'green',
'bittrex': 'yellow',
'blocktane': 'green',
'celo': 'green',
'coinbase_pro': 'green',
'coinbase_pro': 'yellow',
'coinzoom': 'yellow',
'crypto_com': 'yellow',
'digifinex': "yellow",
'dydx': 'green',
'eterbase': 'red',
'ethereum': 'red',
'hitbtc': 'yellow',
'huobi': 'green',
'kraken': 'green',
'kucoin': 'green',
'liquid': 'green',
'liquid': 'yellow',
'loopring': 'yellow',
'okex': 'green',
'okex': 'yellow',
'perpetual_finance': 'yellow',
'probit': 'yellow',
'probit_kr': 'yellow',
Expand Down
2 changes: 1 addition & 1 deletion hummingbot/connector/exchange/binance/binance_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
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_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"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4ab95cd

Please sign in to comment.