SeekingAlpha news provider

Modified on 2020/01/31 12:03 by Eugene — Categorized as: Providers

What it is

This fundamental provider downloads news items from SeekingAlpha website for international and U.S. stocks alike. The number of items ranges from 30 to a several hundreds depending on the symbol and retrieval mode (Fast or Detailed).

Part of MS123 Extra Fundamental/News Providers. Install the extension and restart WLP/D to activate.

Sample news records

Sample news records


Setting up

You can configure the provider's behavior on MS123 Fundamentals tab in the Data Manager:

Provider tab in Data Manager

MS123 Fundamentals tab in Data Manager


Usage

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 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 = "SeekingAlpha 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")); } } } }