def METHOD_NAME(
    self,
    order: Order,
    position_id: Optional[PositionId] = None,
    client_id: Optional[ClientId] = None,
) -> None:
    self.orders[order.client_order_id] = order
    self._index_order_position[order.client_order_id] = position_id
    self._index_order_client[order.client_order_id] = client_id