From 92d6630013effc1a9a9c57534db26b057b872b3d Mon Sep 17 00:00:00 2001 From: Davide Casale Date: Thu, 20 Apr 2023 01:06:54 +0200 Subject: [PATCH] Remove oc_multi-notification event from AuthenticatedEventsHandler (bfxapi.websocket.handlers.authenticated_events_handler). --- bfxapi/websocket/handlers/authenticated_events_handler.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/bfxapi/websocket/handlers/authenticated_events_handler.py b/bfxapi/websocket/handlers/authenticated_events_handler.py index 34bd2d0..289fe60 100644 --- a/bfxapi/websocket/handlers/authenticated_events_handler.py +++ b/bfxapi/websocket/handlers/authenticated_events_handler.py @@ -43,8 +43,7 @@ class AuthenticatedEventsHandler: ON_EVENTS = [ *list(__on_abbreviations.values()), "notification", "on-req-notification", "ou-req-notification", - "oc-req-notification", "oc_multi-notification", "fon-req-notification", - "foc-req-notification" + "oc-req-notification", "fon-req-notification", "foc-req-notification" ] def __init__(self, event_emitter): @@ -71,9 +70,6 @@ class AuthenticatedEventsHandler: if stream[1] == "on-req" or stream[1] == "ou-req" or stream[1] == "oc-req": event, serializer = f"{stream[1]}-notification", _Notification(serializer=serializers.Order) - if stream[1] == "oc_multi-req": - event, serializer = f"{stream[1]}-notification", _Notification(serializer=serializers.Order, iterate=True) - if stream[1] == "fon-req" or stream[1] == "foc-req": event, serializer = f"{stream[1]}-notification", _Notification(serializer=serializers.FundingOffer)