Log in to see Cloud of Tags

Wealth-Lab Wiki

SeekingAlpha news provider

RSS

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

  • Update mode: Fast returns 30 latest news (no more no less). Detailed may return up to hundreds of news items going years back - at the price of a very slow update speed. In detailed mode provider polls for news by making multiple sequential requests.
  • Delay between requests (detailed): To not be recognized as bot and attacked with captcha, the delay has to be no less than 2.5 sec per each request.
  • Depth of history lookback (detailed): Each request brings 15 news items. You can set it from 1 to 200 (but very rarely the feed delivers more than 100 pages). The less requests the less news and the faster the Detailed mode is. So, updating 20 pages takes at least 2.5 * 20 = 50 seconds plus the time required to make download requests.
  • Delay between symbol requests (fast): To minimize server load in Fast mode, there's minimal delay between requests for news data for a symbol.

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:

  • In a popup when mousing over a SeekingAlpha news popup on a stock chart (open up Wealth-Lab's Preferences dialog, Chart Annotations, drag "SeekingAlpha news" to the right and click OK)
  • In WealthScript Strategies via the GetDetail method. SeekingAlpha 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 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")); } } } }

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.


ScrewTurn Wiki. Some of the icons created by FamFamFam.