AlgoQuant is a collection of trading-bot building tools. It is an actively developed and ever more comprehensive library of code for building systems for algorithmic trading in all aspects. You can use it to build systems for backtesting, trading strategy generation, data analysis, research, and actual order execution. Out of the box, AlgoQuant is an indispensable and a very powerful tool for quantitative trading research because it is backed by an extensive math library (SuanShu). You are able to very quickly prototype very complicated quantitative strategies by reusing the AlgoQuant components. Among other things that AlgoQuant does are in-sample calibration and optimization, out-of-sample backtesting, performance analysis and strategy generation.
Unified Mathematical Analysis and Modeling Library
AlgoQuant differentiates itself from other trading system by focusing on quantitative trading strategy research (not execution). (However, there is nothing to prevent you from replacing our mock market with a real market execution/brokerage API.) Built on SuanShu, you can do all the data analysis and sophisticated mathematics based strategies all in Java, without the need to resort to external math software like Excel, R, or Matlab. Additionally, AlgoQuant comes with some well established models published in academic journal papers.
Numerical Method Inc. has a unique way of doing backtest. In general, backtest using historical data alone is not a sufficient justification of a quantitative trading strategy. Historical backtest tells only how much money we could have made in the past. What we really want to know is how much money we may make in the future. The future P&L is a random variable. Therefore, in addition to reporting the historical P&L, a proper backtest should, when applicable and feasible, report also the probability function of the future P&L.
In general, optimizing strategy parameters is a very difficult optimization problem due to, e.g., curse of dimensionality, discrete or integral variables, trading constraints. AlgoQuant comes with a suite of professional optimization tools, e.g.,LP, SDP, SOCP, QP, DEOptim, simulated annealing, genetic algorithm, to do strategy and portfolio optimization.
Moreover, we can only find the optimal strategy parameters with respect to, e.g., historical data, or a hypothetical model. The optimal parameters for live trading are going to be different than what we have picked. We hope that the (small) differences between the optimal parameters and our choices do not severely reduce the profit. So, AlgoQuant checks the stability of the strategy parameters around the chosen values by doing sensitivity analysis to see how the P&L curve changes.
Finally, AlgoQuant uses Monte Carlo simulation to stress test a strategy. We want to ensure (or check) that the strategy is profitable in many plausible situations. For example, the strategy needs to be profitable on average in many possible prices that have similar statistical properties as the ones we use in study before it can go live. Also, to identify the sources of profit, we compute the expected returns of trading a strategy under different (hopefully isolated) risk factors.
AlgoQuant has a collection of trading strategies and models, which can be purchased separately. They are found here: Quantitative Trading Strategies.
- Backed by a math library SuanShu, which allows you to prototype mathematical/quantitative models very quickly
- strategy optimization
- Read historical data from various sources such as Bloomberg, CompuStat, Gain Capital, Yahoo.
The latest source code can be browsed here.
Permission to use, copy, and distribute AlgoQuant (but not the paid models and modules) and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of the copyright holders not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. The copyright holders makes no representations about the suitability of this software for any purpose. It is provided “as is” without express or implied warranty.
Permission to modify the software is granted, but NOT the right to distribute the modified code in either source or binary format.
THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Full Licensing Terms: http://numericalmethod.com/algoquant-licensing-terms/