@classmethod
def of_single_curve(cls, dt_valuation, yield_curve):
    """Create market consisting of a single discount curve, and a valid date

        If forward rates are to be computed, the discount curve will be used.
        """
    curve_map = {yield_curve.currency: {'discount': yield_curve}}
    return cls(dt_valuation, curve_map)
