Login  Register

fixing date problem

Posted by Grison PG Pierre (External DEXIA-US) on Nov 24, 2014; 9:48pm
URL: http://quantlib.414.s1.nabble.com/fixing-date-problem-tp16080.html

Hello,

 

I think

 

    inline Date InterestRateIndex::valueDate(const Date& fixingDate) const {

        QL_REQUIRE(isValidFixingDate(fixingDate),

                   fixingDate << " is not a valid fixing date");

        return fixingCalendar().advance(fixingDate, fixingDays_, Days);

    }

 

Is wrong. It does not really advance the value date of the right number of working days. For instance, if you are Friday, 1, 2 or 3 fixing days will give the same result but if you are as of Friday, O/N, T/N or S/N rates have not the same value. Am I correct?

 

Pierre

 

 

Pierre Grison
VIE
Trading & Structuring
DCLNY
445 Park Ave. - 8th Floor
New York, NY 10022
Tel: +1 212-705-0775 Fax:
Email: [hidden email]

 


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users