You are viewing a javascript disabled version of the site. Please enable Javascript for this site to function properly.
Go to headerGo to navigationGo to searchGo to contentsGo to footer
In content section. Select this link to jump to navigation

Extracting predictive information from heterogeneous data streams using Gaussian Processes

Abstract

Financial markets are notoriously complex environments, presenting vast amounts of noisy, yet potentially informative data. We consider the problem of forecasting financial time series from a wide range of information sources using online Gaussian Processes with Automatic Relevance Determination (ARD) kernels. We measure the performance gain, quantified in terms of Normalised Root Mean Square Error (NRMSE), Median Absolute Deviation (MAD) and Pearson correlation, from fusing each of four separate data domains: time series technicals, sentiment analysis, options market data and broker recommendations. We show evidence that ARD kernels produce meaningful feature rankings that help retain salient inputs and reduce input dimensionality, providing a framework for sifting through financial complexity. We measure the performance gain from fusing each domain’s heterogeneous data streams into a single probabilistic model. In particular our findings highlight the critical value of options data in mapping out the curvature of price space and inspire an intuitive, novel direction for research in financial prediction.

1Introduction

One of the central challenges in financial forecasting is determining where to look. A financial instrument’s time series history, comparables and derivatives, news articles and opinion pieces all have the potential to influence price evolution. Developing a robust framework for knowledge extraction from disparate, jointly informative datasets remains an open challenge for the finance and machine learning communities.

In this paper we forecast daily returns on the S&P500 index, a broad market benchmark for US equities commonly viewed as a gauge of financial stability. The S&P500 is a market capitalisation-weighted index of the 500 largest corporations in the US, covering the full range of technology, consumer goods, utilities and financial services companies. It is one of the most visible benchmarks in the world, actively traded by buy-and-hold mutual funds and high-frequency hedge funds alike.

We begin by postulating four broad categories in which to search for salient explanatory variables. Market technicals include lagged returns to measure autocorrelation, as well as chartist signals used in industry like the Moving Average Convergence Divergence (MACD). Sentiment analysis covers the impact of newsflow, measured by optimism or pessimism in social media. Options market metrics provide a glimpse into the positioning of market experts and give us a principled, data-driven method for modelling price space as an inhomogeneous dimension with regions of directional bias and return compression. Broker recommendations collate the wisdom of equity analysts and allow us to measure the predictive value, if any, of their upgrades and downgrades.

We show that predictive performance improves when combining signals from each domain, and provide a principled framework for the triage of inputs by implementing Automatic Relevance Determination (ARD) in the covariance parametrisation of an adaptive Gaussian Process model. The ranking that emerges from this analysis defies expectations, and encourages further investigation of options markets and the price space representation.

2Prior work

We first establish context for our study by reviewing relevant prior research in the domain of financial prediction using each of our various data streams. We then turn our attention to common practice multivariate analysis techniques.

Technical analysis was one of the earliest forms of financial forecasting, first appearing in merchant accounts of the Dutch markets in the 17th century. Formalised as a discipline in the 1940s (Edwards and Magee, 1946), it involves the use of price and volume time series to make directional forecasts. It has been extensively studied in prior regression analyses (Lo et al., 2000) demonstrating the incremental gains in predictive performance provided by identifying specific patterns in price history. Technicals-driven Gaussian Process regression has been applied to forecasting time-series in a wide range of asset classes, including stock market prices (Farrell and Correa, 2007), stock market volatility (Ou and Wang, 2009) and commodity spreads (Chapados and Bengio, 2007). These studies show that model performance is highly reliant on the size of the training set.

