-) Use private host for auth-based requests

-) Updated examples
This commit is contained in:
itsdeka
2022-08-22 19:31:16 +02:00
parent 1ca0d871c7
commit 87e7f9820e
26 changed files with 105 additions and 55 deletions

View File

@@ -5,13 +5,13 @@ a websocket client and a rest interface client
# pylint: disable-all
import asyncio
from .websockets.bfx_websocket import BfxWebsocket
from .rest.bfx_rest import BfxRest
REST_HOST = 'https://api-pub.bitfinex.com/v2'
WS_HOST = 'wss://api-pub.bitfinex.com/ws/2'
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'
class Client:
"""