Using Twitter Data as Sentiment Indicator, a Trading Strategy Based on President Trump’s Twits

Subscribe to newsletter

Trading using market sentiment indicators is an approach that analyzes the market sentiment data to make trading and investing decisions. Due to the increasing popularity of social networks, social media data in general and Twitter data in particular have been used growingly in the construction of sentiment indicators.

Sentiment analysis can use natural language processing, artificial intelligence, text analysis and computational linguistics to identify the attitude of a writer with respect to a topic. It’s an important cornerstone of behavioral finance, where theorists believe that markets are irrational and that asset prices are driven by human emotion (e.g., fear, greed, hope and overconfidence, among others). With the growth in global conversation on social media – Twitter in particular – where a vast amount of real-time market conversation occurs on a daily basis, academics and practitioners have been studying and measuring the global conversation to understand if it can meaningfully impact markets. Most concur that Twitter sentiment is correlated to asset price moves, but the debate has been about the predictive nature of Tweets on price. Well, the results are in and the early movers in this space are seeing success. Read more

A recent paper [1] analyzes president Trump’s Twitter data and how it impacts the financial markets.  Their findings are as follow,

Subscribe to newsletter https://harbourfrontquant.beehiiv.com/subscribe Newsletter Covering Trading Strategies, Risk Management, Financial Derivatives, Career Perspectives, and More
  • We start our analysis by evaluation of the impact of Mr. Trump’s tweets in general, irrespective of the actual content of the tweet. We find that the US stock market tends to decline the first 30 minutes following his publishing of a tweet and that trading volume and volatility are significantly higher after Trump has tweeted.
  • Next, we classify tweets depending on whether they contain a specific word. We find that tweets containing the words “products” and “tariff” have a negative impact on the stock market, i.e. these tweets are followed by decline in the market, increased trading volume and increased uncertainty (level of VIX futures).
  • Finally, we use Latent Dirichlet Allocation as a topic extraction technique, which assigns each tweet a degree of affiliation to a set of topics without any human input or interpretation. We analyze the short-term impact of each topic on financial markets. We find that tweets affiliated with the topics “Trade war” and “Border Security” are followed by negative returns on the S&P 500 index, increased volatility and increased trading volume. Furthermore, we find a significant decrease in the Hang Seng index, and a significant increase in the gold price after these tweets were published. This is consistent with previous results, as tweets which imply possible restrictions in international trade are often negative news for affected countries, whereas gold is safe haven and often appreciates in uncertain periods.

Based on their findings, the authors developed a simple trading strategy, and it was shown to outperform the Buy and Hold.

References

[1] P. Gjerstad, P.F. Meyn, P. Molnár, and T.D. Næss, Do President Trump’s tweets affect financial markets?, Decision Support Systems, April 2021, 113577

Subscribe to newsletter https://harbourfrontquant.beehiiv.com/subscribe Newsletter Covering Trading Strategies, Risk Management, Financial Derivatives, Career Perspectives, and More

Further questions

What's your question? Ask it in the discussion forum

Have an answer to the questions below? Post it here or in the forum

LATEST NEWSBCA on why Trump's immigration policies may not mean a tighter jobs market
BCA on why Trump's immigration policies may not mean a tighter jobs market
Stay up-to-date with the latest news - click here
LATEST NEWSGameStop reports third-quarter profit on spending cuts
GameStop reports third-quarter profit on spending cuts
Stay up-to-date with the latest news - click here
LATEST NEWSAustralia Shares Set for Opening Decline
Australia Shares Set for Opening Decline

Australia’s S&P/ASX 200 looks likely to slip at the open following a soft lead by U.S. equities.

Stay up-to-date with the latest news - click here
LATEST NEWSAsian Stocks Set for Sluggish Start as CPI Looms: Markets Wrap
Asian Stocks Set for Sluggish Start as CPI Looms: Markets Wrap

Asian shares were poised for a tepid opening as traders await key US inflation data for clues on whether the Federal Reserve will cut or hold rates next week.

Stay up-to-date with the latest news - click here
LATEST NEWSMyers Industries interim CEO Basque Dave buys $179k in stock
Myers Industries interim CEO Basque Dave buys $179k in stock
Stay up-to-date with the latest news - click here

Leave a Reply