I am trying to emulate this example from the c# repo in the web version of quantconnect. I expected to see a console log of the daily Events when I went to the log, but instead I see:

 

2014-05-26 00:00:00 SLICE >> 0 : QuantConnect.Data.Market.DataDictionary`1[QuantConnect.Data.Custom.DailyFx]

 

I attempted to explicitly print the values of the DataDictionary using:

 

public override void OnData(Slice slice)
{
DataDictionary<QuantConnect.Data.Custom.DailyFx> result = slice.Get<DailyFx>();
foreach(KeyValuePair<QuantConnect.Symbol, DailyFx> x in result)
Debug(string.Format("SLICE >> {0} : {1}", _sliceCount++, x.Value.Title.ToString()));
}

With no luck (this resulted in no console output, and no errors). What am I missing?

Author