/// <summary>
        /// Called when tick received from <see cref="MarketDataListener"/>
        /// </summary>
        /// <param name="tick"></param>
        private void OnTickArrived(Common.Core.DomainModels.Tick tick)
        {
            if (_asyncClassLogger.IsDebugEnabled)
            {
                _asyncClassLogger.Debug(tick.ToString(), _type.FullName, "OnTickArrived");
            }

            _orderExecutor.TickArrived(tick);
            _tradeHubStrategy.OnTickArrived(tick);
        }
Beispiel #2
0
 /// <summary>
 /// Called when tick received from <see cref="MarketDataListener"/>
 /// </summary>
 /// <param name="tick"></param>
 private void OnTickArrived(Tick tick)
 {
     // Tick first needs to be provided to 'Order Executor' before sending it out to Strategy
     _orderExecutor.TickArrived(tick);
     _tradeHubStrategy.OnTickArrived(tick);
 }
 /// <summary>
 /// Called when tick received from <see cref="MarketDataListener"/>
 /// </summary>
 /// <param name="tick"></param>
 private void OnTickArrived(Tick tick)
 {
     _orderExecutor.TickArrived(tick);
     _tradeHubStrategy.OnTickArrived(tick);
 }