def event_position_changed(position) -> PositionChanged: return PositionChanged( position, position.last_event, uuid4(), UNIX_EPOCH, )
def event_position_changed(position) -> PositionChanged: return PositionChanged( position=position, order_fill=position.last_event, event_id=uuid4(), timestamp_ns=0, )