1
$\begingroup$

What open source or commercial .NET statistical package would you guys recommend? I am doing statistical arbitrage in options. The functions I need mainly are regressions, optimizations..etc. It would be better if the package has some built-in functions specifically for options, but it's fine if it doesn't. Quality, speed, easy-to-do of statistical analysis, good compatibility with C++/C# are my priorities.

$\endgroup$
3
  • $\begingroup$ It's not .NET or C(++/#), but you could use python or call it from these languages. There you could use pandas. If you can write C, you'll learn Python in an hour. Knowing Matlab would be a plus. $\endgroup$
    – Konsta
    Commented Oct 19, 2012 at 17:00
  • $\begingroup$ There was an earlier question about .Net software that you may find useful. $\endgroup$ Commented Oct 19, 2012 at 18:01
  • $\begingroup$ QuantLib $\endgroup$
    – 4pie0
    Commented Feb 26, 2013 at 21:21

2 Answers 2

4
$\begingroup$

Not sure why Python is recommended when you clearly ask for a .Net solution (well you may look at IronPython but I do not recommend it given there are much better options, see below), aside the fact that Python is horribly slow even when performing non-mission-critical data analysis and research. Even C# easily runs circles around most python scripts, given your coding skills are average or better. I understand its the language of choice aside Matlab and R by most quants, mostly because they have a standardized approach in terms of access to data sets, and anyway the language is most often dictated by the trading desk or head quant which means its not necessarily the most optimal choice.

I would recommend you to look at the following for managed C# or otherwise C++ implementation. You can run both in .Net and if not directly you could wrap C++ code in order to have access through a library (following is not in the order of significance):

http://www.boost.org/

http://root.cern.ch/drupal/

http://www.mathdotnet.com/

https://rtmath.net/products/finmath/

http://www.alglib.net/

And here you get another host of packages: http://en.wikipedia.org/wiki/List_of_numerical_libraries#C.2B.2B (not all come with statistical tools and may focus on math, but I included the link as its a comprehensive source of packages)

You can also directly link to Matlab or R out of .Net but again I would argue it will be at the expense of speed given how you implement the link. A raw library will always serve you the best in terms of performance given it offers the algorithms you look for.

Good luck. Hope this helps.

$\endgroup$
0
$\begingroup$

Python is really a good idea. You could even optimize it with PyPy for better performance.

Python Software for Convex Optimization

PyPy Status Blog

But if you really like C++ try this

But it is just my opinion.

$\endgroup$
1
  • 3
    $\begingroup$ I've removed your signature in many of your previous posts since it is not needed. I've also inlined your hyperlinks as well since that makes things more readable. $\endgroup$ Commented Oct 19, 2012 at 20:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.