Enter Quandl auth token in Data Manager
Sample chart annotations
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() { const char tab = '\u0009'; string item = "z Zacks_Analyst_Ratings"; IList fList = FundamentalDataItems(item); ClearDebug(); PrintDebug(Bars.Symbol + tab + "Item Count: " + fList.Count); foreach (FundamentalItem fi in fList) { PrintDebug( fi.Date.ToShortDateString() + tab + fi.Value.ToString() + tab + fi.GetDetail("StrongBuys") + tab + fi.GetDetail("Buys") + tab + fi.GetDetail("Holds") + tab + fi.GetDetail("Sells") + tab + fi.GetDetail("StrongSells") + tab + fi.GetDetail("ConsensusTargetPrice_Mean") + tab ); } } } }
using System; using System.Collections.Generic; using System.Text; using System.Drawing; using WealthLab; using WealthLab.Indicators;namespace WealthLab.Strategies { public class MyStrategy : WealthScript { void PrintFundamentalItems(List items) { const char tab = '\u0009'; foreach(var item in items ) { IList fList = FundamentalDataItems(item); PrintDebug(Bars.Symbol + tab + "Item Count: " + fList.Count); PrintDebug(item + tab + "Date " + tab + "Value" + tab + "FormatValue"); foreach (FundamentalItem fi in fList) { PrintDebug(fi.Date.ToShortDateString() + tab + fi.Value.ToString("$#,0.00") + tab + fi.FormatValue().Replace("\n", " ") ); } } } protected override void Execute() { ClearDebug(); // Show the list of a fundamental data item List listOfZacksItems = new List(){ "z Zacks_Analyst_Ratings", "z Zacks_Dividend", "z Zacks_Earnings_Estimates", "z Zacks_Earnings_Surprises" }; PrintFundamentalItems( listOfZacksItems ); } } }