What I’ve been up to so far.
Friday, May 2nd, 2008I’ve been trying to toy with the QuantLib library for the last few weeks, but didn’t get a chance to do it seriously until very recently. I would put an object together, call a few functions, that kind of stuff. I never got quite to the point where anything worked enough to check the output of anything. I actually spent more time putting together a database of all the outstanding Treasury obligations than I did toying with the actual functionality of that library.
That’s largely because at each step along the way I ran into issues. Getting QuantLib set up meant that I needed to get the Boost library working properly. Getting the new version of Boost working properly meant that I actually had to understand what was going on in Cygwin. Cygwin being the UNIX-in-Windows-environment that I’m using as my development platform.
It’s like an onion. You want to do one little thing, and you spend three times as long just getting ready to start.
As for that database, I do know just how boring that sounds. But that was just a quantifiable set of data that I could use to test that my instillation of MySQL was working properly. You know, after I got MySQL server installed on my 5 year old laptop, figured out how to used the gui administration tools, defined a database, designed the table to put the data into and spent an hour on the TreasuryDirect site downloading the list of active securities.
The part I haven’t mentioned is that in order to access the MySQL data in my C++ programs, I need the MySQL C library built, and then need to get the MySQL++ wrapper library working on top of it. Which is does. Now. Finally.
So long story short, I’ve been a bit of a computer nerd in the last few weeks. At one point I thought this would take me a day, two at most. This was in early April. I really just finished last Friday.
Ah well. The data is here, my programming environment is ready, and I actually have the first example program working.
That’ll be my next post.