refactoring - moved hosts to constants.py

This commit is contained in:
itsdeka
2022-08-27 17:09:00 +02:00
parent b2460450c6
commit 17646f9980
3 changed files with 7 additions and 6 deletions

View File

@@ -7,11 +7,7 @@ a websocket client and a rest interface client
from .websockets.bfx_websocket import BfxWebsocket
from .rest.bfx_rest import BfxRest
REST_HOST = 'https://api.bitfinex.com/v2'
WS_HOST = 'wss://api.bitfinex.com/ws/2'
PUB_REST_HOST = 'https://api-pub.bitfinex.com/v2'
PUB_WS_HOST = 'wss://api-pub.bitfinex.com/ws/2'
from .constants import *
class Client:
"""