mirror of
https://github.com/aljazceru/bitfinex-api-py.git
synced 2025-12-20 07:14:20 +01:00
Adjusted get_trades() to allow symbol to be None and get trades for all symbols
This commit is contained in:
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user