Serving the Quantitative Finance Community

 
User avatar
JackBryan
Topic Author
Posts: 1
Joined: August 15th, 2010, 6:15 pm

Please recommend books about C++ for quantitative finance

February 11th, 2011, 3:47 am

Hi,Please recommend books about C++ for quantitative finance.I have got the books by Mark Joshi, but there are no solutions to the exercises in these books.I want to learn how to implement financial models by very excellent C++ programming patterns. I have C++ programming knowledge. But, the very good C++ code of implementing financial modelsmay help me learn the applications of C++ for quantitative finance domain more efficiently. thanks
 
User avatar
torquant
Posts: 0
Joined: November 13th, 2005, 1:47 pm

Please recommend books about C++ for quantitative finance

February 11th, 2011, 4:37 am

What is programming pattern in math finance? There is None. There are some (well-written) books trying to convince otherwise, but I am not -- there are at least as many patterns as there are IBs around. Quants/developers are working in their own rhythm split among the latest vibes on the street and the urge to deliver-and-let-it-stay. There are some good discussions on sound infrastructure development, but these rarely involve modeling design.
 
User avatar
daveangel
Posts: 5
Joined: October 20th, 2003, 4:05 pm

Please recommend books about C++ for quantitative finance

February 11th, 2011, 7:35 am

I would recommend Daniel Duffy's books - he is a frequent poster here under the nom de plume of Cuchulain.
Last edited by daveangel on February 10th, 2011, 11:00 pm, edited 1 time in total.
knowledge comes, wisdom lingers
 
User avatar
tags
Posts: 3603
Joined: February 21st, 2010, 12:58 pm

Please recommend books about C++ for quantitative finance

February 11th, 2011, 8:10 pm

@JackBrianplease, have a look at http://www.datasimfinancial.com/ as a preview of D.Duffy books and programming style.i like very much the forum's content.and have a look at the gang of four (GOF) 's book.
Last edited by tags on February 10th, 2011, 11:00 pm, edited 1 time in total.
 
User avatar
QuantOption
Posts: 1
Joined: February 8th, 2003, 9:00 pm

Please recommend books about C++ for quantitative finance

February 11th, 2011, 9:48 pm

QuoteOriginally posted by: JackBryanHi,Please recommend books about C++ for quantitative finance.I have got the books by Mark Joshi, but there are no solutions to the exercises in these books.you already have by far the best book on that topic.
 
User avatar
Cuchulainn
Posts: 22933
Joined: July 16th, 2004, 7:38 am

Please recommend books about C++ for quantitative finance

February 12th, 2011, 8:02 am

The STL book by Josuttis (and template programming) are essential foundations for C++ imo. This is the trend in C++ 0X and Boost. It leads to robust and fast code. The algorithms in Josuttis are especially useful if you can take time to study and apply them. Quoteand have a look at the gang of four (GOF) 's book. GOF is useful but should not become an objective in itself. The most useful ones in general (dependent on the domain of course) are Visitor, Strategy, Facade and Template Method pattern. Singleton and Observer can best be avoided.
Last edited by Cuchulainn on February 11th, 2011, 11:00 pm, edited 1 time in total.
 
User avatar
renorm
Posts: 1
Joined: February 11th, 2010, 10:20 pm

Please recommend books about C++ for quantitative finance

February 12th, 2011, 2:27 pm

Also take a look at Luigi Ballabio's (unfinished) book Implementing Quantlib.
 
User avatar
katastrofa
Posts: 7931
Joined: August 16th, 2007, 5:36 am
Location: Event Horizon

Please recommend books about C++ for quantitative finance

March 29th, 2011, 7:18 pm

QuoteOriginally posted by: CuchulainnThe STL book by Josuttis (and template programming) are essential foundations for C++ imo. This is the trend in C++ 0X and Boost. It leads to robust and fast code.Templates lead to fast code but slow builds&debugging.
 
User avatar
Cuchulainn
Posts: 22933
Joined: July 16th, 2004, 7:38 am

Please recommend books about C++ for quantitative finance

March 30th, 2011, 4:35 am

QuoteOriginally posted by: katastrofaQuoteOriginally posted by: CuchulainnThe STL book by Josuttis (and template programming) are essential foundations for C++ imo. This is the trend in C++ 0X and Boost. It leads to robust and fast code.Templates lead to fast code but slow builds&debugging.What you lose on the swings you gain on the roundabouts It should not be a reason for not using templates.Another advantage is you get compile-time errors and not run-time errors as with OOP approach. And this means less try catch blocks, for example.Example array<double, 20> a1;array<double, 10> a2;This won't compile;a1 = a2;// And template debugging is an art form, aka try, try, try.If you design templates logically and program in a step-by-step manner you won't have many problems. One error can cause an avalanche of errors, so in these cases _root cause_ analysis and resolution will save you much time.
Last edited by Cuchulainn on March 29th, 2011, 10:00 pm, edited 1 time in total.