public TradingSession ToTradingSession() { var ts = new TradingSession(); foreach (var date in Dates) { foreach (var sess in date.Sessions) { // TODO: split out no cancel ts.Add(sess.StartTime, sess.Status); } } return(ts); }