mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-24 01:04:22 +01:00
-) Use private host for auth-based requests
-) Updated examples
This commit is contained in:
@@ -2,10 +2,13 @@ import os
|
||||
import sys
|
||||
sys.path.append('../../../')
|
||||
|
||||
from bfxapi import Client
|
||||
from bfxapi import Client, PUB_WS_HOST, PUB_REST_HOST
|
||||
|
||||
# Retrieving trades/candles requires public hosts
|
||||
bfx = Client(
|
||||
logLevel='DEBUG',
|
||||
ws_host=PUB_WS_HOST,
|
||||
rest_host=PUB_REST_HOST,
|
||||
# Verifies that the local orderbook is up to date
|
||||
# with the bitfinex servers
|
||||
manageOrderBooks=True
|
||||
|
||||
Reference in New Issue
Block a user