<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Numerical Method Inc. blog</title><description>Invents the best numerical library and financial analytics.</description><link>https://numericalmethod.com/</link><item><title>Training Is Numerical Integration: What Numerical Analysis Says About Learning Rates</title><link>https://numericalmethod.com/blog/2026/11/03/training-is-numerical-integration/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2026/11/03/training-is-numerical-integration/</guid><description>Gradient descent is a numerical integrator, and the learning rate is a choice of model, not a speed. What that means for training and for finance.</description><pubDate>Tue, 03 Nov 2026 00:00:00 GMT</pubDate><author>Y.K</author></item><item><title>Precision Is a Resource: How Much Arithmetic Does a Covariance Matrix Deserve?</title><link>https://numericalmethod.com/blog/2026/10/20/precision-is-a-resource/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2026/10/20/precision-is-a-resource/</guid><description>The floating-point precision a covariance solve needs is set by how much data you have, not by the size or conditioning of the problem.</description><pubDate>Tue, 20 Oct 2026 00:00:00 GMT</pubDate><author>Y.K</author></item><item><title>Transforming a QP Problem to an SOCP Problem</title><link>https://numericalmethod.com/blog/2017/11/18/qp-to-socp/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2017/11/18/qp-to-socp/</guid><description>A Quadratic Programming problem (QP) in the form of … where …, can be transformed to a Second-Order Cone Programming (SOCP) problem in the form of … Consider …, and … As … is non-negative, minimizing … is equivalent to…</description><pubDate>Sat, 18 Nov 2017 00:00:00 GMT</pubDate><author>Ken Yiu</author></item><item><title>Fastest Java Matrix Multiplication</title><link>https://numericalmethod.com/blog/2015/08/07/accelerating-matrix-multiplication/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2015/08/07/accelerating-matrix-multiplication/</guid><description>Introduction Matrix multiplication occupies a central role in scientific computing with an extremely wide range of applications. Many numerical procedures in linear algebra (e.g. solving linear systems, matrix…</description><pubDate>Fri, 07 Aug 2015 00:00:00 GMT</pubDate><author>henrymorco</author></item><item><title>Using Returns in Pairs Trading</title><link>https://numericalmethod.com/blog/2015/01/06/using-returns-in-pairs-trading/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2015/01/06/using-returns-in-pairs-trading/</guid><description>This blog article is taken from our book [1]. In most entry-level materials on pairs trading such as in [2], a mean reverting basket is usually constructed by this relationship: … , where … is the price of asset P at…</description><pubDate>Tue, 06 Jan 2015 00:00:00 GMT</pubDate><author>Haksun Li</author></item><item><title>SuanShu is the Best Numerical and Statistical Library, ever!</title><link>https://numericalmethod.com/blog/2014/07/23/suanshu-is-the-best-numerical-and-statistical-library-ever/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2014/07/23/suanshu-is-the-best-numerical-and-statistical-library-ever/</guid><description>a picture is worth a thousand words… Check out the release notes here: http://numericalmethod.com/forums/topic/suanshu-3-0-0-is-now-released/ Happy birthday to me…</description><pubDate>Wed, 23 Jul 2014 00:00:00 GMT</pubDate><author>Haksun Li</author></item><item><title>On Some Practical Issues when Using AlgoQuant to Compute the Markowitz Efficient Frontier</title><link>https://numericalmethod.com/blog/2014/04/23/on-some-practical-issues-when-using-algoquant-to-compute-the-markowitz-efficient-frontier/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2014/04/23/on-some-practical-issues-when-using-algoquant-to-compute-the-markowitz-efficient-frontier/</guid><description>Markowitz suggests in his Nobel Prize-winning paper Markowitz(1952) that when one selects a portfolio, he/she should consider both the return and the risk of the portfolio. Most of us, if not all, are risk-averse.…</description><pubDate>Wed, 23 Apr 2014 00:00:00 GMT</pubDate><author>hao.ding</author></item><item><title>Certificate in Quantitative Investment (CQI)</title><link>https://numericalmethod.com/blog/2013/07/15/certificate-in-quantitative-investment-cqi/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2013/07/15/certificate-in-quantitative-investment-cqi/</guid><description>Numerical Method Inc. has the vision to promote rational investment and trading. Jointly organized with top universities, we are offering a 6-months 9-courses program that teach mathematics, programming and quantitative…</description><pubDate>Mon, 15 Jul 2013 00:00:00 GMT</pubDate><author>Haksun Li</author></item><item><title>Solving the &quot;Corner Solution Problem&quot; of Portfolio Optimization</title><link>https://numericalmethod.com/blog/2013/06/19/solving-the-corner-solution-problem-of-portfolio-optimization/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2013/06/19/solving-the-corner-solution-problem-of-portfolio-optimization/</guid><description>Many portfolio optimization methods (e.g., Markowitz/Modern Portfolio Theory in 1952) face the well-known predicament called the “corner portfolio problem”. When short selling is allowed, they usually give efficient…</description><pubDate>Wed, 19 Jun 2013 00:00:00 GMT</pubDate><author>Ken Yiu</author></item><item><title>Change of Measure/Girsanov&apos;s Theorem Explained</title><link>https://numericalmethod.com/blog/2013/05/16/change-of-measuregirsanovs-theorem-explained/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2013/05/16/change-of-measuregirsanovs-theorem-explained/</guid><description>Change of Measure or Girsanov’s Theorem is such an important theorem in Real Analysis or Quantitative Finance. Unfortunately, I never really understood it until much later after having left school. I blamed it to the…</description><pubDate>Thu, 16 May 2013 00:00:00 GMT</pubDate><author>Haksun Li</author></item><item><title>Mean-Variance Portfolio Optimization When Means And Covariances Are Unknown</title><link>https://numericalmethod.com/blog/2013/02/16/mean-variance-portfolio-optimization-when-means-and-covariances-are-unknown/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2013/02/16/mean-variance-portfolio-optimization-when-means-and-covariances-are-unknown/</guid><description>[Lai, Xing and Chen, 2010], in the paper “Mean-Variance Portfolio Optimization When Means And Covariances Are Unknown”, proposed a ground breaking method to do portfolio optimization. In what follows we summarize their…</description><pubDate>Sat, 16 Feb 2013 00:00:00 GMT</pubDate><author>Ken Yiu</author></item><item><title>FREE .NET/C# Numerical/Math library</title><link>https://numericalmethod.com/blog/2012/12/25/dotnet-csharp-numerical-math-library/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2012/12/25/dotnet-csharp-numerical-math-library/</guid><description>On this Christmas Day, we are happy to announce that SuanShu.net is FREE for all! SuanShu.net has all the features as its Java sibling as well as has undergone the same many thousands of test cases daily. There are a…</description><pubDate>Tue, 25 Dec 2012 00:00:00 GMT</pubDate><author>Haksun Li</author></item><item><title>Bloomberg Tick-By-Tick Data Download</title><link>https://numericalmethod.com/blog/2012/12/21/bloomberg-tick-by-tick-data-download/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2012/12/21/bloomberg-tick-by-tick-data-download/</guid><description>Bloomberg maintains tick-by-tick historical data for only 140 days. However, you may want to backtest your strategies with a longer history. In this case, you can archive these tickdata by yourself and do backtesting…</description><pubDate>Fri, 21 Dec 2012 00:00:00 GMT</pubDate><author>Ken Yiu</author></item><item><title>SuanShu 2.0</title><link>https://numericalmethod.com/blog/2012/12/13/suanshu-2-0/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2012/12/13/suanshu-2-0/</guid><description>We are proud to announce the release of SuanShu 2.0! This release is the accumulation of customer feedbacks and our experience learnt in the last three years coding numerical computation algorithms. SuanShu 2.0 is a…</description><pubDate>Thu, 13 Dec 2012 00:00:00 GMT</pubDate><author>Haksun Li</author></item><item><title>Trading and Investment as a Science</title><link>https://numericalmethod.com/blog/2012/09/03/trading-and-investment-as-a-science/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2012/09/03/trading-and-investment-as-a-science/</guid><description>Here is the synopsis of my presentation at HKSFA, September 2012. The presentation can be downloaded from here. 1. Many people lose money playing the stock market. The strategies they use are nothing but superstitions.…</description><pubDate>Mon, 03 Sep 2012 00:00:00 GMT</pubDate><author>Haksun Li</author></item><item><title>Order Book Based HFT Trading for NSE India</title><link>https://numericalmethod.com/blog/2012/06/08/order-book-based-hft-trading-for-nse-india/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2012/06/08/order-book-based-hft-trading-for-nse-india/</guid><description>Introduction Classic asset pricing theory assumes prices will eventually adjust to and reflect the fair value,the route and speed of transition is not specified. Market Microstructure studies how prices adjust to…</description><pubDate>Fri, 08 Jun 2012 00:00:00 GMT</pubDate><author>lokeshmadan</author></item><item><title>High Frequency Trading using Tick By Tick Data</title><link>https://numericalmethod.com/blog/2012/06/06/high-frequency-trading-using-tbt-tick-by-tick-data/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2012/06/06/high-frequency-trading-using-tbt-tick-by-tick-data/</guid><description>In this article, we discuss the state of the art of high-frequency trading (HFT) and important issues related to the econometric analysis of high TBTD data and the impact of HFT on financial markets. The econometrics of…</description><pubDate>Wed, 06 Jun 2012 00:00:00 GMT</pubDate><author>lokeshmadan</author></item><item><title>Money Making Black Box Machines in Financial Markets In-depth Study</title><link>https://numericalmethod.com/blog/2012/06/06/money-making-black-box-machines-in-financial-markets-in-depth-study/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2012/06/06/money-making-black-box-machines-in-financial-markets-in-depth-study/</guid><description>Introduction. In today’s highly electronic age, virtually everything in society— including communications, music, television, and financial transactions— have gone digital. Today, many trades on the stock markets are…</description><pubDate>Wed, 06 Jun 2012 00:00:00 GMT</pubDate><author>lokeshmadan</author></item><item><title>Using SuanShu on Amazon EC2</title><link>https://numericalmethod.com/blog/2012/05/21/using-suanshu-on-amazon-ec2/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2012/05/21/using-suanshu-on-amazon-ec2/</guid><description>Cloud computing is very popular nowadays. Delegating your CPU-intensive computation (or simulation) to the cloud seems to be a smart choice. Many of our users asked if SuanShu can be run on Amazon’s Elastic Compute…</description><pubDate>Mon, 21 May 2012 00:00:00 GMT</pubDate><author>Ken Yiu</author></item><item><title>Data Mining</title><link>https://numericalmethod.com/blog/2012/02/12/data-mining/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2012/02/12/data-mining/</guid><description>The good quant trading models reveal the nature of the market; the bad ones are merely statistical artifacts. One most popular way to create spurious trading model is data snooping or data mining. Suppose we want to…</description><pubDate>Sun, 12 Feb 2012 00:00:00 GMT</pubDate><author>Haksun Li</author></item><item><title>NUMERICAL METHOD INC Selected as a Red Herring Top 100 Asia Tech Startup</title><link>https://numericalmethod.com/blog/2011/10/27/numerical-method-inc-selected-as-a-red-herring-top-100-asia-tech-startup/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2011/10/27/numerical-method-inc-selected-as-a-red-herring-top-100-asia-tech-startup/</guid><description>Hong Kong, China – Numerical Method Incorporation Limited has won the Top 100 Asia award. Numerical Method Inc. publishes SuanShu, a Java math library, and AlgoQuant, an algorithmic/quantitative trading strategy…</description><pubDate>Thu, 27 Oct 2011 00:00:00 GMT</pubDate><author>Haksun Li</author></item><item><title>The Role of Technology in Quantitative Trading Research</title><link>https://numericalmethod.com/blog/2011/10/27/the-role-of-technology-in-quantitative-trading-research/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2011/10/27/the-role-of-technology-in-quantitative-trading-research/</guid><description>I posted my presentation titled “The Role of Technology in Quantitative Trading Research” presented in HKU-HKUST-Stanford Conference in Quantitative Finance. Dec 9, 2011. Workshop On Recent Developments Of Financial…</description><pubDate>Thu, 27 Oct 2011 00:00:00 GMT</pubDate><author>Haksun Li</author></item><item><title>Simple Return for Short Position</title><link>https://numericalmethod.com/blog/2011/09/10/simple-return-for-short-position/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2011/09/10/simple-return-for-short-position/</guid><description>It is trivial to compute a simple return (or arithmetic return) for a long position. For example, a share of stock A is bought at $10 and sold at $12. The profit is $2 (=$12 – $10) and the simple return of the long…</description><pubDate>Sat, 10 Sep 2011 00:00:00 GMT</pubDate><author>Ken Yiu</author></item><item><title>Mean Reversion vs. Trend Following</title><link>https://numericalmethod.com/blog/2011/08/11/mean-reversion-vs-trend-following/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2011/08/11/mean-reversion-vs-trend-following/</guid><description>AlgoQuant 0.0.5 just got released! This release is particularly exciting because you no longer need a license to use AlgoQuant. AlgoQuantCore now disappears forever. The source of the entire AlgoQuant project is now…</description><pubDate>Thu, 11 Aug 2011 00:00:00 GMT</pubDate><author>Haksun Li</author></item><item><title>On White’s (2000) Reality Check</title><link>https://numericalmethod.com/blog/2011/07/28/on-whites-2000-reality-check/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2011/07/28/on-whites-2000-reality-check/</guid><description>I was asked the following question the other day on White’s reality check. QUESTION: I was reading White’s (2000) paper (http://www.ssc.wisc.edu/~bhansen/718/White2000.pdf). It seems to suggest that to examine the pnl…</description><pubDate>Thu, 28 Jul 2011 00:00:00 GMT</pubDate><author>kevinsun</author></item><item><title>Quantitative Trading: Economist Approach vs. Mathematician Approach</title><link>https://numericalmethod.com/blog/2011/07/27/quantitative-trading-economist-approach-vs-mathematician-approach/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2011/07/27/quantitative-trading-economist-approach-vs-mathematician-approach/</guid><description>Thank you Lewis for introducing me to the field of “Quantitative Equity Portfolio Management”. It opens my eyes to the other spectrum of “Quantitative Trading.” Apparently what Lewis considers quantitative trading is…</description><pubDate>Wed, 27 Jul 2011 00:00:00 GMT</pubDate><author>Haksun Li</author></item><item><title>Java vs c++ performance</title><link>https://numericalmethod.com/blog/2011/07/09/java-vs-c-performance/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2011/07/09/java-vs-c-performance/</guid><description>It is very unfortunate that some people are still not aware of the fact that Java performance is comparable to that of C++. This blog piece collects the evidence to support this claim. The wrong perception about Java…</description><pubDate>Sat, 09 Jul 2011 00:00:00 GMT</pubDate><author>Haksun Li</author></item><item><title>Open Source Trading Software Or Not?</title><link>https://numericalmethod.com/blog/2011/06/01/open-source-trading-software-or-not/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2011/06/01/open-source-trading-software-or-not/</guid><description>I have built a few trading systems from scratch during my years with investment banks. So, I have learnt from the many mistakes made. I am recently reviewing some open source system, and would like to share some…</description><pubDate>Wed, 01 Jun 2011 00:00:00 GMT</pubDate><author>Haksun Li</author></item><item><title>Strategy Optimization</title><link>https://numericalmethod.com/blog/2011/05/31/strategy-optimization/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2011/05/31/strategy-optimization/</guid><description>Trading strategy optimization is an important aspect and a challenging problem in algorithmic trading. It requires determining a set of optimal solutions with respect to multiple objectives, where the objective…</description><pubDate>Tue, 31 May 2011 00:00:00 GMT</pubDate><author>Haksun Li</author></item><item><title>Algorithmic Trading Courses</title><link>https://numericalmethod.com/blog/2011/05/27/algorithmic-trading-courses/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2011/05/27/algorithmic-trading-courses/</guid><description>For those who would like some organized introductory materials to algorithmic trading, I have designed an algorithmic trading course using materials from published papers. The course has been successfully conducted in…</description><pubDate>Fri, 27 May 2011 00:00:00 GMT</pubDate><author>Haksun Li</author></item><item><title>The Right (and Wrong) Way to Run an Algorithmic Trading Group</title><link>https://numericalmethod.com/blog/2011/05/20/the-right-and-wrong-way-to-run-an-algorithmic-trading-group/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2011/05/20/the-right-and-wrong-way-to-run-an-algorithmic-trading-group/</guid><description>I would like to share with you the unique vision that Numerical Method Inc. has about running an algorithmic trading group. To get an edge over competing funds, we emphasize on 1) the research process and 2) technology…</description><pubDate>Fri, 20 May 2011 00:00:00 GMT</pubDate><author>Haksun Li</author></item><item><title>Gain Capital FX rate data</title><link>https://numericalmethod.com/blog/2011/05/01/gain-capital-fx-rate-data/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2011/05/01/gain-capital-fx-rate-data/</guid><description>For most non-professional FX traders, one hurdle to start your own algorithmic trading research is tick-by-tick data. Gain Capital Group has been very kind and does the community a very good service by providing…</description><pubDate>Sun, 01 May 2011 00:00:00 GMT</pubDate><author>Haksun Li</author></item><item><title>SuanShu Introduction</title><link>https://numericalmethod.com/blog/2011/04/30/suanshu-introduction/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2011/04/30/suanshu-introduction/</guid><description>Numerical Method Inc. publishes SuanShu, a Java numerical and statistical library. The objective of SuanShu is to enable very easy programming of engineering applications. Programmers are able to program mathematics in…</description><pubDate>Sat, 30 Apr 2011 00:00:00 GMT</pubDate><author>Haksun Li</author></item><item><title>The Demand of Good Financial Engineers</title><link>https://numericalmethod.com/blog/2010/11/03/the-demand-of-good-financial-engineers/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2010/11/03/the-demand-of-good-financial-engineers/</guid><description>It is very difficult to find people who can produce effective code for mathematical models. In general, mathematicians do not write good code and computer programmers do not understand the (advanced) mathematics. Yet,…</description><pubDate>Wed, 03 Nov 2010 00:00:00 GMT</pubDate><author>Haksun Li</author></item><item><title>What is missing in our computer science curriculum?</title><link>https://numericalmethod.com/blog/2010/11/03/what-is-missing-in-our-computer-science-curriculum/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2010/11/03/what-is-missing-in-our-computer-science-curriculum/</guid><description>From my years of experience of recruiting computer science students, it seems that universities fail to train students who can build good software. When I hire freshly graduated students, I often need to rewrite their…</description><pubDate>Wed, 03 Nov 2010 00:00:00 GMT</pubDate><author>Haksun Li</author></item><item><title>Class Parsimony</title><link>https://numericalmethod.com/blog/2010/10/23/class-parsimony/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2010/10/23/class-parsimony/</guid><description>Hello World! Today I have my first post ever on the Numerical Method blog. I’d like to discuss a design decision when writing our library. This is to give our friends some insight into how the SuanShu library works.…</description><pubDate>Sat, 23 Oct 2010 00:00:00 GMT</pubDate><author>Haksun Li</author></item><item><title>China ETFs, anyone?</title><link>https://numericalmethod.com/blog/2010/07/18/china-etfs-anyone/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2010/07/18/china-etfs-anyone/</guid><description>Actually, I struggle to decide the title of this post. In fact, at one point I believe the more appropriate title will be “Will China long funds disappear like penguins?” However, I decide to send a more positive…</description><pubDate>Sun, 18 Jul 2010 00:00:00 GMT</pubDate><author>stephenmcwong</author></item><item><title>Creative retailing</title><link>https://numericalmethod.com/blog/2010/07/05/creative-retailing/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2010/07/05/creative-retailing/</guid><description>All right, I may bore my readers as my focus has been always on the consumer sector in China. But I do find a lot of interesting subplots going on in this sector, as I am spending my weekend shopping in Hong Kong. You…</description><pubDate>Mon, 05 Jul 2010 00:00:00 GMT</pubDate><author>stephenmcwong</author></item><item><title>China’s beauty contest</title><link>https://numericalmethod.com/blog/2010/06/26/chinas-beauty-contest/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2010/06/26/chinas-beauty-contest/</guid><description>Don’t know if the development of the cosmetic chain stores is related to the recent wage raise of China’s factory workers, but lately there are a couple of companies want to make ambitious move to expand their chain…</description><pubDate>Sat, 26 Jun 2010 00:00:00 GMT</pubDate><author>stephenmcwong</author></item><item><title>Opening</title><link>https://numericalmethod.com/blog/2010/06/22/opening/</link><guid isPermaLink="true">https://numericalmethod.com/blog/2010/06/22/opening/</guid><description>Dear all, This is my first diary article for Numerical Method. First of all, I would like to thank the blog owner to provide me a platform to write about the interesting aspects that I find out as I am exploring in the…</description><pubDate>Tue, 22 Jun 2010 00:00:00 GMT</pubDate><author>stephenmcwong</author></item></channel></rss>