Files
bitfinex-api-py/bfxapi/examples/rest/get_seed_trades.py
fintzd 8660fac2bb fix: delete get_seed_trades.py (#134)
* 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
2021-05-24 13:28:01 +02:00

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