答复: Bussiness day convention

Posted by cheng li on
URL: http://quantlib.414.s1.nabble.com/Bussiness-day-convention-tp16303p16304.html

Hi Laura,

I think there is no direct way to do this in QL yet.

To work around, you can use Execl's weekday function to get the exact
weekday number of that particular date. Then use if block to switch between
Following or Preceding convention in qlcalendaradjust function.

Regards,
Cheng

-----邮件原件-----
发件人: seawater [mailto:[hidden email]]
发送时间: 2015年3月5日 8:35
收件人: [hidden email]
主题: [Quantlib-users] Bussiness day convention

Hi,

For certain country bonds, the payments are scheduled to be Nearest business
day. Quantlib excel currently supports F, MF, P,MP etc. I couldn't find a
matching one for paying one day before if it falls on Sat and one day after
if it falls on Sun. Could anyone help out please?

Thank you in advance!
Regards,
Laura



--
View this message in context:
http://quantlib.10058.n7.nabble.com/Bussiness-day-convention-tp16303.html
Sent from the quantlib-users mailing list archive at Nabble.com.

----------------------------------------------------------------------------
--
Dive into the World of Parallel Programming The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users