-) 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

@@ -3,10 +3,13 @@ import sys
import asyncio
sys.path.append('../../../')
from bfxapi import Client
from bfxapi import Client, PUB_WS_HOST, PUB_REST_HOST
# Retrieving seed trades requires public hosts
bfx = Client(
logLevel='INFO'
logLevel='INFO',
ws_host=PUB_WS_HOST,
rest_host=PUB_REST_HOST
)
async def get_seeds():