tags:

views:

105

answers:

3

I work in software division of a large bank and we are considering writing our own financial library. However, before we embark in such a project, I want to check that there is no such library on the market.

We would need to have the following feature:

  • Pricing of derivative products (options, futures, swaps, etc)
  • Different financial models
  • Hedging / risk management

Open source would be great if it's stable. Otherwise, we would purchase the source code. We are looking for C#/.NET.

+1  A: 

Try Quantlib: http://quantlib.org

Traveling Tech Guy
We are looking for C# (modified my question)
watkins
+4  A: 

Quantlib has C# bindings so you should be able to use it. If you are having problems getting it to work, you might want to look at the work done by Resolver Systems (the maker of an IronPython/.Net-based spreadsheet product) to integrate Quantlib with their .Net API here.

Alternatively, consider JQuantlib a port of Quantlib's C/C++ code to Java, which you could then pass through IKVM to get .Net assemblies (although I wouldn't want to comment on how .Net idiomatic the resulting API would be).

BUT as great as having an open-source quant library is, I don't know to what extent it is being used to make 'real money'. You may want to seriously consider the commercial alternatives (for which source code may not be available); Numerix is probably one of the most popular but there are many others.

Also, production quality versions of these libraries almost always tend to be written in C++. Without wanting to get into performance arguments, 'quants' generally believe that JIT-ed languages (Java, .Net) are inefficient (both in terms of performance and expressive capability) for describing the complex maths behind today's financial product pricing (again, not wanting to get into an argument about the social virtue of today's derivative products!). That said, I believe Credit Suisse has written significant chunks of their analytics in F#.

I am a little confused as to what your real requirements are here; you state that you are at a large bank, are looking for a reasonably comprehensive quant library... in my experience your organisation would already have built/bought one?

James Webster
A: 

You can try asking these guys, they provide valuations of financial derivatives to banks, hedge funds and other players.

quant_dev