17 using System.Collections.Generic;
43 : this(rebalancingDateRules.ToFunc(), portfolioBias)
56 : base(rebalancingFunc)
58 _portfolioBias = portfolioBias;
69 : this(rebalancingFunc != null ? (Func<DateTime, DateTime?>)(timeUtc => rebalancingFunc(timeUtc)) : null, portfolioBias)
86 : this((Func<DateTime, DateTime?>)null, portfolioBias)
98 : this(dt => dt.Add(timeSpan), portfolioBias)
109 : this(resolution.ToTimeSpan(), portfolioBias)
120 var result =
new Dictionary<Insight, double>(activeInsights.Count);
124 var percent = count == 0 ? 0 : 1m / count;
125 foreach (var insight
in activeInsights)