change default v2 api endpoint to pub-api

This commit is contained in:
Jacob Plaster
2019-04-04 13:31:08 +11:00
committed by Jacob Plaster
parent 4cbbbccd51
commit 5cf5277774
4 changed files with 6 additions and 6 deletions

View File

@@ -97,7 +97,7 @@ class BfxWebsocket(GenericWebsocket):
20061: 'Websocket server resync complete'
}
def __init__(self, API_KEY=None, API_SECRET=None, host='wss://api.bitfinex.com/ws/2',
def __init__(self, API_KEY=None, API_SECRET=None, host='wss://api-pub.bitfinex.com/ws/2',
manageOrderBooks=False, dead_man_switch=False, logLevel='INFO', parse_float=float,
*args, **kwargs):
self.API_KEY = API_KEY