-) Removed pendingOrders from BfxWebsocket() (it was not used anywhere)

-) Fixed issue in confirm_order_new() (the keys of the dict pending_orders are the cids of the orders, and not the ids)
This commit is contained in:
Dario Moceri
2021-03-15 16:18:15 +01:00
committed by Robert Kowalski
parent e39ed1c491
commit 50c52b77ab
5 changed files with 10 additions and 5 deletions

View File

@@ -158,7 +158,6 @@ class BfxWebsocket(GenericWebsocket):
self.API_SECRET = API_SECRET
self.manageOrderBooks = manageOrderBooks
self.dead_man_switch = dead_man_switch
self.pendingOrders = {}
self.orderBooks = {}
self.ws_capacity = ws_capacity
self.channel_filter = channel_filter