Files
bitfinex-api-py/bfxapi/Client.py
2018-11-19 16:51:00 +00:00

8 lines
334 B
Python

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