Literature on financial prediction using text data has proliferated in recent decades, closely tracking advances in the field of natural language processing. The methodology in this domain has typically involved converting words or phrases into numerical gauges of sentiment with which to predict stock market direction (Nikfarjam et al., 2010). Modelling techniques have ranged from simple Naive-Bayes or Support Vector Machine classifiers to more advanced algorithms built on deep learning. More recent work in sentiment composition has sought to predict economic indicators like the U.S. Non-Farm Payrolls using newsflow data. These studies show evidence that accurate parsing of news articles can produce state-of-the-art forecasts for market-moving announcements (Levenberg et al., 2013, 2014).

Research on the interactions between stock and options market prices has been scarce, though early attempts were made to assess correlation in the volume data. Studies indicated that call options flow lead underlying shares flow with a one-day lag, lending credence to the hypothesis of a sequential flow of information between the options and stock markets (Anthony, 1998).

Multiple studies have been conducted to ascertain the influence of buy and sell recommendations on stock prices. Research on equity analyst reports show significant, systematic but asymmetric drift in the aftermath of broker actions, with short-lived, modest gains following upgrades but durable, material sell-offs following downgrades (Womack, 1996). The magnitude of these changes depended not only on the action (upgrade vs. downgrade), but also on the reputation of the analyst, the size of their brokerage firm and the size of the recommended firm (Stickel, 1995).

Various techniques have been applied to multivariate analysis in finance, relying on Independent Component Analysis to reduce dimensionality (Lu et al., 2009) and elliptical copula models to capture input dependencies (Biller and Corlu, 2012). These studies find incremental information gain in using multiple time series from the same domain. By contrast, our work focuses on heterogeneous data fusion and modelling inter-domain dependencies.

3Data

In this section we detail the features considered for each of the four domains under consideration, all of which will be used to predict Return(t+1), the next-day log-returns on the S&P500.

3.1Technical indicators

Market technicals are metrics derived directly from the price history p(t) of a financial instrument. We consider four features commonly watched in industry (Taylor and Allen, 1992): the previous daily log-return on the S&P500, its 50-day Simple Moving Average, as well as the Moving Average Convergence Divergence (MACD) and Signal Line, constructed from Exponential Moving Averages (EMA) of the time series as follows:

(1)
MACD(t)=12-dayEMA[p(t)]-26-dayEMA[p(t)]

(2)
SignalLine(t)=MACD(t)-9-dayEMA[MACD(t)]

We do not believe that the formulation of these metrics is inherently meaningful, but rather that standardised definitions provide precise, measurable thresholds at which chartist market participants will react. Including these features will allow our model to identify those thresholds and thereby anticipate technically-led order flow.

3.2Sentiment analysis

While factual newsflow is significant, it is specifically the polarity of its interpretation by markets - as beats or disappointments - that drives market movement. Market sentiment was captured using indicators derived from both Twitter and Stocktwits, a social media site dedicated to real-time discussions of financial markets and actively frequented by S&P500 retail investors. Two further metrics were derived by tracking the daily changes in the sentiment indices.

3.3Options-based modelling of price space

As a province reserved for more sophisticated traders, options market open interest volumes offer a window into the expectations of the most experienced, well-capitalised participants. As strike-sensitive instruments1, options data also allow us to gauge how these expectations vary at different price levels, motivating the representation of price as an inhomogeneous space with identifiable regions of high directional bias or variance. Illustratively, high open interest (OI) in call options coupled with low open interest in put options indicates experts pre-positioning for a rally. By contrast, high open interest in straddles2 at a given strike implies low consensus among experts about directionality at that price, and hints at evenly matched, competing forces that will compress returns locally. We term this phenomenon viscosity, appealing to the visual analogy of price space as an inhomogeneous fluid that enables price gaps in regions of low viscosity and prevents it in regions of high viscosity.

To capture the directionality and viscosity implied by open interest data, we constructed two metrics. Directionality measures the daily change in call minus put open interest at strike s with time-to-expiry τ, summed across all strikes S and expiries T. It proxies for expert optimism as evidenced by bullish option positioning, and by construction correlates positively with S&P500 next-day returns. The scaling factors e-γDτ account for the time sensitivity of options traders, and serve to scale up the weight of nearby expiries by mimmicking the exponential decay of gamma risk as time-to-expiry lengthens.

