예제 #1
0
        private void OrderBook_TradeCompleted(object sender, TradeCompletedEventArgs e)
        {
            LastTradedPrice = e.LastTradedPrice;

            TradeCompleted?.Invoke(this, e);

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