Skip to content

Commit

Permalink
Use trade timestamp for binance
Browse files Browse the repository at this point in the history
  • Loading branch information
bmoscon committed Nov 29, 2021
1 parent aa26354 commit c4725b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cryptofeed/exchanges/binance.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ async def _trade(self, msg: dict, timestamp: float):
SELL if msg['m'] else BUY,
Decimal(msg['q']),
Decimal(msg['p']),
self.timestamp_normalize(msg['E']),
self.timestamp_normalize(msg['T']),
id=str(msg['a']),
raw=msg)
await self.callback(TRADES, t, timestamp)
Expand Down

0 comments on commit c4725b7

Please sign in to comment.