-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Description
Describe the bug
When using the binance_us connector it still seems to use some binance settings and the mapping for the trading pairs are different. I don't think there should be a "-" in the trading pair.
1762044709.2552001 - hummingbot.connector.exchange.binance.binance_api_order_book_data_source.BinanceAPIOrderBookDataSource: Unexpected error occurred subscribing to order book trading and delta streams...
Traceback (most recent call last):
File "/home/hummingbot/hummingbot/connector/exchange/binance/binance_api_order_book_data_source.py", line 75, in _subscribe_channels
symbol = await self._connector.exchange_symbol_associated_to_pair(trading_pair=trading_pair)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "hummingbot/connector/exchange_base.pyx", line 97, in exchange_symbol_associated_to_pair
return symbol_map.inverse[trading_pair]
File "/opt/conda/envs/hummingbot/lib/python3.12/site-packages/bidict/_base.py", line 524, in getitem
return self._fwdm[key]
~~~~~~~~~~^^^^^
KeyError: 'BTC-USDT'
Steps to reproduce
- Use binance_us connector
- Try to run a strategy
Release version
deploy - newest version
Type of installation
Docker
Attach required files
No response