Environment
QuantLib 1.43 (QuantLib-Python 1.43 wheel from PyPI), Python 3.11, Linux x86-64. The lines
cited below are unchanged in substance on master (966a4cc).
Reproduction
import QuantLib as ql
today = ql.Date(21, 9, 2026)
ql.Settings.instance().evaluationDate = today
calendar = ql.WeekendsOnly()
tenor_days = [91, 182, 365, 730, 1095, 1826, 2557, 3653, 5479, 7305, 10958]
zeros = [0.0310, 0.0318, 0.0325, 0.0334, 0.0340, 0.0352, 0.0365,
0.0372, 0.0380, 0.0384, 0.0390]
curve = ql.ZeroCurve([today] + [today + d for d in tenor_days], [zeros[0]] + zeros,
ql.Actual365Fixed(), calendar, ql.Linear())
curve.enableExtrapolation()
handle = ql.YieldTermStructureHandle(curve)
def bond(entries):
start, end = ql.Date(28, 3, 2026), ql.Date(28, 3, 2033)
schedule = ql.Schedule(start, end, ql.Period(6, ql.Months), calendar, ql.Unadjusted,
ql.Unadjusted, ql.DateGeneration.Backward, False)
calls = ql.CallabilitySchedule()
for kin
📅 Opened Oct 8, 2026💬 0 comments