Posts

The target of this research was to find an indicator that helps predict the direction of the overall US Equity market for the next week using sentiment data from the previous week. The hypothesis is when there is high volatility in sentiment over the previous week, which means investors have differing opinions, the subsequent week overall market performance will underperform. When volatility on sentiment is low or neutral, the crowd has reached a consensus and the general market will outperform over the next week. The sentiment metric used to represent volatility is Raw-Volatility in SMA’s S-Factor data feed, which captures the volatility of the sentiment from Twitter conversations. All Raw-Volatility data points were taken from the 3:40 pm ET timestamp (20 minutes before the market close). We calculated the summation of Raw-Volatility for each date as a proxy to represent the volatility of Twitter social sentiment on the entire market. The exact calculation is as follows, where “N” is the number of companies with sentiment on that date and “D” is the date:

We then created a 7-day standardized volatility using a 91-day benchmark:

This Z_Volatility score follows a roughly normal distribution.

Using the S&P 500 ETF Trust (SPY) as a proxy of general market performance, we then look at the relationship between Z_Volatility and SPY’s return series. The daily close-to-close return is calculated as:

Hypothesis: When Z_Volatility for the previous closing Date is high, the subsequent market performance will be lower. When Z_Volatility is low or neutral, the next day’s market performance will be higher.

To test this, our strategy is to open short position of SPY when Z_Volatility > 1. When Z_Volatiltiy is =< 1, the portfolio treats SPY as a long position. This hypothetical portfolio is then compared to SPY over the past 10 years:

Prior to the COVID-19 pandemic, which began in early 2020, SPY outperformed the modified portfolio. However, since then the behavior of this factor changed drastically. Here is the same graph as above starting in 2020:

Taking a closer look, the separation since the beginning of 2020 is quite significant. Adding a short position to SPY when volatility on sentiment is high, has enhanced the portfolio’s return. Even though many of the days will maintain a long position, the Z-Volatility is predictive of downturns in the market since 2020. Traders could use this metric as an indicator to stay out of the market, or at the very least trade with more caution. The COVID-19 Pandemic led to a large amount of uncertainty surrounding the stock market and the direction its heading. A high Z_Volatility score indicates the public’s opinion is more uncertain about the direction of various stocks. This research shows the value of sentiment from Social Market Analytics in predicting macro-level events and price movements.

If you are interested in learning more about how SMA’s S-Factor data can help your trading strategies, please email us at contactus@socialmarketanalytics.com or schedule a demo using this link.

Social media beats the mainstream media on a regular basis.  Last week social media beat the news wire in reporting the MSFT acquisition of LNKD (blog post below) and Tuesday Twitter broke SCTY being acquired by TSLA.  This information is not theoretical – it is actionable data in our feed!

Tesla Motors lit up Twitter, yesterday, when CEO, Elon Musk came out and said their cars can float on water.  Tuesday June 21, the electric car manufacturer took everyone by surprise when they announced their decision to buy the solar panel company SolarCity (SCTY) minutes after the markets closed. The first news article to mention this came out at 4:18 PM CDT. Twitter had already gotten wind of this development 8 minutes prior with a tweet from the account “TopstepTrader”.

TSLA -SCTY

The tweet from “TopstepTrader” was deemed to be credible by Social Market Analytics’ sophisticated algorithm, which separates signal from noise to create actionable intelligence. The sentiment started to move in a positive direction the very next minute. By 16:12 CDT, SMA’s subscribers received ‘S-DeltaTM’ alerts on SCTY. The PredictiveSignalTM from SMA became positive at 16:13 CDT and at 16:18, when the first news article came out, the sentiment had already reached an extremely positive level, with Tweet volume soaring high; as was the stock price. Traders who incorporated social media sentiment from SMA into their trading models were ahead of the curve, making profits as the rest of the market was just learning of the news.

SCTY

The S-Delta metric also flagged this move.  The below chart illustrates the delta values for SCTY.  Delta represents the change in S-Score over a 15 minute lookback.  Delta values of 2 or higher are huge outliers. An SMA alarm based on Delta or S-Score would have provided an alert to this breaking news.

SCTY_Delta

To find out how you can use SMA S-Factors in your investment process contact us at Info@SocialMarketAnalytics.com

 

 

As is the case with most corporate events now, MSFT buying LNKD broke on Twitter first. The very first mention of this is any news article was at 7:38 AM (CDT) but Social Market Analytics (SMA) detected this 7 minutes ahead at 7:31. SMA’s patented algorithm digests, filters and evaluates Tweets in real time. The filtering process, a proprietary Tweet account filtering technology built by SMA, separates signal from noise by continuously scanning for accounts that are deemed credible to be included in the calculation process. The tweets from spam accounts are filtered right away.

The following are the 5 tweets that SMA received from these credible accounts in a matter of 13 seconds. All of them pointing towards the same positive news.

Tweets

The 7:32 AM sentiment, as a result, had already started moving positive. By the next minute, at 7:33 AM the sentiment was already positive and soaring up. By the time other news sources caught up to this news, at 7:38 AM, the sentiment was already very positive. The S-DeltaTM alerts which measures the 15 minute changes in the sentiment had started firing up at 7:33 AM as people took notice of this and the Tweet volume kept soaring.

SentimentVisuals

Contact SMA for more information about using Twitter based metrics in your investment process: info@SocialMarketAnalytics.com

 

 

 

Social Market Analytics (SMA) aggregates the intentions of  investors as expressed on the StockTwits platform.   SMA creates proprietary S-Factor metrics that quantitatively describe the current conversation relative to historical benchmarks.  This data provides strong predictors of future price movement.  This blog will focus on the deterministic nature of the StockTwits data set when aggregated into SMA S-Factors.    StockTwits is a community for active traders to share ideas enabling you to tap into the pulse of the market:  http://stocktwits.com/

