Пример #1
0
        protected override void OnNewQuote(Instrument instrument, Quote quote)
        {
            foreach (ATSStop aTSStop in new ArrayList(this.activeStops[instrument]))
            {
                if (aTSStop.Connected)
                {
                    aTSStop.OnNewQuote(quote);
                }
            }
            this.marketManager.OnQuote(instrument, quote);
            this.atsRuntimeCrossComponent.OnQuote(instrument, quote);
            /*---------------------------------------------------*/
            ATSComponent aTSComponent = this.atsComponents[instrument];

            if (aTSComponent != null)
            {
                aTSComponent.OnQuote(quote);
            }
            /*---------------------------------------------------*/
            //this.atsComponents[instrument].OnQuote(quote);
        }