Пример #1
0
        private void iitkJnDu9a([In] object obj0, [In] HistoricalMarketDepthEventArgs obj1)
        {
            uRIUcg8mp5qy3pl442 riUcg8mp5qy3pl442 = (uRIUcg8mp5qy3pl442)null;

            if (!this.V43ldlVmhs.TryGetValue(obj1.RequestId, out riUcg8mp5qy3pl442))
            {
                return;
            }
            Instrument         key              = riUcg8mp5qy3pl442.tRpHqexTIJ();
            MarketDepth        marketDepth      = obj1.MarketDepth;
            dtWG9eTloC3v1YLiPJ wg9eTloC3v1YliPj = (dtWG9eTloC3v1YLiPJ)null;

            if (this.sUBlFVkkCB.TryGetValue(key, out wg9eTloC3v1YliPj))
            {
                if (marketDepth.DateTime < wg9eTloC3v1YliPj.aZTF2X8GaL() || marketDepth.DateTime > wg9eTloC3v1YliPj.Kd2FKl42yG())
                {
                    key.Add(marketDepth);
                }
            }
            else
            {
                key.Add(marketDepth);
            }
            this.mwOkiJi9kn(riUcg8mp5qy3pl442, (HistoricalDataEventArgs)obj1);
        }
Пример #2
0
        private void A6IkgWjeaP([In] object obj0, [In] HistoricalQuoteEventArgs obj1)
        {
            uRIUcg8mp5qy3pl442 riUcg8mp5qy3pl442 = (uRIUcg8mp5qy3pl442)null;

            if (!this.V43ldlVmhs.TryGetValue(obj1.RequestId, out riUcg8mp5qy3pl442))
            {
                return;
            }
            Instrument         key              = riUcg8mp5qy3pl442.tRpHqexTIJ();
            Quote              quote            = obj1.Quote;
            dtWG9eTloC3v1YLiPJ wg9eTloC3v1YliPj = (dtWG9eTloC3v1YLiPJ)null;

            if (this.sUBlFVkkCB.TryGetValue(key, out wg9eTloC3v1YliPj))
            {
                if (quote.DateTime < wg9eTloC3v1YliPj.aZTF2X8GaL() || quote.DateTime > wg9eTloC3v1YliPj.Kd2FKl42yG())
                {
                    key.Add(quote);
                }
            }
            else
            {
                key.Add(quote);
            }
            this.mwOkiJi9kn(riUcg8mp5qy3pl442, (HistoricalDataEventArgs)obj1);
        }