mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-20 15:24:21 +01:00
-) Use private host for auth-based requests
-) Updated examples
This commit is contained in:
@@ -1,13 +1,15 @@
|
||||
import os
|
||||
import sys
|
||||
import time
|
||||
from collections import OrderedDict
|
||||
sys.path.append('../../../')
|
||||
|
||||
from bfxapi import Client
|
||||
from bfxapi import Client, PUB_WS_HOST, PUB_REST_HOST
|
||||
|
||||
# Retrieving orderbook requires public hosts
|
||||
bfx = Client(
|
||||
manageOrderBooks=True
|
||||
manageOrderBooks=True,
|
||||
ws_host=PUB_WS_HOST,
|
||||
rest_host=PUB_REST_HOST
|
||||
)
|
||||
|
||||
class OrderBook:
|
||||
|
||||
Reference in New Issue
Block a user