mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-19 14:54:21 +01:00
Create Client module
This commit is contained in:
7
bfxapi/Client.py
Normal file
7
bfxapi/Client.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from .websockets.BfxWebsocket import BfxWebsocket
|
||||
|
||||
class Client:
|
||||
def __init__(self, API_KEY=None, API_SECRET=None,
|
||||
host='wss://test.bitfinex.com/ws/2', *args, **kwargs):
|
||||
self.ws = BfxWebsocket(API_KEY=API_KEY, API_SECRET=API_SECRET, host=host, *args, **kwargs)
|
||||
self.rest = None # Eventually will be the rest interface
|
||||
Reference in New Issue
Block a user