private void OrderBook_TradeCompleted(object sender, TradeCompletedEventArgs e) { LastTradedPrice = e.LastTradedPrice; TradeCompleted?.Invoke(this, e); System.Diagnostics.Debug.Print(LastTradedPrice.ToString()); }
private void Security_TradeCompleted(object sender, TradeCompletedEventArgs e) { TradeExecuted?.Invoke(this, new TradedPriceEventArgs(e.TradeDetail)); }