コード例 #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));
 }