mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-19 23:04:21 +01:00
ws/client: add channel_filter field
This commit is contained in:
committed by
Jacob Plaster
parent
00e39bda0d
commit
2195e8b3b2
@@ -20,9 +20,9 @@ class Client:
|
||||
|
||||
def __init__(self, API_KEY=None, API_SECRET=None, rest_host=REST_HOST,
|
||||
ws_host=WS_HOST, create_event_emitter=None, logLevel='INFO', dead_man_switch=False,
|
||||
ws_capacity=25, *args, **kwargs):
|
||||
ws_capacity=25, channel_filter=[], *args, **kwargs):
|
||||
self.ws = BfxWebsocket(API_KEY=API_KEY, API_SECRET=API_SECRET, host=ws_host,
|
||||
logLevel=logLevel, dead_man_switch=dead_man_switch,
|
||||
logLevel=logLevel, dead_man_switch=dead_man_switch, channel_filter=channel_filter,
|
||||
ws_capacity=ws_capacity, create_event_emitter=create_event_emitter, *args, **kwargs)
|
||||
self.rest = BfxRest(API_KEY=API_KEY, API_SECRET=API_SECRET, host=rest_host,
|
||||
logLevel=logLevel, *args, **kwargs)
|
||||
|
||||
Reference in New Issue
Block a user