Business and Finance
Business Intelligence and Finance Applications
Overview of AQSCS Generic Multi-Expert Indicators
Introduction
Existing Challenges
One of difficult problems lacking universal solutions is discovery of profitable trading and investment strategies for financial markets as well as similar decision making challenges in a wider scope of business intelligence applications. A variety of advanced methods and algorithms are proven to be helpful in quantification and explanation of different market regimes and business cycles. However, even the most cutting-edge quantitative techniques do not warranty success in discovery of profitable and regime-independent strategies. For example, quite a few quantitative explanations of market crashes and other critical regime changes have been proposed. Nevertheless, most of them cannot provide accurate timing for consistent exploitation of these events for profit or for timely hedging to decrease losses. Similarly, while many tools can be used to discover and optimize trading and/or investment strategies for a particular market regime, it is much more difficult to provide early warning of the regime change and timely strategy switching. In many professional investment and trading groups including hedge funds such strategy replacement or investment portfolio adjustments are still discretional and far from being optimal. Discovery of the regime-independent strategy that delivers acceptable performance in all market regimes is even more difficult task without any known universal solution.Regime-Independent Portfolios of Complementary Trading Strategies
In the past 10 years we have shown that our multi-expert discovery system is capable to find stable regime-independent portfolios of complementary trading strategies for different trading vehicles, profit/risk objectives, and trading frequencies. One of such fully automated multi-expert system successfully tested with real capital is for intraday medium-frequency systematic trading without overnight positions. This system can be applied for trading up to $100-200 mil portfolios of generic liquid assets: stocks, ETFs, and futures, and can demonstrate attractive performance metrics (e.g., Sharpe ratio in the range of 3-5). While direct usage of this multi-strategy system can be an attractive by itself for this type of trading, we find that it could be also used in much wider application scope. As outlined in the next paragraph, it could offer critical edge for many other investment and trading strategies as novel type of indicator based on principles that are very different from typical technical and fundamental indicators and metrics.Universal Strategy-Based Multi-Expert Indicators
Our portfolios of complementary medium-frequency strategies combine two key advantages that make them generic and suitable for wider application scope. First, unlike most lower-frequency strategies, they demonstrate verifiable regime-independence combined with attractive performance for most test periods of interest. Second, unlike most of high-frequency strategies, the individual strategies in our multi-expert portfolios are sensitive to the same market regimes that influence performance of a wide range of other strategies with different frequencies and horizons. Finally, intraday nature of our meta-strategy makes it possible to detect important regime changes well in advance, since first behavioral precursors of such changes are often manifested in intraday patterns. Thus, our generic ensembles of complementary trading strategies implicitly encode wide range of tradable market regimes, exploitable novel and rare events, and precursor patterns that could be hard or impossible to quantify by other means. Our strategy-based multi-regime encoding is very different from standard multi-expert indicators. The best technical or econometric-type indicators and their combination could often show formal predictive power but cannot offer consistent set of signals/rules for profitable trading. In our case, the original goal is to discover ensemble of complementary profitable strategies. Therefore, by construction such ensemble encodes only tradable regimes and patters, while discarding other, potentially predictable, patterns which are useless for systematic profitable trading. Alternatively, our regime-independent strategy ensemble can be interpreted as a large pool of experts with complementary knowledge and behavioral signatures. However, unlike real experts, it offers full detailed information of expert behavior (their micro-timing, positions, etc) in different market regimes. Thus, one has an opportunity to observe and take into account changes in such rich multi-expert behavioral indicator for early prediction and quantification of otherwise hard-to-model market events that potentially lead to profitable trading or hedging.Solutions
COMPLEXITY AND DISTANCE MEASURES OF INTRADAY MULTI-STRATEGY POSITIONS AS EARLY PREDICTORS OF MARKET REGIME CHANGES
Accurate prediction of market regime changes is crucial for the majority of trading and investment strategies. While fundamental approaches could often foresee and explain the coming regime change, they are usually very inaccurate in actual market timing since it is strongly influenced by the hard-to-model behavioral component of the market participants. Technical indicators based on price/volume analysis could provide significantly better market timing since behavioral component is a part of price/volume dynamics. However, technical indicators have their own problems such as excessive noise and/or time delay in predicting important market events. This is illustrated in the figure on the left (click to enlarge). In the upper panel, we plot the well-known 14-day RSI oscillator computed from S&P500 time series (red line) and S&P500 index itself (black line). The lower panel presents RSI for longer, 40-day, period. It is clear that 14-day RSI is quite noisy. Although potentially it could be useful in detecting certain local market events, it cannot provide proper scaling of the anticipated regime changes and fails to give clear indication of the two major regime changes: 2008 market downturn and start of the current bull market. While, 40-day RSI is less noisy, it still cannot clearly separate local market events from the major regime changes. Other types of technical indicators such as variety of moving averages are also noisy on short averaging periods, have very significant delays for longer periods, and cannot provide timely prediction of the major regime changes.
Price/volume data aggregates rational and pure behavioral activity of all market participants with different levels of expertise and prediction capabilities. Naturally, information encoded in price/volume data is noisy and requires filtering such as offered by typical technical indicators. However, although technical indicators could often show formal predictive power, even the best ones cannot directly offer consistent set of signals/rules for profitable trading. This also limits predictive capabilities of such indicators since they cannot directly assess behavioral changes of expert-level market participant which could be early precursors to major regime changes.
In contrast, our regime-independent portfolios of complementary strategies encode only tradable regimes and patters, while discarding other, potentially predictable, patterns which are useless for systematic profitable trading. Thus, such portfolio can be interpreted as a large pool of experts with complementary market knowledge. Unlike real physical experts, our ensemble offers full detailed information of expert (base strategy) behavior (their micro-timing, positions, etc) in different market regimes. The current market state can be represented as weighted position vector of all base strategies (experts) in the ensemble. An emerging change in the most recent set of such state vectors could be a robust and early precursor to the coming market regime switching.
One way to quantify changes in such position-based state vector is to compute weighted-averaged complexity of positions time series and observe change of such aggregated complexity measure over time. Time series analysis based on complexity measures is known to be efficient for state differentiation in biomedical and other applications (see AQSCS section on biomedical solutions). A significant complexity increase representing major change in the expert trading behavior would indicate upcoming change in the market regime. Illustration based on positions of one of our portfolios and Lempel-Ziv (LZ) complexity measure (computed over 40-day period) is presented in the figure on the left (click to enlarge). We see that two largest peaks in LZ measure (green circles) are clear precursors to major regime changes: downturn in 2008 and beginning of the current bull market. Changes of the more local nature could also be inferred from oscillatory LZ-complexity time series. Please note that utility of the direct calculation of complexity measures from price time series is often inconclusive for most practical purposes.
An alternative approach to predict major regime changes from multi-expert state vectors is via the construction of minimum spanning tree (MST). We also find this approach to be effective for early detection of emerging physiological regimes in biomedical applications. First, we compute proximity matrix of consecutive position state vectors covering certain period (40-day period in our example). Proximity between each pair of state vectors is defined as Euclidean distance between the two vectors. Next, MST is constructed from such a matrix to reduce dimensionality and extract (filter) the most important information. Finally, time dependence of MST length is analyzed. The increase in MST length corresponding to appearance of new trading behavior would indicate upcoming market regime change. Illustration of MST approach is presented in the figure on the left (click to enlarge). Similar to LZ complexity indicator, two largest peaks in MST length (green circles) are clear precursors to major regime changes: downturn in 2008 and beginning of the current bull market.
Aggregated complexity or MST length calculated from multi-expert position state vectors could be robust measure for early detection of significant regime changes. Another promising and intuitive way to utilize information encoded by position state vectors is template (pattern) matching. Template matching could be also applied directly to price time series or individual technical indicators but with limited success due to excessive noise and other reasons discussed above. The approach involves finding the closest matches in the history to the most recent period of market/instrument time series or a set of measures/indicators calculated from it. Once such historical matches are found, one can look at the immediate future after those historical periods to project possible future outcomes that would follow after currently observed period.
The first step in our template matching procedure is calculation of cross-proximity matrices of the current period with all historical periods of interests. Previously described MST procedure is dealing with proximity matrix based on all pairs of vectors from the current period. Here, cross-proximity matrix is obtained by calculating Euclidean distances between all position vectors from the current period and all vectors from the considered historical period of the same duration (20 days in our example). Next, MST is extracted from cross-proximity matrix and MST length is calculated. Finally, we choose historical periods with smallest MST length. Indeed, the lower is MST length the closer is historical period to the current period measured by multi-expert trading activity. Capabilities of the described approach are illustrated in the figure on the left (click to enlarge) for two of the 20-day periods in 2013. Black line represents 20-day buy-and-hold P&L time series of S&P500 immediately after the considered period. Similar time series that follow best-match (green line) and worst-match (red line) historical periods are also shown. It is clear that best-match historical time series is much closer to the considered period indicating predictive capabilities of this approach. Similarly, one could also project P&L time series of the particular strategy instead of just buy-and-hold index.
INTRADAY MULTI-STRATEGY POSITION STATE VECTORS AS UNIVERSAL DETECTORS OF RARE, EMERGING, AND HARD-TO-ANALYZE TRADABLE EVENTS
The relatively regime-independent performance of our multi-expert system for intraday trading suggests that base strategies (experts) are capable to exploit a wide variety of tradable intraday regimes and events with predictable patterns. The benefit of a direct automated usage of such system for trading is that all these details are hidden from the practitioner. However, to achieve the promised performance, one should start system on a daily basis with minimum or no discretional modifications, restrict trading to liquid instruments with high-enough intraday volatility, etc. Therefore, such a usage makes it impossible to employ this system for decision support in other strategies and investment/hedging decisions.
Nevertheless, there could be alternative benefits of using only certain tradable patterns as strategy-based indicators outside the full systematic trading procedure. The majority of encoded patterns would be frequently repeated and would have predictability for short-horizon (e.g., 10-40 min) returns significantly lower 100%. Obviously, such patterns could help generate regime-independent profit only by directly following systematic trading procedure. However, significant number of encoded regimes is characterized by less-frequent and even rare state patterns with predictability on the available historical data set close to 100%. Such “almost-sure” state patterns could be used for standalone rare-event trading or hedging of relevant strategies. It should be noted that the nature of such rare events/patterns makes it difficult or impossible to quantify them directly due to data limitations and lack of a priory intuition for the objective function choice.
In practice, a system exploiting such rare and “almost-sure” events could be implemented using template-matching framework which was already discussed above in a different context. In this case, we would take current multi-expert position state vector and calculate its Euclidean distance to all state vectors from the historical period of interest. Only those historical states that are “close-enough” to the current state according to application-specific threshold will be chosen. Next, distribution of the forward short-horizon returns corresponding to those historical states will be calculated. Examples for 3 different states in 2013 are presented in the figure on the left (click to enlarge). Here 25-min forward returns of S&P500 are presented by red bar for current state and by black bars for all historical states close to current state (tolerance 0.01). Upper and middle panels demonstrate rare or less-frequent states with almost sure profit for short position. Lower panel is an example of more frequent pattern which still has significant predictive power. Actual activation of the position based on the presented historical distribution should be decided by end user based on his objectives.