def volume_weighted_stock_price(series):
    """
    Returns the volume weighted stock price for the given time in minutes

    :param series: Series series to be calculated
    :return: float
    """
    return series['tpq'].sum() / series['quantity'].sum()