Click here to Login

LiveZilla Live Help
LiveZilla Live Help
Trading Software Trading objects Features How-to Blog Search



News Sentiment Indicator

by QuantShare, 783 days ago
Share |

This is a function that could be used with a database that contains text data (for example a news database). The function accepts as arguments, the database name, the field name, a positive list of words and a negative list of words.
These lists of words are simply words separated by comma. (word1, word2, word3...). The idea is to calculate an indicator that tries to measure the news sentiment. If a positive word is found in a news title, then the indicator will add a value of one in this news bar and if a negative word is found, then a value of one will be subtracted.

Here is an example:
news_sentiment('yahoo_news', 'title', 'buy,good,better,bull', 'sell,bad,lower,bear');
For each bar, each time the indicator finds one of the following words: buy, good, better, bull, it adds one to the current bar result, and each time it finds one of the following words: sell, bad, lower, bear, it subtracts one to the current bar result. It finally returns the indicator time-series.

For the news database, you can use one of the following downloaders:
US stocks:
Yahoo News
Smartmoney news for US equities
News data for US companies from Google RSS feed
Insiders' Blog stories
Analyst comments

London Stock Exchange:
London Stock Exchange News


Share This ->
Share |


You have to log in to bookmark this object
What is this?
Additional Information



>>>> More trading objects? click here to search for trading sytems, downloaders, screens, custom drawing tools, indicators... by country, market or style.

>>>> To get this item and hundreds of other items, click here to join and download the Best Trading Software for Free .



No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Write a review no reviews Number of downloads 12 downloads Notes Report an item


Type: Trading Indicator

Object ID: 304


Country:
All

Market: All

Style:
Fundamental Analysis




Related Trading Objects



Country
Page 1
Trading the Equity Curve
by QuantShare, uploaded several months ago


No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 4 Notes Report an item
Opening Range Breakout Indicator
by QuantShare, uploaded several months ago
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 3 Notes Report an item
Wilder's Smoothing - Moving Average
by QuantShare, uploaded several months ago
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 9 Notes Report an item
Number of reviews
Click to add a review
Average rate
Click to rate this item
Number of times this object was downloaded
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object









Join now
and get instant access for free to the trading software, the Sharing server and the Social network website.
Click here


Related objects
Show All
Put/Call Ratio for Individual Stocks (by QuantShare, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 17 Notes Report an item
Futures and Forex historical data (by Tom Huggens, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 763 Notes Report an item
Fibonacci retracement: Golden ratio (by bug man, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 54 Notes Report an item
Analyst Rating (Yahoo Historical Buy/Sell Recommendations) (by Stefan Kroscen, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 11 Notes Report an item
Forex symbols (by Tom Huggens, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 556 Notes Report an item
Volume near Price Level - Detect Strong Support & Resistance Areas (by Big Yahoo, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 11 Notes Report an item
Last Gap Up/Gap Down Price Size (by Tom Huggens, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 6 Notes Report an item
Number of reviews
Click to add a review
Average rate
Click to rate this item
Number of times this object was downloaded
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object

Technical Analysis


Fundamental Analysis


Forum Threads



Random Blog Posts

How scripts communicate with each other

How to simulate options strategies

Organizing Trading Objects

Creating a download item: Initial Jobless Claims

How to search for a download item

Trading orders - Part 2

Trading Orders - Part 1

The average maximum drawdown metric

Show All

Number of reviews
Click to add a review
Average rate
Click to rate this item
Number of times this object was downloaded
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object






QuantShare
Product
QuantShare
Features
Create an account
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2012 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items