public static List<string> GetFundamentalNames(this Bars bars);
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<string> fList = new List<string>(); fList = Bars.GetFundamentalNames(); int bar = 0; foreach (string fName in fList) { try { FundamentalItem fi = GetNextFundamentalItem(bar, Bars.Symbol, fName); PrintDebug("first "+fName+" report " + fi.Date.ToShortDateString() + ": " + fi.Value.ToString("$#,0") + " (millions)"); } catch { PrintDebug(fName+": not available at bar " + bar.ToString()); } } } } }