mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-19 23:04:21 +01:00
-) Use private host for auth-based requests
-) Updated examples
This commit is contained in:
@@ -2,10 +2,12 @@ import os
|
||||
import sys
|
||||
sys.path.append('../../../')
|
||||
|
||||
from bfxapi import Client
|
||||
from bfxapi import Client, PUB_WS_HOST, PUB_REST_HOST
|
||||
|
||||
bfx = Client(
|
||||
logLevel='DEBUG'
|
||||
logLevel='DEBUG',
|
||||
ws_host=PUB_WS_HOST,
|
||||
rest_host=PUB_REST_HOST
|
||||
)
|
||||
|
||||
@bfx.ws.on('error')
|
||||
|
||||
Reference in New Issue
Block a user