From: Luigi B. <lui...@gm...> - 2007-12-24 11:01:59
|
On Dec 23, 2007, at 9:12 PM, my great mailing list wrote: > i am a new user in this mailing list. actually i am > looking for example source code for financial > function, especially about days function for example > to count days between dates using 30/360 or > actual/actual and similar formula. > > i am a vb6 developer, and found that quantlib library > using c++ and unfortunately it is difficult for me to > understand. Hi Arwan, we don't have any VB6 code, but if you look at the several cpp files inside the ql/time/daycounters directory in the QuantLib sources you'll find the algorithms in C++ for the different day counters (look at the yearFraction() methods.) They're mostly formulas, so it should be possible for you to read them and translate them to VB6. Another possibility is to go to the ISDA site (<http://www.isda.org>) and look for documentation. They're the organization which defines most day counters. Luigi |