Data &
Technology
Research
Reports
Report Solutions
Reports Library
Actionable
Strategies
Free
Resources
Simple Backtest Calculator
Simple Seasonality Calculator
The Kelly Criterion Calculator
Sentiment Geo Map
Public Research Reports
Free Webinar
Pricing
Company
About
Meet Our Team
In the News
Testimonials
Client Success Stories
Contact
Log inLoginSign up
< BACK TO ALL REPORTS

Using Social Sentiment Percent indicators as a trading signal for SPY

Eric D. Brown
2017-01-30
null

For a the last month, we've provided two new social sentiment indicators for our premium users (see the announcement of these indicators here).

As we've previously written, these social sentiment indicators are derived int he following manner:

Social Sentiment is sentiment derived from performing automated natural language processing on messages collected from Twitter. Messages that mention a symbol (SPY for example) are collected and analyzed and given a rating of 'bullish', 'bearish' or 'neutral' (some messages are also categorized as 'spam'). From these messages, the percentage of bullish messages and bearish messages are then calculated (based on the total number of messages).

Over the weekend, I ran a few backtests to see how well (or poorly) these signals worked as a trading signal. I ran these tests using the SPY ETF Social Percent Bearish and Social Percent Bullish indicators.

Trading Strategy - Using Social Percent as a trading signal

For the SPY ETF, I used the Social Percent Bullish and Social Percent Bearish indicators and took any extremes provided by these indicators as contrarian indicators.

To keep it simple, each trading strategy uses an 'all-in/all-out' approach and each considered as separate strategies with no insight from the other (for now).

A summary of the results of the strategies:

SPY Social Percent BearishSPY Social Percent Bullish
Annual Return12.57%5.31%
Max Drawdown7.78%13.10%
Number of Trades1513
% Profitable88%54%

Social Percent Bearish

This strategy uses the following rules:

  • A buy signal is given when the SPY Social Percent Bearish indicator closes above 0.3. A buy order is placed at the open the day after a signal is generated.
  • A sell signal is given when the SPY Social Percent Bearish indicator closes below 0.2. A sell order is placed at the open the day after a signal is generated.
  • Commission is a percentage based on the size of the traded shares
  • Rather than use a set number of shares, this strategy uses all of the available cash to purchase shares.
  • Starting account size is $100K with no margin
  • Trading dates are: Dec 1 2011 to Jan 27 2017 (all available dates for our social sentiment indicator).

This contrarian trading strategy delivers an average annual return of 12.57% per year with 15 trades over the course of just over 5 years.  This strategy delivers 88% profitable trades and the average length of a trade is 61 days with the median duration of trade being 43 days. Maximum drawdown was 7.78%.

Trading and performance statistics are provided below.  Performance statistics provide backtest-data (in-sample) and out-of-sample data statistics.

[caption id="attachment_1134" align="aligncenter" width="372"]Summary Stats - SPY Social Percent Bearish Table 1: SPY Social Percent Bearish Summary Statistics[/caption]

[caption id="attachment_1135" align="aligncenter" width="393"]Summary Stats - SPY Social Percent Bearish Return Stats Table 2: SPY Social Percent Bearish Return Statistics[/caption]

[caption id="attachment_1136" align="aligncenter" width="429"]SPY Social Percent Bearish Performance Statistics Table 3: SPY Social Percent Bearish Performance Statistics[/caption]

[caption id="attachment_1137" align="aligncenter" width="667"]Table 4: SPY Social Percent Bearish Drawdown Table 4: SPY Social Percent Bearish Drawdown[/caption]

[caption id="attachment_1144" align="aligncenter" width="650"]SPY Social Percent Bearish Performance Charts Figure 1: SPY Social Percent Bearish Performance Chart[/caption]

Social Percent Bullish

This strategy uses the following rules:

  • A buy signal is given when the SPY Social Percent Bullish indicator closes above 0.3. A buy order is placed at the open the day after a signal is generated.
  • A sell signal is given when the SPY Social Percent Bullish indicator closes below 0.2. A sell order is placed at the open the day after a signal is generated.
  • Commission is a percentage based on the size of the traded shares
  • Rather than use a set number of shares, this strategy uses all of the available cash to purchase shares.
  • Starting account size is $100K with no margin
  • Trading dates are: Dec 1 2011 to Jan 27 2017 (all available dates for our social sentiment indicator).

This contrarian trading strategy delivers an average annual return of 5.31% per year with 13 trades over the course 5 years and 1 month.  This strategy delivers 54% profitable trades and the average length of a trade is 86 days with the median duration of trade being 39 days. Maximum drawdown was 13.10%.

Trading and performance statistics are provided below.  Performance statistics provide backtest-data (in-sample) and out-of-sample data statistics.

[caption id="attachment_1139" align="aligncenter" width="367"]SPY Social Percent Bullish Summary Statistics Table 5: SPY Social Percent Bullish Summary Statistics[/caption]

[caption id="attachment_1140" align="aligncenter" width="392"]SPY Social Percent Bullish Return Statistics Table 6: SPY Social Percent Bullish Return Statistics[/caption]

[caption id="attachment_1141" align="aligncenter" width="427"]SPY Social Percent Bullish Performance Statistics Table 7: SPY Social Percent Bullish Performance Statistics[/caption]

[caption id="attachment_1142" align="aligncenter" width="656"]SPY Social Percent Bullish Drawdown Statistics Table 8: SPY Social Percent Bullish Drawdown Statistics[/caption]

[caption id="attachment_1145" align="aligncenter" width="650"]SPY Social Percent Bullish Performance Charts Figure 2: SPY Social Percent Bullish Performance Charts[/caption]

Sorry, you don't have access to this report

Upgrade your subscription plan to get access
Go to Dasboard
DATA &
TECHnologies
IndicatorEdge
‍
BackTestEdge
‍
Other Tools
‍
DataEdge API
RESEARCH
reports
Research Solution
‍
Reports Library
‍
actionable
Strategies
Trading Strategies
‍
Smart Stock Scanner
‍
FREE
RESOUrCES
Simple Backtest
Calculator
Simple Seasonality
Calculator
The Kelly Criterion
Calculator
Sentiment Geo Map
‍
Public Research Reports
‍
Free Webinar
COMPANY
‍
About
‍
Meet our Team
‍
In the News
‍
Testimonials
‍
Client Success Stories
Pricing
Bundle pricing
‍
Announcements
‍
FAQ
© 2024 Sundial Capital Research Inc. All rights reserved.
Setsail Marketing
TermsPrivacyAffiliate Program
Risk Disclosure: Futures and forex trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing ones’ financial security or life style. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results.

Hypothetical Performance Disclosure: Hypothetical performance results have many inherent limitations, some of which are described below. No representation is being made that any account will or is likely to achieve profits or losses similar to those shown; in fact, there are frequently sharp differences between hypothetical performance results and the actual results subsequently achieved by any particular trading program. One of the limitations of hypothetical performance results is that they are generally prepared with the benefit of hindsight. In addition, hypothetical trading does not involve financial risk, and no hypothetical trading record can completely account for the impact of financial risk of actual trading. for example, the ability to withstand losses or to adhere to a particular trading program in spite of trading losses are material points which can also adversely affect actual trading results. There are numerous other factors related to the markets in general or to the implementation of any specific trading program which cannot be fully accounted for in the preparation of hypothetical performance results and all which can adversely affect trading results.

Testimonial Disclosure: Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.