|
From: Luigi B. <lui...@gm...> - 2024-05-30 14:36:34
|
Hello Esteban,
when you create the first ql.OvernightIndexFutureRateHelper you're
passing May 1st as the start date, and the code assumes that it's a fixing
date. We'll have to add code to manage that case. How is this supposed to
work? Does the future accrue the fixing from the April 30th for the day
between 1st and 2nd May? And I assume the same happens if the maturity is
a holiday, right?
Luigi
On Tue, May 28, 2024 at 6:16 PM Esteban López Araiza Bravo <
est...@ho...> wrote:
> Hi! I'm having trouble making an OvernightIndexFutureRateHelper. When I
> try to bootstrap it, the following error arises:
>
> RuntimeError: 1st iteration failed at 1st alive instrument, pillar May
> 31st 2024 maturity May 31st 2024, reference date May 9th, 2024: missing
> rate on May 1st 2024 for index TIIE_OISTN Actual/360
>
> But when I try to add the fixing for May 1st 2024, the next error arises:
>
> RuntimeError: At least one invalid fixing provided: Wednesday May 1st
> 2024, 0.1102
>
> May 1st is a holiday in Mexico, but the future compounds every day of the
> month, how can I workaround this issue or is there another way to bootstrap
> this kind of future?
>
> I will attach the code.
> Thanks!
>
> Obtener Outlook para iOS <https://aka.ms/o0ukef>
> _______________________________________________
> QuantLib-users mailing list
> Qua...@li...
> https://lists.sourceforge.net/lists/listinfo/quantlib-users
>
|