예제 #1
0
        public void Notify_Add_Trade_Method_Test()
        {
            tradesCollection             = new TradesCollection();
            tradesCollection.TradeAdded += UpdateLastTradeSymbol;
            Trade trade = new Trade("SRT-021231", "RTS-6.19", new DateTime(2019, 01, 5), 125000, 5);

            tradesCollection.Add(trade);
            Assert.AreEqual(trade.Symbol, lastTradeSymbol);
        }