def make_portfolio(df, date_level='date'):
    """
    Make a portfolio of assets by grouping by date and summing all columns.

    Note: the caller is responsible for making sure the dates line up across
    assets and handling when they don't.
    """
    return (
        df
        .groupby(level=date_level)
        .sum()
    )