LUCIT-Systems-and-Development / unicorn-binance-websocket-api

A Python SDK by LUCIT to use the Binance Websocket API`s (com+testnet, com-margin+testnet, com-isolated_margin+testnet, com-futures+testnet, com-coin_futures, us, tr, dex/chain+testnet) in a simple, fast, flexible, robust and fully-featured way.
https://unicorn-binance-websocket-api.docs.lucit.tech/
Other
680 stars 165 forks source link

Bug fix #142

Closed gronastech closed 3 years ago

gronastech commented 3 years ago

PR Details

Description

Bug fix for:

unicorn_binance_websocket_api/unicorn_binance_websocket_api_manager.py", line 1300, in create_websocket_uri elif "!" in market: UnboundLocalError: local variable 'market' referenced before assignment

added default empty values for market & channel

Related Issue

Motivation and Context

How Has This Been Tested

Types of changes

Checklist

oliver-zehentleitner commented 3 years ago

Any news?

oliver-zehentleitner commented 3 years ago

Please do some conversation with me! I dont want to merge a PR if I have to fix something afterwards. So please remove the changes in unicorn_binance_websocket_api/unicorn_binance_websocket_api_manager.py or I will close this.

Thanks and best regards, Oliver