Ejemplo n.º 1
0
        private void OrderBook_TradeCompleted(object sender, TradeCompletedEventArgs e)
        {
            LastTradedPrice = e.LastTradedPrice;

            TradeCompleted?.Invoke(this, e);

            System.Diagnostics.Debug.Print(LastTradedPrice.ToString());
        }
Ejemplo n.º 2
0
 private void Security_TradeCompleted(object sender, TradeCompletedEventArgs e)
 {
     TradeExecuted?.Invoke(this, new TradedPriceEventArgs(e.TradeDetail));
 }