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<FundamentalItem> 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<string> items) { const char tab = '\u0009'; foreach(var item in items ) { IList<FundamentalItem> 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<string> listOfZacksItems = new List<string>(){ "[z] Zacks_Analyst_Ratings", "[z] Zacks_Dividend", "[z] Zacks_Earnings_Estimates", "[z] Zacks_Earnings_Surprises" }; PrintFundamentalItems( listOfZacksItems ); } } }