The popular game show Who Wants to Be a Millionaire used to fascinate me as a child. The show itself was entertaining, novel for the time, and dramatic (“Is that your final answer?” anyone?). However, one part of the Millionaire always stuck out to me: why was the audience always right? According to James Surowiecki, the best-selling author of “The Wisdom of Crowds”, the audience on Millionaire was correct 91% of the time. The basis of Surowiecki’s argument is that the decision of a group is always better than the decision of one of its members. Surowiecki postulates that the group needs to meet several requirements - such as being from diverse backgrounds, resistant to groupthink, and have access to the same basic information - in order of them to make the best decisions possible. That’s what made the audience from Millionaire so great – it was a group of diverse people who couldn’t communicate with each other giving their qualified opinions on which answer was correct. So how does this relate to social media, the foreign exchange market, and a potential correlation worth millions?

Armed with this knowledge, I was given access to a social media-monitoring and engagement platform called Radian6. It allows the user to search, collect, and visualize data from the social web on a grand scale. Radian6 allows companies to track the effectiveness of their social campaigns (“are people actually talking about my brand?”) , along with engage directly with their customers in one convenient platform. I was given access to this amazing platform thanks to a partnership between Clemson University, Dell, and Radian6 – which gave students like myself unlimited access to research anything we wanted. I immediately thought back to an article in Wired in which researchers from Indiana University found a correlation between the general mood on Twitter and the stock market. The general “mood” on Twitter was able to accurately predict the daily movements of the stock market 86.7% of the time, which is an incredible correlation (source). Similarly, researchers from HP Labs identified a correlation between posts on Twitter about movies and their respective box office sales. I figured that this deserved to be looked at a second time, so several of us (myself, Scott Cole, Paul Smith, James Kaplanges, and Brett Smentek) formed a group to analyze this further.

I learned very quickly that constructing a social query surrounding stocks would not be an easy feat. How would we differentiate the company “Apple” from the fruit? How would we interpret news about AAPL as positive, negative, or neither? Why were people misspelling “back” as “bac” and throwing off our search results for Bank of America’s stock ticket, BAC? This was going to be a nightmare. However, we also discovered that people on Twitter used the notation $BAC or $AAPL to talk about stock tickers. After analyzing how many people used that notation, we decided that weren’t able to effectively watch one stock. We would encounter spikes of traffic surrounding one company – for instance if an earnings report came out, or a large piece of news was released. So, we plugged in all 3000+ securities listed on the NYSE one-by-one into Radian6 and watched intently on which stocks were being talked about the most. We were able to spot a correlation between social traffic on a particular ticker and big market movements, which was exciting. However, the amount of queries that Radian6 had to run for our stock analysis slowed their servers down to the point where it affected other customers. We had our topic profile disabled, but thankfully we were able to keep our access to the platform. Whoops!

With our stock project essentially shut down I turned my focus to the foreign exchange market. Since there are only a few currency pairs to examine, it ensured that we could drive in enough social traffic to examine with only a few search keywords. After searching through social media posts about foreign exchange, we discovered several keywords that would yield tons of relevant opinions on whether to buy or short a currency pair at a specific time. We had essentially found the Ask the Audience lifeline for the foreign exchange market. We look for instances where Buy or Sell volume outweigh each other by a certain amount. In this example we would have executed trades in the 8AM and 12PM ranges.

radian6

After analyzing some preliminary data from our Radian6 topic profile, we had enough data to construct a rudimentary automated trading algorithm. The initial results of this algorithm were overwhelmingly positive, so we pressed on. Over the course of seven weeks we have come up with a very sophisticated trading algorithm that can respond to a number of market conditions, which has shown to have a very effective in practice trading. Out of 58 trades made by our Radian6 powered social algorithm, only 13 moved in the opposite direction. That is a 77% prediction rate, which may be higher because of inefficiencies within the autotrading algorithm. On average we secured 32 pips per trade, which beat our goal of 20 pips per day by a good percentage.

We started with $5,000 in a demo brokerage account leveraged 50:1 and let it trade over the course of seven weeks. As of today, we have $44,000 in the account (784% increase) and are on course to have over one million dollars in the account before the end of June.

earnings

The X axis represents individual trades, while the Y axis represents dollars in the demo account. We make anywhere between 1-2 trades per day, and this represents 35 days worth of trades. Note that there was a period of neutral/negative growth for about a week. That week was extremely volatile price wise (no discernible upward/downwards trends), and pointed out a flaw in our method. Group decision making may be accurate and effective, but it is far less fast and efficient in comparison to individual decision making. By the time enough posts come through to trigger a trade, the market has already made its short-lived movement and is moving towards a correction. Regardless of this setback, our social media autotrading bot destroyed our expectations and continues to make great trades.