You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In bingx.py, handle_balance() has a dictionary keyError. Namely, it calls self.balance[type]['info'] = data, before self.balance has been defined as a dictionary. I suggest adding a line self.balance[type] = {} before making this call. The code below is the unedited version.
I found this error because handle_balance() is called in watch_orders() (watching swaps), and it constantly drew a keyError.
Operating System
Mac
Programming Languages
Python
CCXT Version
4.2.76
Description
In bingx.py, handle_balance() has a dictionary keyError. Namely, it calls self.balance[type]['info'] = data, before self.balance has been defined as a dictionary. I suggest adding a line self.balance[type] = {} before making this call. The code below is the unedited version.
I found this error because handle_balance() is called in watch_orders() (watching swaps), and it constantly drew a keyError.
Code
The text was updated successfully, but these errors were encountered: