Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty symbol_formatting_map #13

Open
kwadwobro1 opened this issue Apr 28, 2021 · 1 comment
Open

Empty symbol_formatting_map #13

kwadwobro1 opened this issue Apr 28, 2021 · 1 comment

Comments

@kwadwobro1
Copy link

async def start_websocket(self):
print_([self.symbol_formatting_map])
uri = "wss://stream.binance.com:9443/stream?streams=" + '/'.join(
list(self.symbol_formatting_map))
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@kwadwobro1 and others