コード例 #1
0
ファイル: MarketDepth.cs プロジェクト: yydxlv/StockSharp
        /// <summary>
        /// To update the order book. The version without checks and blockings.
        /// </summary>
        /// <param name="bids">Sorted bids.</param>
        /// <param name="asks">Sorted asks.</param>
        /// <param name="lastChangeTime">Change time.</param>
        public void Update(Quote[] bids, Quote[] asks, DateTimeOffset lastChangeTime)
        {
            //_bidsCache = null;
            //_asksCache = null;

            _bids = bids;
            _asks = asks;

            UpdateDepthAndTime(lastChangeTime, false);

            QuotesChanged?.Invoke();
            //RaiseQuotesChanged();
        }
コード例 #2
0
 private void RaiseQuotesChanged()
 {
     QuotesChanged.SafeInvoke();
 }
コード例 #3
0
 private void RaiseQuotesChanged()
 {
     QuotesChanged?.Invoke();
 }