mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-19 23:04:21 +01:00
refactoring - moved hosts to constants.py
This commit is contained in:
@@ -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:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user