(3)
Directionality(t)=sS,τT[(OI(s,t,τ)Call-OI(s,t,τ)Put)×exp(-γDτ)]-sS,τT[(OI(s,t-1,τ)Call-OI(s,t-1,τ)Put)×exp(-γDτ)]

The parameter γD measures the rate at which Directionality decays as a function of time-to-expiry, and is optimised over the training data by solving:

(4)
γD=argmaxγDcorr(Directionality,Return)
where corr is the linear correlation between its two arguments.

In parametrising viscosity, we make three modelling assumptions. Firstly, the pinning effect of high straddle open interest is at its greatest for options very near their expiry date. Secondly, this effect decays as live prices move away from the straddle’s strike s. Thirdly, we claim that open interest volumes follow a lognormal distribution, evolving over time through the compounding of normally-distributed exponential factors and restricted to non-negative values. These claims jointly motivate the following representation:

(5)
Viscosity(t)=sS,τT[exp(-λV|price(t)-s|)×exp(-γVτ)×log[min(OI(s,t,τ)Call,OI(s,t,τ)Put)+1]]

We expect a significant negative correlation between viscosity and the magnitude of S&P500 next-day returns; as such tuning λV and γV equates to solving the following optimisation problem:

(6)
λV,γV=argminλV,γVcorr(Viscosity,|Return|)

3.4Broker recommendations

Market analysts issue recommendations on individual stocks rather than on the broad market - partly a reflection of the incentive structure for brokerage firms: commissions are substantially larger for actively managed portfolios than for passive index-trackers.

To overcome this, we construct an index of broker opinions, based on a weighted sum of broker recommendations across the top 100 stocks in the S&P500. These account for 63% of the index’s market capitalisation, and broker actions on these household names have a disproportionate effect on the index as a whole. Two indices were built from these weighted sums, to track both changes in analyst opinion (upgrades and downgrades) and the consensus state (buy, hold or sell).

4ARD Gaussian Processes

We briefly recall the fundamentals of Gaussian Process modelling before describing ARD kernels and the associated notion of relevance score. For a comprehensive treatment of Gaussian Processes, please refer to Rasmussen and Williams (2006).

A Gaussian Process is a collection of random variables, any finite subset of which has a joint Gaussian distribution. Gaussian Processes are fully parametrised by a mean function and covariance function, or kernel. Given a real process f(x), we write the Gaussian Process as:

(7)
f(x)GP(m(x),k(x,x))
where functions m(x) and k(x,x’) are respectively the mean and covariance functions:
(8)
m(x)=𝔼[f(x)]
(9)
k(x,x)=𝔼[(f(x)-m(x))×(f(x)-m(x))]

