South Korea Calendar - modification proposed

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

South Korea Calendar - modification proposed

Big-Boong

I am proposing to modify the South Korea Calender, QuantLib::SouthKorea.

 

Attached files cantain my proposed modification.

See southkorea.hpp and southkorea.cpp.

There are also testing routines of the modified class,

in southkoreancalendar_test.hpp and southkoreancalendar_test.cpp.

 

Main diferences of my implementation from the current QuantLib::SouthKorea (version 0.9.0) are as flows:

- added Settlement case, where was KRX case only

- abolished Arbor Day (after 2006) and Constitution Day (after 2008) from public holidays

- added election days for national assembly, presidency and regional election.

- added year-end closing days (KRX only)

 

I wish quantlib-dev companions chech the proposition.

 

Regards,

 

Charles Chongseok Hyun.

(from South Korea)




Meritz Securities Co. LTD.
Manager/OTC Derivatives Management Team
T. +82-2-6309-4875, C. +82-16-541-5807
25-1, Yoido-dong, Youngdeungpo-ku, Seoul, Korea 150-878


[hidden email]

[나의 라이브러리, 한메일] 카드메일로 봄날의 설레임을 전하세요.!

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev

southkorea.hpp (5K) Download Attachment
southkorea.cpp (6K) Download Attachment
southkoreancalendar_test.hpp (1K) Download Attachment
southkoreancalendar_test.cpp (13K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: South Korea Calendar - modification proposed

Luigi Ballabio
On Fri, 2008-04-11 at 09:20 +0900, Chongseok wrote:
>           I am proposing to modify the South Korea Calender,
>                         QuantLib::SouthKorea.
>                                    
>            Attached files cantain my proposed modification.
>                                    
>         There are also testing routines of the modified class

Hi Charles,
        I'm adding your modifications. However, the tests fail because of two
dates not included in the expected-holiday list.
They are January 26th, 2004 and January 31st, 2006.  Both are listed in
the calendar implementation as Lunar New Year days.  May you confirm
whether or not they are holidays?

Thanks,
        Luigi


--

Hanlon's Razor:
Never attribute to malice that which is adequately explained
by stupidity.



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev