Wealth-Lab Wiki

API ChartStyles Community Components Community Indicators IndexDefinitions Knowledge Base Misc Optimizers Pending Deletion PosSizers Providers Standard Indicators TASC Traders Tips TASCIndicators Tutorial Videos Visualizers


Quick Search
Advanced Search »

Google News provider


What it is

This fundamental provider downloads news items from Google Finance RSS feed. The news items for up to 2 years back are available for any U.S. stock supported by the feed.

Part of MS123 Extra Fundamental/News Providers.

Sample news records

Sample news records

Since the feed doesn't mark its news as "bearish", "bullish", "neutral" or whatever, each and any fundamental item simply has a neutral value of 1.0.

Each news record is timestamped with actual publication date and comes with only one detail: news title. News are accessible in two forms:

  • In a popup when mousing over a Google news popup on a stock chart (open up Wealth-Lab's Preferences dialog, Chart Annotations, drag "Google news" to the right and click OK)
  • In WealthScript Strategies via the GetDetail method. Google news is the fundamental item name, title contains the news title:

using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using WealthLab;
using WealthLab.Indicators;

namespace WealthLab.Strategies { public class MyStrategy : WealthScript { protected override void Execute() { // List Google news for the symbol const char tab = '\u0009'; string item = "Google news"; IList<FundamentalItem> fList = FundamentalDataItems(item); ClearDebug(); PrintDebug(Bars.Symbol + tab + "Item Count: " + fList.Count); PrintDebug("Bar" + tab + "Date " + tab + "News"); foreach (FundamentalItem fi in fList) { PrintDebug(fi.Bar.ToString() + tab + fi.Date.ToShortDateString() + tab + fi.GetDetail("title")); } } } }

Important Disclaimer: The information provided by Wealth-Lab is strictly for informational purposes and is not to be construed as advice or solicitation to buy or sell any security.  The owner of Wealth-Lab.com assumes no liability resulting from the use of the material contained herein for investment purposes. By using this web site, you agree to the terms of this disclaimer and our Terms of Use.

Used under license from FMR Corp. Copyright 2008 FMR Corp. All rights reserved.

ScrewTurn Wiki. Some of the icons created by FamFamFam.