Создал метод, который проставляет рабочие дни на выходных и выходные на рабочих для наших бирж (2011 год).
Code private static void UpdateWorkingDays()
{
var specialWorkingDays = new[] { new DateTime(2011, 3, 5) };
var specialHolidays = new[]
{
new DateTime(2011, 1, 3),
new DateTime(2011, 1, 4),
new DateTime(2011, 1, 5),
new DateTime(2011, 1, 6),
new DateTime(2011, 1, 7),
new DateTime(2011, 1, 10),
new DateTime(2011, 2, 23),
new DateTime(2011, 3, 7),
new DateTime(2011, 3, 8),
new DateTime(2011, 5, 2),
new DateTime(2011, 5, 9),
new DateTime(2011, 6, 13),
new DateTime(2011, 11, 4)
};
Exchange.Rts.WorkingTime.SpecialWorkingDays = specialWorkingDays;
Exchange.Rts.WorkingTime.SpecialHolidays = specialHolidays;
Exchange.Micex.WorkingTime.SpecialWorkingDays = specialWorkingDays;
Exchange.Micex.WorkingTime.SpecialHolidays = specialHolidays;
}