public override MarketInfo GetMarketInfo(string symbol) { _marketInfo = MarketManager.GetMarketInfo(symbol, "Russian Standard Time", "QUIKStaticDataProvider"); if (_marketInfo.Name != null) { List <MarketTimeZone> timeZones = _rttSettingsProvider.GetObject("MarketTimeZones", typeof(List <MarketTimeZone>)) as List <MarketTimeZone> ?? new List <MarketTimeZone>(); _marketInfo.TimeZoneName = (from timeZone in timeZones where timeZone.MarketName == _marketInfo.Name select timeZone.TimeZoneName).DefaultIfEmpty("Russian Standard Time").First(); } else { _marketInfo.Name = "Default Russian Market"; _marketInfo.TimeZoneName = "Russian Standard Time"; _marketInfo.OpenTimeNative = new DateTime(1970, 1, 1, 0, 0, 0); _marketInfo.CloseTimeNative = new DateTime(1970, 1, 1, 23, 59, 59); } return(_marketInfo); }