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.
When api key is real but was deleted from binance account then api returns dict with code -2008 and message "Invalid Api-Key ID".
To prevent library throw AttributeError on parsing uri, which is dict when this error occurs, i've added another filter to crush thread
Related Issue
Sorry, i didn't create issue. You can check this bug fast before accepting or declining my pull request.
Description
When api key is real but was deleted from binance account then api returns dict with code -2008 and message "Invalid Api-Key ID". To prevent library throw AttributeError on parsing uri, which is dict when this error occurs, i've added another filter to crush thread
Related Issue
Sorry, i didn't create issue. You can check this bug fast before accepting or declining my pull request.
Motivation and Context
It fixes unexpected behavior.
How Has This Been Tested
It was tested on trading application.
Types of changes
Checklist