Add MAXIMUM_BUCKETS_AMOUNT constant to BfxWebsocketClient class.

This commit is contained in:
Davide Casale
2022-11-30 17:55:10 +01:00
parent 509223ae9b
commit 48f1745f10
2 changed files with 7 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ class Constants(str, Enum):
PUB_WSS_HOST = "wss://api-pub.bitfinex.com/ws/2"
class Client(object):
def __init__(self, WSS_HOST: str = Constants.WSS_HOST, API_KEY: str = None, API_SECRET: str = None, log_level: str = "ERROR"):
def __init__(self, WSS_HOST: str = Constants.WSS_HOST, API_KEY: str = None, API_SECRET: str = None, log_level: str = "WARNING"):
self.wss = BfxWebsocketClient(
host=WSS_HOST,
API_KEY=API_KEY,