Files
bitfinex-api-py/bfxapi/examples/get_seed_trades.py
2018-11-20 14:21:40 +00:00

17 lines
276 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())