Re: Adding a data store

Posted by Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/Adding-a-data-store-tp9251p9255.html


On Mar 13, 2007, at 7:58 PM, Keith Wood wrote:
> My suggestion had to do with the design and implementation of a data
> schema that would enable people who use QuantLib to store stuff in
> tables in a relational database. All of the holiday stuff belongs in a
> table. All of the day count convention could usefully be stored in a
> collection of tables.

I'm not sure that I follow here. I can see that the definition of, say,
an equity option (exercise date, strike...) can be stored in a table. A
calendar I might see---even though our calendars are not a collection
of holidays, but rather a collection of rules such as "the third Monday
in September" or "May 1st unless it's a Sunday, in which case the
following Monday is a holiday instead". But a day-count convention is
basically an algorithm. I might just have misinterpreted you, but how
are you going to store them?

Later,
        Luigi


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev