code: def buy_open_order_quantity(self):
          
          return sum(order.unfilled_quantity for order in self.open_orders if
                     order.side == SIDE.BUY and order.position_effect == POSITION_EFFECT.OPEN)
docs: [int] 买方向挂单量