quantlib.interest_rate.InterestRate.discount_factor

InterestRate.discount_factor(self, Date d1, Date d2, Date ref_start=Date(), Date ref_end=Date())