examples: seperate ws and rest examples

This commit is contained in:
Jacob Plaster
2018-12-03 14:40:44 +00:00
parent 405c1a7b7b
commit d683faf459
9 changed files with 207 additions and 207 deletions

View File

@@ -0,0 +1,16 @@
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())