Trading Indicator API Beta
API Example
For a full fledged demo application that runs on our API, please visit: TechSentiment.com| Company | Ticker | Price | Predicted return | Financial Sentiment | Consumer Sentiment | Message Volume | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| AAPL | N/A | -16.004% ( 29.82 ) | 11.912% ( 15591 ) | 559108 | |||||||
|
|
|||||||||||
| GOOG | 900.36 | N/A | 36.833% ( 48.61 ) | -11.356% ( -227 ) | 237263 | ||||||
|
|
|||||||||||
Last update: June 18, 2013, 8:15 p.m. (EST)
The data explained
The Trading Indicator API gives you real-time insights into human emotion in financial markets. Sentiment scores are given via a JSON-structured data feed that contains several elements that can be used in asset pricing, which are explained below. Also take a look at our demo application we've build with our API.
| Sentiment Feature | JSON object | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| fin_sntmnt_score | |||||||||||
|
The financial sentiment score is the aggregated score of all messages surrounding a specific stock that contain financial sentiment during the last 24 hours.
A high score indicates that financial sentiment is bullish, while a low (negative) score indicates that financial sentiment is bearish. |
|||||||||||
| fin_sntmnt_avg_score | |||||||||||
|
The average daily financial sentiment score caculated over the past six months. This score can be used as a benchmark for "normal" financial sentiment levels surrounding a specific stock or asset.
|
|||||||||||
| fin_sntmnt_momentum | |||||||||||
|
The difference between the financial sentiment score over the past 24 hours when compared to normal levels (long term average). A high percentage indicates bullish sentiment divergence, while a low percentage indicates bearish sentiment divergence.
|
|||||||||||
| comm_sntmnt_score | |||||||||||
|
The consumer sentiment score is the aggregated score of all messages surrounding a specific company that contain consumer sentiment during the last 24 hours.
A high score indicates that consumer sentiment is bullish, while a low (negative) score indicates that consumer sentiment is bearish. |
|||||||||||
| comm_sntmnt_avg_score | |||||||||||
|
The average daily consumer sentiment score caculated over the past six months. This score can be used as a benchmark for "normal" consumer sentiment levels surrounding a specific company.
|
|||||||||||
| comm_sntmnt_momentum | |||||||||||
|
The difference between consumer sentiment over the past 24 hours when compared to normal levels (long term average). A high percentage indicates positive consumer sentiment divergence, while a negative percentage indicates a negative divergence in consumer sentiment.
|
|||||||||||
| fin_volume | |||||||||||
|
The total number of messages that contained financial sentiment during the last 24 hours.
|
|||||||||||
| fin_avg_volume | |||||||||||
|
The average daily number of messages that contained financial sentiment during the last six months.
|
|||||||||||
| fin_volume_momentum | |||||||||||
|
The difference between the financial message volume over the last 24 hours compared to the long-term average. A high percentage indicates that there's a lot of financial buzz surrounding a company or stock, while a low percentage indicates that there's relatively little buzz.
|
|||||||||||
| comm_volume | |||||||||||
|
The total number of messages that contained consumer sentiment during the last 24 hours. Consumer message volume is usually a lot higher than financial message volume, as there are more consumers talking about companies than investors talking about stocks.
|
|||||||||||
| comm_avg_volume | |||||||||||
|
The average daily number of messages that contained consumer sentiment during the last six months.
|
|||||||||||
| comm_volume_momentum | |||||||||||
|
The difference between the consumer message volume over the last 24 hours compared to the long-term average. A high percentage indicates that there's a lot of consumer buzz surrounding a company or stock, while a low percentage indicates that there's relatively little buzz.
|
|||||||||||
| total_volume | |||||||||||
|
The total number of messages surrounding a stock during the last 24 hours.
|
|||||||||||
| total_avg_volume | |||||||||||
|
The average number of daily messages surrounding a stock during the last six months.
|
|||||||||||
| predicted_return | |||||||||||
|
The predicted return for the upcoming hour, based on the above sentiment features and actual stock price moevement during the last five hours. The returns are given as a percentage, and are only availabie during NASDAQ opening hours. For more information how the predictions are constructed, please see our Methodology section.
|
|||||||||||
| prediction_confidence | |||||||||||
|
Each prediction is accompanied by a confidence interval. The confidence interval indicates how ceirtain our algorithms are that the predicted return is correct. If the confidence level is 55 percent, 55 out of a hundred times the prediction should be correct.
|
|||||||||||
- {
- "data": [{
- "stock_id": 163,
- "ticker": "AAPL",
- "name": "Apple Inc.",
- "fin_sntmnt_score": 0.58378776,
- "fin_sntmnt_avg_score": 68.7788001631164,
- "fin_sntmnt_momentum": -0.38382559433322,
- "comm_sntmnt_score": 11239.1272482,
- "comm_sntmnt_avg_score": 21010.6054282,
- "comm_sntmnt_momentum": -0.458908044062,
- "fin_volume": 20.0,
- "fin_avg_volume": 789.545454545455,
- "fin_volume_momentum": -0.37167961606003,
- "comm_volume": 11371.0,
- "comm_avg_volume": 247246.947368421,
- "comm_volume_momentum": -0.8438096879189,
- "total_volume": 11391.0,
- "total_avg_volume": 248036.49282296645,
- "predicted_return": 2.950315372003879E-5,
- "prediction_confidence": 0.52759705647226
- }]
- }
Historic cases for the Dutch AEX Index
Case I - SNS Reaal (SR.AS)
Dutch Bank unable to repay the Government -NOS SNS Reaal kan steun niet terugbetalen nos.nl/artikel/460423… via @nos 750M & 400M Claim pending
— Ginet Sosemito (@GinetSosemito) January 10, 2013
'Brussels blocked rescue plan for troubled SNS Reaal' sns.mx/4TmIy1
— Brussels Daily (@BrusselsDaily) January 16, 2013
SNS Reaal says property finance clients are under investigation goo.gl/fb/rw12D
— Tim (@IDXFox) January 22, 2013
The Dutch have quietly earned the right to be considered among the worst banking offenders in the world. ABN AMRO, ING, now SNS Reaal
— Andrew Palmer (@palmerandrew) February 1, 2013
Case II - Royal KPN (KPN.AS)
New Fail: #kpn #fail geen wifi/internet in Soest .. tips? bit.ly/WDH7zd
— WiFi #FAIL (@WiFiFAIL) January 22, 2013
Carlos Slim: time to double down on KPN? on.ft.com/TGJsMk
— beyondbrics (@beyondbrics) February 5, 2013
Use case III - Royal Dutch Shell (RDSA.AS)
Court finds Royal Dutch #Shell subsidiary partly responsible for a case of oil pollution in the Niger Delta tinyurl.com/blyv8x3
— Castan Centre (@CastanCentre) January 30, 2013
Our methodology explained
Multiple studies over the past years have shown that Twitter sentiment can be used as an indicator for future stock price movement. SNTMNT has developed such an indicator: the first API in the world that gives hourly and/or daily buy & sell signals for all S&P 500 stocks based on online buzz on Twitter. These predictions take away extra noise in asset pricing, and give investors an additional trading indicator on top of fundamental analysis and/or technical analysis.
Example messages that show how our algorithms classify messages positive (bullish), neutral or negative (bearish):
Big short squeeze today. Watch $AAPL and $JPM. Both got hammered.Also look for $MS to support $FB at $39...
— Jim Cramer (@jimcramer) May 21, 2012
The 3d printing trend is still early days, the leaders will really emerge after this flush...may take time now $DDD $SSYS @maker
— howardlindzon (@howardlindzon) February 25, 2013
another failure at $1600 for #Gold. 1H chart showingbearish divergence
— Brenda Kelly (@BrendaKelly_IG) February 26, 2013
The methodology that we apply is best explained in three steps:
Step 1 - Sentiment Analysis
First we use NLP algorithms to classify whether the Twitter feed surrounding each individual S&P500 fund is positive or negative. We do this by looking both at financial sentiment and brand sentiment surrounding a specific company.
Step 2 - Reach and Authority
For each tweet, we look at its authors reach on Twitter, by using indicators like Klout and PeerIndex. This ensures that we’re not just looking at news creators, but more so at news recipients. To determine authority we also take into account the author’s field of expertise (topics).
Step 3 - Machine Learning
We use machine learning methods, including robust non-linear models, to look at correlations between Twitter sentiment, author authority and the S&P 500. The predictions that result from these correlations can have an accuracy as high as 60 percent, with an average of 54 percent. Each prediction is accompanied by a confidence interval that reflects the reliability of the prediction.
Why are we different
We are inspired by the work of professor Johan Bollen, who found correlations between the Dow Jones Industrial Average and Twitter sentiment. There is a big difference though between his models and ours. Where Bollen focuses on a very macro level of Twitter sentiment (general mood), we believe that more value can be extracted by focussing on a more micro level. Our predictions are based on very specific fund related Twitter sentiment through stock tickers, in the way StockTwits does, and brand related sentiment (name, products, CEO).
Historical time series for backtesting
It is possible to receive historical sentiment data that can be used to backtest our sentiment analysis on your predictive models. Just drop us a line, and we'll discuss how we can help you best.
Our Social sentiment indicator is available for Forex, S&P500, NYSE Euronext and Commodity markets. Interested to test it's performance on your platform?