private void OnNewCandle(Candle candle)
 {
     if (candle.Sec == "SBER" && candle.Class == "TQBR" && candle.Interval == CandleInterval.M1)
     {
         Console.WriteLine("Sec:{0}, Open:{1}, Close:{2}, Volume:{3}", candle.Sec, candle.Open, candle.Close, candle.Volume);
     }
 }
 internal void RaiseNewCandleEvent(Candle candle)
 {
     if (NewCandle != null)
         NewCandle(candle);
 }