enarjord / passivbot_binance_isolated_margin_legacy

trading bot running on binance isolated margin
84 stars 30 forks source link

Empty symbol_formatting_map #13

Open kwadwobro1 opened 3 years ago

kwadwobro1 commented 3 years ago

async def startwebsocket(self): print([self.symbol_formatting_map]) uri = "wss://stream.binance.com:9443/stream?streams=" + '/'.join( list(self.symbol_formattingmap)) print([uri])

The output of the code above is

{} wss://stream.binance.com:9443/stream?streams=

But in _init

self.symbol_formatting_map = { s.replace('/', '').lower() + f'@depth{self.depth_levels}': s for s in self.symbols }

Why is self.symbols empty