The charts and tables below illustrate the subsequent open to close return of stocks that are being spoken about abnormally positively or abnormally negatively on StockTwits twenty minutes prior to market open.  Sharpe and Sortino ratios for the theoretical portfolios are included as well.  The SMA S-Score looks at the current conversation relative to historical benchmarks and creates effectively a Z-Score.

The Green line below is an index of subsequent open to close return of stocks with abnormally positive conversations on StockTwits prior to the market open.  The Red line is an index of the subsequent open to close return of stocks with an abnormally negative conversation prior to market open.  The black line represents the market open to close return and the blue line represents a theoretical long/short portfolio.

These charts clearly illustrate the predictive information present in the StockTwits message stream. If there was no predictive power in the StockTwits data set the Green, Red, and Black lines would be nearly identical -statistically not the case.  These signals are available at 9:10 am Eastern time well before the market open.

The chart below looks at the full SMA history of StockTwits based S-Factors.  The theoretical long portfolio has a Sharpe Ratio of 1.53, theoretical short portfolio -.82 Sharpe and LS portfolio has a Sharpe of 3.68.   Sortino Ratios are above one as well.  There is strong predictive power in this data.

FullHistoryStockTwits

The last year has been particularly challenging for the Hedge Fund community.  Below is a chart with the performance of the theoretical portfolios broken out from 1/1/2015 to current.  As you can see these portfolios performed well in this volatile market period.

LastYearStockTwits

For more information on these data sets please contact Pierce Crosby:  (pierce@stocktwits.com)  or Joe Gits: (joeg@socialmarketanalytics.com)

Regards,

Joe

Smart Beta Sentiment Enhanced ETF Performance Analysis

At SMA we continuously research our data.  Below we discuss modifying weights of the SPDR SPY ETF based on sentiment values and examine the impact on return.  Please contact SMA (info@SocialMarketAnalytics.com) to learn more.

The SPDR SPY ETF is a cap-weighted ETF which closely replicates the performance of the S&P 500. Our objective is to develop a “smart beta” strategy using the social media sentiment levels of individuals ETF constituents and amplify or accentuate the weights of the constituents in the ETF while keeping the Assets under Management constant. The transaction cost assumption is ignored for both the original and the enhanced ETF.

One of the strategies explored was looking at the sentiment levels an hour before the close (2:55 PM Eastern Time) and re-balancing the weights according to that. The stocks were bought or sold (to reduce position as per new weight only, NO short selling) at the close of the day and the positions were maintained until the next day when the re-balancing was performed again. To explore the weight modification methodology please contact SMA.

Our re-balance strategy keeps the AUM constant with no need for additional funds. Another strategy explored was to use a “lagged” sentiment. The lag being a day. So, for adjusting the weights today, we looked at the sentiment at 2:55 PM yesterday, and changed the positions based on that.

The results for the cumulative returns calculated over the period extending 7/31/2013-8/31/2015 are summarized below.  Chart 1 shows the cumulative returns over the period for the “Original” which calculates fund returns using positions and closing price data. The “500% PM” makes the calculations using enhanced weights based on the pre-close sentiment. The “500% PM Lagged” has enhanced performance using pre-close sentiment from previous (trading) day.

Chart 2 shows the cumulative out performance, for the 2 “smart beta” strategies.  As you can see both strategies track the SPDR SPY ETF while outperforming performance.  You see the benefit of adding sentiment to your calculation process without increasing risk.

Chart1

Chart2

This is preliminary research we will be enhancing and updating over the coming weeks.

Regards,

SMA

SMA has just completed a comprehensive analysis that shows the performance of classifier models, designed to predict next day directional movement for volatility indexes, improves by adding market sentiment measures derived from social media sources.  Please download the paper at:  https://socialmarketanalytics.com/research/white-papers

We present predictive models built from market data and S-Factors, a family of metrics designed to capture the signature of market sentiment as expressed in micro-blogging messages posted on Twitter. The objective of this report is to investigate the relationship between sentiment metrics generated by SMA and the volatility index of S&P 500 (VIX) and volatility indexes for individual equities (VXAPL, VXAZN, VXGS, VXGOG, and VXIBM), computed from equity option prices for AAPL, AMZN, GS, GOOG and IBM, respectively.

We used time series modelling and Logistic Regression as classifiers for predicting the direction of volatility. We tested the performance of the model with and without Sentiment Factor data. In our results, we found that the accuracy for predicting the direction of VIX using an ARIMAX-GARCH model with S-Factors was 70.86%. This was higher than the accuracy observed using a model that did not include the S-Factors (67.43%) . The same goes for most of the volatility indexes for individual equities that we picked.

Similarly, we compare the accuracy in predicting the probability of VIX going up the next day using a Logistics Regression model. The model that included S-Factors turned out to be more accurate than the model without S-Factor in all the volatility indexes for individual equities. The difference observed in accuracy was as high as almost 7.5% in the case of VXGS. The accuracy with S-factors was 62%, while without these factors it was just 54.67%.

Our analysis shows that the accuracy of a model increases by approximately 80% after adding SMA’s sentiment metrics to the model. Most of the investors are apprehensive of losses so they prefer a model that predicts the losses accurately. It is evident from our analysis that addition of S-Factors decreases the False Positive rate, thus predicting the downward movements of Volatility Indexes accurately.

Our results demonstrate enhanced predictive performance for models that include sentiment factors (S-Factors), using micro blogs like Twitter and StockTwits, as explanatory variables.

As usual, please contact us with any questions: ContactUs@SocialMarketAnalytics.com

Thanks,

Joe