Join Now or Login or connect with

Trading Software Trading objects Features Blog Search

News parser function

by The trader, 305 days ago
Share |

This function parses a symbol custom database and returns a value of one on bars where the database field data contain a specific word.
This function accepts three parameters. The first one is the database name (Example: ' yahoo_news ' if you are using the yahoo news downloader - Yahoo News), the second one is the field name (Using the same downloader, it should be 'title') and finally the last parameter is a list of the words we are searching for. You can add one or many words by separating them with a comma.

Here is an example: (This function's name is 'ContainsWords')
indicator1 = ContainsWords('yahoo_news', 'title', 'Buy,Jump,Big,Rise');

In addition, here is a snapshot of the 'yahoo_news' database for the stock symbol 'aa':
25/09/2009 15:14 -       Alcoa Stock: Time to Buy Yet?
25/09/2009 16:11 -       Alcoa Announces Third Quarter 2009 Dividend
25/09/2009 12:45 -       Wall to Wall Street Coverage: Upgrades and Downgrades
25/09/2009 00:01 -       [$$] Alcoa Leads Decline; Red Hat Is White Hot
24/09/2009 21:33 -       Will RIM Drag Down Stocks, Friday?

On 25 September 2009, the function returns 1, because at 15:14, a news item contains the word 'Buy'.
On 24 September 2009, the function returns 0.


Share This ->
Share |


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





Related Trading Objects



Country
Page 1
Wilder Volatility Index - Average True ..
by Brian Brown, uploaded one month 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
Wilder Volatility Index - Average True ..
by Brian Brown, uploaded one month ago
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 1 Notes Report an item
Geometric Moving Average Indicator
by Brian Brown, uploaded one month ago
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 0 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






Market
Page 1
Fibonacci Trading Indicator - Support a..
by QuantShare, uploaded today
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 0 Notes Report an item
Fibonacci Trading with the Retracement ..
by QuantShare, uploaded yesterday
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 0 Notes Report an item
Williams AD - Accumulation Distribution..
by QuantShare, uploaded one week ago
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 1 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






Style
Page 1
Fibonacci Trading Indicator - Support a..
by QuantShare, uploaded today
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 0 Notes Report an item
Fibonacci Trading with the Retracement ..
by QuantShare, uploaded yesterday
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 0 Notes Report an item
Williams AD - Accumulation Distribution..
by QuantShare, uploaded one week ago
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 1 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






Reviews
You must log in first

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
News data for US companies from Google RSS feed (by The trader, 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
Drawdown: Long and Short (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 9 Notes Report an item
Buy Indicator (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 56 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 25 Notes Report an item
Chaikin Money Flow Indicator (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 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 125 Notes Report an item
Swing Index Indicator (by The trader, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 20 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


Random Objects

  9 0 0 - Black-Scholes Option Pricing Model formula
  2 0 0 - Derivatives: Number of days until the expiration date
  4 0 5 - Wilshire Indices - Wilshire 5000 Index
  7 0 0 - Brussels Stock Exchange
  3 0 0 - Daily Futures Quotes
 18 0 0 - Bursa Malaysia
 22 0 5 - Mahesh Moving Average
  7 0 5 - Gross Domestic Product - Historical data
  7 0 0 - Nigerian Stock Exchange - Historical Data
 66 2 4 - Indonesia stock exchange
More trading objects...


Recent Posts

Pivot Tables in QuantShare Trading Software
Posted 9 days ago

How to create market indicators using the composite function - Part 1
Posted 17 days ago

Optimize a trading strategy using the Sharpe ratio
Posted 24 days ago

How to create a trading indicator that uses stock news
Posted 31 days ago

How to create your own technical analysis indicators
Posted 38 days ago

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


contactus
About | Privacy | Terms of Use | Manual
Copyright © 2010 QUANTSHARE.COM