I'm trying to do bootstrapping using some future rates however encountered some errors below. A reproducible case is as follows:
this is constructing a future rate helper with 'IRM1 Comdty' from bloomberg. however the maturityDate() returns me null date, hence when I pass those future rate helpers to PiecewiseLogCubicDiscount then I get "all instruments expired". has anyone experienced this issue? any help is much appreciated
import QuantLib as ql
import sys
startDate = ql.Date(11,6,2021)
endDate = ql.Date(10,9,2021)
dayCount = ql.Actual365Fixed()
futuresType = 1 #ASX
convexityAdjustment = 0
try:
tempFuturesRateHelper = ql.FuturesRateHelper(99.95,
startDate,
endDate,
dayCount,
convexityAdjustment,
futuresType)
print(tempFuturesRateHelper.maturityDate())
except:
print("Unexpected error:", sys.exc_info()[1])