Inputs are commonly centered during pre-proces-sing. For a given training set X = {x1, . . . , xn} with corresponding output variables y = {y1, . . . , yn and Gaussian Process f, the distribution of f = [f (x1) , . . . , f (xn)]  will be multivariate Gaussian:

(10)
fN(0,K)
where Kij = k (xi, xj). Conditional on f, we have a Gaussian observation model given by:
(11)
yi|f(xi)N(0,σn2)
where σn2 parametrises noise. Gaussian distribution conjugacy allows us to marginalise out f to find the distribution:
(12)
yiN(0,K+σn2I)
and conditioning on the training data yields the following predictive distribution y* for an unseen test datapoint x*:

(13)
y*|x*,X,yN(k*(K+σn2I)-1y,k**-k*(K+σn2I)-1k*)
where Kij = k (xi, xj), k* = [k (x1, x*) , . . . , k (xn, x*)] and k** = k (x*, x*). This methodology combines prior knowledge over f, encoded in the covariance function k (x, x′), with observation data to produce a posterior distribution for forecasting.

To counter overfitting, we introduce k-fold cross-validation, a model validation methodology that involves partitioning the original training set into k complementary subsets. We then train the model on k-1 subsets and test it on the one remaining subset. After rotating through the k choices for this validation set, the results are averaged across all tests and provide insight into the model’s ability to generalise well. We apply 10-fold cross-validation to determine the optimal covariance function for our dataset from a range of options (Squared Exponential, Rational Quadratic, Matérn 1/2, Matérn 3/2 and Matérn 5/2; Rasmussen and Williams, 2006), and settle on the Matérn 3/2 kernel, a once-differentiable function exhibiting the low smoothness typical of financial time series.

(14)
k(x,x)=σf2(1+3|x-x|l)×exp(-3|x-x|l)

The covariance function above employs an isotropic Manhattan norm as the similarity measure between two vectors in input space. This assumes that a single, global characteristic length scale l can appropriately evaluate proximity in all input dimensions. Even with all inputs normalised to the same scale during pre-processing, it is likely that they will contain varying levels of information on the output variable, motivating the use of input-specific characteristic length scales.

In ARD kernels, the scalar input length scale l of Equation (14) is replaced with a vector input length scale with a different li for each input dimension i, allowing for different distance measures. These hyperparameters will adapt to any given dataset: inputs with large length scales cause only marginal variations in the covariance function, whereas inputs with small length scales effectively magnify those variations. We can therefore define the relevance score of each feature to be the reciprocal of its input length scale, and rank the salience of inputs by descending relevance.

(15)
RelevanceScorei=li-1

ARD algorithms have been successfully used in research ranging from bioinformatics (Campbell and Tipping, 2002) to seismography (Oh et al., 2008), providing an effective tool for pruning large numbers of irrelevant features. A limitation of the methodology as presented is that the relevance scores only provide a relative ranking between the features of a model. Two equally meaningless inputs will have relevance scores of similar magnitude, as would two equally meaningful features. On their own, these scores provide little basis for performing dimensionality reduction. To overcome this, we include in each regression a baseline feature composed of standard Gaussian noise. We assert that a meaningful input should have a relevance score that is at least two orders of magnitude greater than noise, so by computing the Relevance Ratio we can determine which features are objectively informative.

(16)
RelevanceRatioi=RelevanceScoreiRelevanceScorenoise

5Results

In this section we outline the findings of our analysis. We begin by discovering relevance hierarchies in the data using ARD, before proceeding with model testing and benchmarking. Model performance metrics were derived using market data from Jan-13 to Dec-14 for training and Jan-15 to Apr-15 for testing. The price history of the S&P500 Index for this period is provided in Fig. 1.

5.1Correlation analysis

We begin by running a correlation analysis on each feature of the training set, grouped by domain and collect the findings in Table 1. In most cases, rank correlations are stronger than linear correlations, though the variations are too marginal to alter the analysis. For brevity, in all ensuing sections we have adopted the linear definition of correlation.

We next outline a methodology for determining whether an observed sample correlation is significant. Given two independent random variables xi and y of length N with sample correlation r, the statistic

(17)
t=r×N-21-r2
is t-distributed with N-2 degrees of freedom. Values for the (r, N) pair that land outside the 95% confidence interval of the t-distribution violate the null hypothesis of independence, providing a methodology via the Student’s t-test for identifying significant correlations in a dataset. P-values are derived from t-distribution tables and measure the probability that uncorrelated sample data will yield a t-statistic as or more extreme than the value of t obtained from Equation (17). Common significance thresholds are p-values of 0.05 or 0.01. Applying t-tests to our dataset, every domain apart from broker recommendations held at least one feature bearing significant correlation with next-day returns, signalled by p-values under 0.05 in Table 1.

The use of 4 distinct domains stemmed from the belief that, by virtue of tracking different market agents, these datasets will exhibit low correlation with each other and therefore enhance the predictive power of a combined model. In Table 2 we measure the correlation between input pairs in the training set, and find indeed that intra-domain correlations are generally stronger than inter-domain correlations, inspiring the pursuit of information gain across diverse, heterogeneous datasets.

5.2Feature relevance

Using training data from Jan-13 to Dec-14, we implement separate Gaussian Process regressions for each data domain using the Matérn 3/2 ARD kernel. This allows both a ranking of feature relevance within each domain, and bivariate visualisations of the mean surfaces learned from the two top-ranked features in each model. Relevance is ranked on the basis of Relevance Score and Relevance Ratio defined in Equations (15) and (16) respectively, with results for market technicals provided in Table 3.

Whilst the MACD-derived signal line and previous day’s return explained little of the variation in output, the 50-day Simple Moving Average was salient, as was the MACD. Figure 2 provides a heatmap of return variation based on the two top features of the technical domain, MACD and 50dMA(t), indexed by percentile score. As a first approximation, MACD and next-day returns move inversely: cheapness with respect to recent history correlates with next-day gains.

Table 4 provides an analysis of sentiment feature relevance. Stocktwits sentiment data is significantly more informative than Twitter data, to the point where the Twitter feature is irrelevant and can be discarded. As a social media site focused on finance, it is likely that Stocktwits’s polarity reflects solely market sentiment, whereas Twitter’s captures public opinion on a wide range of market-irrelevant issues (celebrity gossip, local politics). The 1-day change variables were also meaningless and can be discarded from subsequent analysis. Notably, the mean function learned through GP regression calls into question the wisdom of crowds: as Fig. 3 indicates, optimism on Stocktwits foreshadows broad market declines, and conversely. Sentiment analysis lends credence to the Warren Buffett adage: “be greedy when others are fearful, fearful when others are greedy.”

Relevance for options-derived metrics is provided in Table 5. Directionality and viscosity were almost equally relevant, with positive directionality - that is, experts pre-positioning for rallies via call options -anticipating positive next-day returns. Viscosity instead tracked areas of return compression, and acted as a form of friction. This manifests in Fig. 4 as areas of peak return coinciding with high directionality and low viscosity.

The relevance of broker actions is assessed in Table 6. Broker upgrades and downgrades are infrequent occurrences, resulting in a sparse Broker Change input. The Matérn 3/2 kernel is capable of learning the non-smooth behaviour exhibited in Fig. 5, but with relevance metrics indistinguishable from Gaussian noise, it is unlikely this domain will provide meaningful improvements to a combined model. This suggests that analyst opinions have little predictive power, and merely reflect market changes after they’ve occurred.

Retaining only the salient features, we run a high-dimensional Gaussian Process regression on relevant inputs from all domains simultaneously. The results, compiled in Table 7, broadly mirror our expectations from the correlation analysis, highlighting the ARD framework’s ability to discover structure in the data.

5.3Model performance

Having established a method for identifying salient features, we now turn our attention to the predictive performance of ARD Gaussian Processes using each data domain. We separately test the predictive value of each domain before fusing them into a combined model, and measure performance according to the Pearson correlation between forecasts and observations, Median Absolute Deviation and Normalised Root Mean Square Error, where the normalisation constant is the standard deviation of the observations. The results are provided in Table 8.

The model registers monotonic improvements in performance when additional features are included, with the options market data providing the greatest gain. Moreover, it strictly outperforms traditional financial models such as look-ahead AR Processes on measures of ground-truth correlation and NRMSE. Benchmark performance levels are included in Table 9.

Over timeframes much larger than our study’s 28-month window, supervised batch algorithms in finance run the risk of failing to recognise significant changes in the landscape fast enough. For example, Stocktwits sentiment’s relevance would have been very low when the site was launched in 2009, and grew in tandem with the size of its user base. A solution to this challenge involves adaptively learning the kernel hyperparameters from recent history only, removing the impact of old, potentially irrelevant data. The evolution from offline to online, adaptive learning follows straightforwardly: we define a window w over which to train an adaptive ARD Gaussian Process for next-day predictions. Rolling the window forward, we generate forecasts for each day in our test set using the optimally combined feature set, and measure model performance as before. Performance metrics for the Adaptive ARD Gaussian Process model are included in Table 10.

Predictive performance dips to impractical levels below the w = 250 threshold corresponding to one full year’s data, highlighting the need for a critical mass of data for Gaussian Process regression and hinting at seasonal variance in stock market returns, in line with a long history of empirical studies on the topic of annual cyclicality (Lakonishok and Smidt, 1989; Agrawal and Tandon, 1994). Factoring in correlation and Mean Absolute Deviation measures, the best adaptive performance was obtained using exactly one full year of the most recent data.

In Table 11 we provide performance metrics on benchmark adaptive models such as one-step-ahead AR and autoregressive Kalman Filters with varying lags, and find the Adaptive ARD GP yields both superior results and the benefit of automatic, interpretable feature selection.

6Conclusions

Extracting information from multiple domains presents the dual challenge of identifying both what to pick and how to mix. Our results provide a principled framework for reducing input dimensionality through iterative ARD GP regression. We show measurable gains in predictive performance from fusing multiple data streams together in an online setting, and draw particular attention to the relevance of options market data and the implicitly inhomogeneous representation of price space. As an untapped, feature-rich, strike-dependent dataset shaped by the interactions of informed players, options market salience provides a strong mandate for further research into data-driven modelling of price space and its implications for financial forecasting.

Notes

1 Call and put option prices are calculated via the Black-Scholes formula and depend on a ’strike’ level that defines the price at which the option owner may buy or sell the underlying asset.

2 A long straddle position refers to the ownership of both a call and a put option at the same strike price and expiry date: it does not express a directional view, and benefits so long as the underlying asset deviates sufficiently from the strike before expiry.

References

1 

Agrawal A., TandonK., (1994) . Anomalies or Illusions? Evidence from stock markets in eighteen countries, Journal of International Money and Finance 13: (1).

2 

Anthony J.H., (1998) . The interrelation of stock and options market trading-volume data, The Journal of Finance 43: (4).

3 

Biller B., Corlu C.G., (2012) . Copula-based multivariate input modeling, Surveys in Operations Research and Management Science 17: (2).

4 

Campbell C., Li Y., Tipping M., (2002) . Bayesian Automatic Relevance Determination algorithms for classifying gene expression data. Oxford University Press.

5 

Chapados N., Bengio Y., (2007) . Forecasting and Trading Commodity Contract Spreads with Gaussian Processes. 13th International Conference on Computing in Economics and Finance.

6 

Edwards R.D., Magee J., (1948) . Technical analysis of Stock Trends, Vision Books, pp. 4–7.

7 

Farrell M.T. Correa A., (2007) . Gaussian Process Regression Models for Predicting Stock Trends. MIT University Technical Report.

8 

Lakonishok J., Smidt S., (1989) . Are seasonal anomalies real? A ninety-year perspective, Review of Financial Studies 1: (4).

9 

Levenberg A., Pulman S., Moilanen K., Simpson E., Roberts S., (2014) . Predicting Economic indicators from web text using sentiment composition. Proceedings of ICICA-2014.

10 

Levenberg A., Simpson E., Roberts S., Gottlob G., (2013) . Economic Prediction using heterogeneous data streams from the World Wide Web. ECML workshop on Scalable Methods in Decision Making.

11 

Lo A.W., Mamaysky H., Wang J., (2000) . Foundations of technical analysis: computational algorithms, statistical inference and empirical implementation, The Journal of Finance 55: (4).

12 

Lu C.J., Lee T.-S., Chiu C.-C., (2009) . Financial time series forecasting using independent component analysis and support vector regression, Decision Support Systems 47: (2).

13 

Oh C.K., Beck J.L., Yamada M., (2008) . Bayesian learning using automatic relevance determination prior with an application to earthquake early warning, Journal of Engineering Mechanics 134: (12).

14 

Ou P., Wang H., (2009) . Modeling and Forecasting Stock Market Volatility by Gaussian Processes based on GARCH, EGARCH and GJR Models. Proceedings of the World Congress on Engineering.

15 

Nikfarjam A., Emadzadeh E., Muthaiyah S., (2010) . Text mining approaches for stock market prediction. 2nd International Conference on Computer and Automation Engineering (ICCAE).

16 

Rasmussen C., Williams C., (2006) . Gaussian Processes for Machine Learning, MIT Press, pp. 81–88.

17 

Stickel S.E., (1995) . The anatomy of the performance of buy and sell recommendations, Financial Analysts Journal 51: (5).

18 

Taylor M.P., Allen H., (1992) . The use of technical analysis in the foreign exchange market, Journal of International Money and Finance 11: (3).

19 

Womack K.L., (1996) . Do brokerage analysts’ recommendations have investment value?, The Journal of Finance 51: (1).

Figures and Tables

Fig.1

S&P500 Index price history between Jan-13 and Apr-15.

S&P500 Index price history between Jan-13 and Apr-15.
Fig.2

S&P500 Daily Return Variation as a function of 50-day Moving Average (x-axis) and MACD (y-axis).

S&P500 Daily Return Variation as a function of 50-day Moving Average (x-axis) and MACD (y-axis).
Fig.3

S&P500 Daily Return Variation as a function of Stocktwits Sentiment (x-axis) and Twitter Sentiment (y-axis).

S&P500 Daily Return Variation as a function of Stocktwits Sentiment (x-axis) and Twitter Sentiment (y-axis).
Fig.4

S&P500 Daily Return Variation as a function of Directionality (x-axis) and Viscosity (y-axis).

S&P500 Daily Return Variation as a function of Directionality (x-axis) and Viscosity (y-axis).
Fig.5

S&P500 Daily Return Variation as a function of Broker State (x-axis) and Broker Change (y-axis).

S&P500 Daily Return Variation as a function of Broker State (x-axis) and Broker Change (y-axis).
Table 1

Input-Output correlation analysis measured on the training set, N = 503 (Jan-13 to Dec-14)

Correlationp-value
FeaturePearsonSpearmanPearsonSpearman
Return(t)-0.0336-0.08620.45240.0534
50dSMA - 0.0451 - 0.11230.31300.0117
MACD - 0.1403 - 0.15760.00160.0004
Signal Line-0.0170-0.03650.70340.4138
Stocktwits - 0.1103 - 0.12470.01330.0051
Twitter-0.0287-0.05390.52010.2275
Stocktwits Change-0.0581-0.06580.19330.1406
Twitter Change+0.0269+0.02150.54740.6305
Directionality + 0.1011 + 0.11350.02340.0108
Viscosity* - 0.2262 - 0.18310.00010.0001
Broker State+0.0348+0.01590.43610.7220
Broker Change+0.0024+0.02630.95640.5562

*Correlation for Viscosity was calculated against absolute returns.

Table 2

Input-Input correlation analysis measured on the training set, N = 503 (Jan-13 to Dec-14)

TechnicalsSentimentPrice SpaceBroker
yret50dMAMACDSignalTwtrSTDirViscStateChange
yret1.000.34–0.030.180.290.290.020.010.050.01
50dMA0.341.000.130.080.110.12–0.110.020.050.00
MACD–0.030.131.000.490.110.24–0.490.37–0.01–0.15
Signal0.180.080.491.000.270.27–0.180.180.10–0.12
Twtr0.290.110.110.271.000.44–0.140.210.15–0.01
ST0.290.120.240.270.441.00–0.180.110.050.02
Dir0.02–0.11–0.49–0.18–0.14–0.181.00–0.35–0.070.03
Visc0.010.020.370.180.210.11–0.351.000.02–0.10
State0.050.05–0.010.100.150.05–0.070.021.000.11
Change0.010.00–0.15–0.12–0.010.020.03–0.100.111.00
Table 3

Relevance of market technicals

Relevance
FeatureScoreRatio
Return(t)0.06374.3 × 102
50dSMA0.56203.8 × 103
MACD0.17831.2 × 103
Signal Line0.08836.0 × 102
Noise0.00021
Table 4

Relevance of sentiment analysis

Relevance
FeatureScoreRatio
Stocktwits Index0.20872, 8 × 103
Stocktwits Change0.00010.9
Twitter Index0.00010.9
Twitter Change<0.00010.3
Noise0.00011
Table 5

Relevance of price space

Relevance
FeatureScoreRatio
Directionality0.56564.7 × 103
Viscosity0.38443.2 × 103
Noise0.00011
Table 6

Relevance of broker recommendations

Relevance
FeatureScoreRatio
Broker State0.01572.0 × 10-2
Broker Change0.26490.3 × 10-1
Noise0.45231
Table 7

Relevance across all Domains measured on the training set, N = 503 entries (Jan-13 to Dec-14)

RelevancePearson
FeatureScoreRatioCorrelationp-value
Directionality0.36987.5 × 103+0.10110.0234
Viscosity*0.33326.7 × 103-0.22620.0001
Stocktwits0.07381.5 × 103-0.11030.0133
50dMA0.66601.3 × 104-0.04510.3130
MACD0.31596.4 × 103-0.14030.0016
Broker Change<0.00011.58+0.00240.9564
Noise<0.00011-0.02380.5948

*Correlation for Viscosity was calculated against absolute returns.

Table 8

ARD GP Performance measured on the test set, N = 75 (Jan-15 to Apr-15)

PearsonPerformance
FeatureCorrelationp-valueMAD (bp)NRMSE
MACD + 0.23870.039258.220.9834
Stocktwits+0.17790.126852.510.9888
Directionality + 0.24120.037154.070.9769
Viscosity*-0.16350.161151.590.9880
Broker Change-0.12060.302651.730.9941
Technicals (all) + 0.30790.007256.990.9796
Sentiment (all)+0.17790.126852.510.9888
Price Space (all) + 0.33150.003760.760.9477
Broker Data (all)-0.13430.250551.730.9941
Combined + 0.38030.000851.530.9298

*Correlation for Viscosity was calculated against absolute returns.

Table 9

Look-ahead benchmark performance

ModelCorrelationMAD (bp)NRMSE
AR(1)+0.005053.100.9950
AR(3)+0.202553.110.9932
AR(10)+0.195052.610.9885
Table 10

Adaptive ARD GP performance measured on the test set, N = 75 (Jan-15 to Apr-15)

PearsonPerformance
Window LengthCorrelationp-valueMAD (bp)NRMSE
w = 150+0.29220.011050.960.9990
w = 175+0.31810.005444.120.9769
w = 200+0.30190.008549.080.9756
w = 225+0.31470.006053.290.9692
w = 250 + 0.37970.000743.330.9377
w = 275+0.35510.001848.640.9579
w = 300+0.33680.003152.060.9686
w = 325+0.29660.009861.310.9789
w = 350+0.31110.006661.620.9620
w = 375+0.32360.004657.800.9438
w = 400+0.35260.001954.840.9313
w = 425+0.33590.003263.020.9369
w = 450+0.35840.001658.860.9286
w = 475+0.35080.002057.770.9313
w = 500+0.36360.001357.930.9275
Table 11

Adaptive benchmark performance

ModelCorrelationMAD (bp)NRMSE
AR(1)+0.116348.010.9891
AR(3)+0.109549.270.9887
AR(10)+0.319151.700.9561
KF(1)+0.097351.330.9909
KF(3)+0.021949.030.9940
KF(10)+0.195252.740.9763