JonathanData, Derivatives, Mathematica, Matlab, OptionsData Analysis, Historical data, Mathematica, Options

Read More
Home Archive by Category "Matlab"

JonathanAlgorithmic Trading, Interactive Brokers, Matlab, Time Series Modeling, TradeStationAlgorithmic Trading, Interactive Brokers, Matlab, REDIPlus, Tradestation

MOVING FROM RESEARCH TO TRADING I have written recently about the comparative advantages of different programming languages in the context of research and trading (see here). My sense of it is that there is no single “ideal” programming language – the best strategy is to pick an appropriate tool for the job and there are…

JonathanAlgo Design Language, Algorithmic Trading, Julia, Mathematica, Matlab, ProgrammingC, Fortran, Java, Mathematica, Matlab, Programming

Towards the end of last year I wrote a post (see here) about the advent of modern programming languages, including the JIT compiled Julia and visual programming language ADL from Trading Technologies. My conclusion (based on a not very scientific sample) was that we appear to be at the tipping point, where the speed of…

I was asked by a reader if I could illustrate the application of the Kalman Filter technique described in my previous post with an example. Let’s take the ETF pair AGG IEF, using daily data from Jan 2006 to Feb 2015 to estimate the model. As you can see from the chart in Fig. 1, the…

JonathanKalman Filter, Matlab, Pairs Trading, Statistical ArbitrageKalman Filter, Pairs Trading, Statistical Arbitrage

One of the challenges with the cointegration approach to statistical arbitrage which I discussed in my previous post, is that cointegration relationships are seldom static: they change quite frequently and often break down completely. Back in 2009 I began experimenting with a more dynamic approach to pairs trading, based on the Kalman Filter. In…

JonathanCointegration, Econometrics, Johansen, Matlab, Mean Reversion, Pairs Trading, Statistical Arbitrage, Strategy Development, Systematic StrategiesCointegration, Statistical Arbitrage, Stocks

In his latest book (Algorithmic Trading: Winning Strategies and their Rationale, Wiley, 2013) Ernie Chan does an excellent job of setting out the procedures for developing statistical arbitrage strategies using cointegration. In such mean-reverting strategies, long positions are taken in under-performing stocks and short positions in stocks that have recently outperformed. I will leave a…

JonathanAlgo Design Language, Algorithmic Trading, Futures, High Frequency Trading, Latency, Market Microstructure, Mathematica, Matlab, Order Flow, S&P500 Index, Scalping, Toxic Flow, TradeStation, Trading TechnologiesADL, Futures, High Frequency Trading, Latency, Toxic Flow, Trading Technologies

Trading Technologies’ ADL is a visual programming language designed specifically for trading strategy development that is integrated in the company’s flagship XTrader product. Despite the radically different programming philosophy, my experience of working with ADL has been delightfully easy and strategies that would typically take many months of coding in C++ have been up and…

JonathanDirection Prediction, Forecasting, Logit Regression, Machine Learning, Matlab, Modeling, Nearest Neighbor, Neural Networks, Nonlinear Classification, Nonlinear Dynamics, Random Forrests, S&P500 Index, Support Vector MachinesDirection Prediction, Forecasting, Machine Learning, Nearest Neighbor, Neural Networks, Nonlinear Classification, Random Forrests, Support Vector Machines

During the 1990’s the advent of Neural Networks unleashed a torrent of research on their applications in financial markets, accompanied by some rather extravagant claims about their predicative abilities. Sadly, much of the research proved to be sub-standard and the results illusionary, following which the topic was largely relegated to the bleachers, at least in…

Many people have heard of Kalman filtering, but regard the topic as mysterious. While it’s true that deriving the Kalman filter and proving mathematically that it is “optimal” under a variety of circumstances can be rather intense, applying the filter to a basic linear system is actually very easy. This Matlab file is intended to demonstrate that.

Quantitative Research And Trading © 2016 All rights reserved.