mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-21 15:54:26 +01:00
change default v2 api endpoint to pub-api
This commit is contained in:
committed by
Jacob Plaster
parent
4cbbbccd51
commit
5cf5277774
@@ -21,7 +21,7 @@ class BfxRest:
|
||||
api key.
|
||||
"""
|
||||
|
||||
def __init__(self, API_KEY, API_SECRET, host='https://api.bitfinex.com/v2', loop=None,
|
||||
def __init__(self, API_KEY, API_SECRET, host='https://api-pub.bitfinex.com/v2', loop=None,
|
||||
logLevel='INFO', parse_float=float, *args, **kwargs):
|
||||
self.loop = loop or asyncio.get_event_loop()
|
||||
self.API_KEY = API_KEY
|
||||
|
||||
Reference in New Issue
Block a user