Example #1
0
        internal void OnOrderPartiallyFilled(Order order, bool queued = true)
        {
            var e = new OnOrderPartiallyFilled(order);

            if (queued)
            {
                this.queue.Enqueue(e);
            }
            else
            {
                OnEvent(e);
            }
        }
Example #2
0
 internal void OnOrderPartiallyFilled(Order order, bool queued = true)
 {
     var e = new OnOrderPartiallyFilled(order);
     if (queued)
         this.queue.Enqueue(e);
     else
         OnEvent(e);
 }