mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-19 14:54:21 +01:00
* Delete get_seed_trades.py The request here is made with REST not WS, so it is not the correct place for this example. * Moved the file to where it belongs
17 lines
282 B
Python
17 lines
282 B
Python
import os
|
|
import sys
|
|
import asyncio
|
|
sys.path.append('../../../')
|
|
|
|
from bfxapi import Client
|
|
|
|
bfx = Client(
|
|
logLevel='INFO'
|
|
)
|
|
|
|
async def get_seeds():
|
|
candles = await bfx.rest.get_seed_candles('tBTCUSD')
|
|
print (candles)
|
|
|
|
asyncio.get_event_loop().run_until_complete(get_seeds())
|