tailwind #9
@ -130,7 +130,7 @@ class SymbolStatus:
|
||||
if self.current_tick == 1:
|
||||
return None
|
||||
|
||||
return next(filter(lambda x: x.pid == pid, self.positions[self.current_tick - 1]))
|
||||
return next(filter(lambda x: x.position.id == pid, self.positions[self.current_tick - 1]))
|
||||
|
||||
async def __add_event__(self, event: Event):
|
||||
self.events.append(event)
|
||||
|
Loading…
Reference in New Issue
Block a user