Adjusted get_trades() to allow symbol to be None and get trades for all symbols

This commit is contained in:
itsdeka
2021-12-13 13:15:56 +01:00
parent 24e135201e
commit ddf0c14cec
5 changed files with 8 additions and 5 deletions

View File

@@ -39,7 +39,7 @@ async def log_active_positions():
[ print (p) for p in positions ]
async def log_trades():
trades = await bfx.rest.get_trades('tBTCUSD', 0, then)
trades = await bfx.rest.get_trades(symbol='tBTCUSD', start=0, end=then)
print ("Trades:")
[ print (t) for t in trades]