Fix small bug in bfxapi/websocket/BfxWebsocketClient.py.

This commit is contained in:
Davide Casale
2022-11-15 18:37:17 +01:00
parent 7fcd2e0970
commit d3715d3f9c

View File

@@ -9,7 +9,7 @@ from .errors import BfxWebsocketException, ConnectionNotOpen, InvalidAuthenticat
HEARTBEAT = "hb" HEARTBEAT = "hb"
class BfxWebsocketClient(object): class BfxWebsocketClient(object):
VERSION = 1 VERSION = 2
def __init__(self, host, API_KEY=None, API_SECRET=None): def __init__(self, host, API_KEY=None, API_SECRET=None):
self.host, self.chanIds, self.event_emitter = host, dict(), AsyncIOEventEmitter() self.host, self.chanIds, self.event_emitter = host, dict(), AsyncIOEventEmitter()