Wall Street Journal news provider

Modified on 2018/03/31 06:47 by Eugene — Categorized as: Providers

What it is

This fundamental provider downloads news items from Wall Street Journal website for international and U.S. stocks alike. The number of items ranges from 1 to a couple dozens depending on the symbol (but not greater than the last 2 years).

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:

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 WSJ news for a symbol const char tab = '\u0009'; string item = "WSJ 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")); } } } }