This is a trading item or a component that was created using QuantShare by one of our members.
This item can be downloaded and used by QuantShare Trading Software.
Trading items are of different types. There are data downloaders, trading indicators, trading systems, watchlists, composites/indices...
You can use this item and hundreds of others for free by downloading QuantShare.
Top Reasons Why You Should Use QuantShare:
Works with US and international markets (stock, forex, options, futures, ETF...)
Offers you the tools that will help you become a profitable trader
Allows you to implement any trading ideas
Exchange items and ideas with other QuantShare users
Our support team is very responsive and will answer any of your questions
We will implement any features you suggest
Very low price and much more features than the majority of other trading software
This object downloads real-time forex tweets from the StockTwits website.
Tweets are downloaded for several currency pairs, including: AUDCAD, AUDJPY, AUDUSD, EURAUD, EURCAD, EURCHF, EURGBP, EURJPY, EURUSD, GBPJPY, GBPUSD, USDCAD, USDCHF and USDJPY.
The data is saved in the "stocktwits" database and it includes the tweet's date and the message.
For example, the Euro / U.S. Dollar forex pair, whose symbol name is "EURUSD" have more 27 tweets on 9 April 2010; the last tweet was: "#forex I picked the best time to exit $EURUSD short yesterday - Greek aid hopes boost euro against dollar".
Forex tweets examples:
To display the number of tweets per day for a currency pair:
indicator_1 = GetDataCount("stocktwits", "title");
The number of tweets for a particular trading day is higher than two times the 10-bar moving average of the number of tweets:
indicator_1 = GetDataCount("stocktwits", "title");
indicator_2 = indicator_1 > 2 * sma(indicator_1, 10);
Gets for each trading day, the number of tweets that occurred between 5 a.m. and 10 a.m.
indicator_1 = GetDataCountInside("stocktwits", "title", 5, 10, P_Hour);
Counts the number of tweets that match a given regular expression:
indicator_1 = GetDataStringCount("stocktwits", "title", "regular expression");
Use the News parser function to get bars where at least one tweet contains one of the following words: short, sell, drop, falls.
indicator_1 = ContainsWords('stocktwits', 'title', 'short,sell,drop,falls');
You can use the News Sentiment Indicator to create a sentiment indicator using the stocktwits database:
indicator_1 = news_sentiment('stocktwits', 'title', 'buy,good,better,bull', 'sell,bad,lower,bear');