Create Client module

This commit is contained in:
Jacob Plaster
2018-11-19 16:51:00 +00:00
parent 02e232362b
commit aa50a399dd
5 changed files with 471 additions and 470 deletions

7
bfxapi/Client.py Normal file
View 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