Enrico, thank you very much for this answer it solved my problem, I'm going to adjust the settlement date as you said. Regards Xavier
yes. the problem is that when the xibor tries to compute the fixing rate it goes back to the fixing date (usaully 2 days prior the settlement date inn the TARGET calendar). If it arrives at a date which is prior to the curve reference date (or todaysdate) it returns the error message you got. You can do two things: 1- load a vector of past fixing (but i think it is not your case) 2- check the settlement days in order to make the xibor to come back on the fixing date which should be greater or equal to the actual todays date. I hope this could help enrico ps: sorry if i have replied directly to you but i cannot post to the mailing list actually -----Messaggio originale----- Da: [hidden email] [mailto:[hidden email]] Inviato: venerdì 1 ottobre 2004 12:55 A: [hidden email] Oggetto: [Quantlib-users] error xibormanager.cpp:55: dummy6m act/act (ISDA) history not loaded Hello, I'm using Quantlib 0.3.7 and in the example swapvaluation.cpp I set: Calendar calendar = Tokyo(); Date todaysDate(20, September, 2004); Date settlementDate(22, September, 2004); The 20, September, 2004 is not a business for the calendar tokyo and I think this is why I receive the error: " error xibormanager.cpp:55: dummy6m act/act (ISDA) history not loaded " in NPV = spot5YearSwap.NPV(); Do you know how this error can be avoided keeping the same todaysDate(20, September, 2004); and Date settlementDate(22, September, 2004);? Thank you for your help Xavier DISCLAIMER: Privileged/Confidential Information may be contained in this message and in any of its attachments (the "message"). If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply e-mail. The contents of this message shall be understood as neither given nor endorsed by Banca Profilo S.p.A., nor Profilo SGR S.p.A., nor Profilo Asset Management SGR S.p.A., nor Profilo Academy S.p.A.. Banca Profilo S.p.A., Profilo SGR S.p.A., Profilo Asset Management SGR S.p.A., Profilo Academy S.p.A. do not accept liability for corruption, interception or amendment, if any, or the consequences thereof. Il presente messaggio e/o i suoi allegati (di seguito il "messaggio") possono contenere informazioni privilegiate e/o confidenziali. Se non siete i destinatari indicati nel messaggio (o persona incaricata di inoltrare il messaggio al/i destinatario/i), non potete copiare o inoltrare il messaggio ad altri e siete invitati a distruggerlo dandone informazione al mittente a mezzo e-mail. Il contenuto del presente messaggio non deve essere considerato come trasmesso o autorizzato nè da Banca Profilo S.p.A., nè da Profilo SGR S.p.A., nè da Profilo Asset Management SGR S.p.A., nè da Profilo Academy S.p.A.. Nè Banca Profilo S.p.A., nè Profilo SGR S.p.A., nè Profilo Asset Management SGR S.p.A., nè Profilo Academy S.p.A. si assumono alcuna responsabilità per eventuali intercettazioni, modifiche o danneggiamenti del presente messaggio e-mail e per le eventuali conseguenze.
|
Free forum by Nabble | Edit this page |