code: def quantity(self):
          
          if np.isnan(self._quantity):
              raise RuntimeError("Quantity of order {} is not supposed to be nan.".format(self.order_id))
          return self._quantity
docs: [int] 订单数量