Closed chem-chikweze closed 2 years ago
@retry def get_symbol_info(self, symbol): return self.binance.get_symbol_info(symbol)
returns None This leads to a TypeError: 'NoneType' object is not subscriptable error when you run store = BinanceStore( api_key=BINANCE.get("key"), api_secret=BINANCE.get("secret"), coin_refer=COIN_REFER, coin_target=COIN_TARGET, testnet=True )
TypeError: 'NoneType' object is not subscriptable
store = BinanceStore( api_key=BINANCE.get("key"), api_secret=BINANCE.get("secret"), coin_refer=COIN_REFER, coin_target=COIN_TARGET, testnet=True )
Closed. Swapping my entries for COIN_REFER and COIN_TARGET fixed it.
COIN_REFER
COIN_TARGET
@retry def get_symbol_info(self, symbol): return self.binance.get_symbol_info(symbol)
returns None This leads to a
TypeError: 'NoneType' object is not subscriptable
error when you runstore = BinanceStore( api_key=BINANCE.get("key"), api_secret=BINANCE.get("secret"), coin_refer=COIN_REFER, coin_target=COIN_TARGET, testnet=True )