public void Update(Wallet currentWallet, MarketInfo currentMarket, IList <Trade> objTrades, IList <Payment> objfees)
 {
     this.AddEvent(new TradingEvent(currentMarket.Time, currentWallet.GetBalance(currentMarket.Ticker)));
     this.LastWallet = currentWallet;
     this.Trades.AddRange(objTrades);
     this.Fees.AddRange(objfees);
 }
 public void Update(Wallet currentWallet, MarketInfo currentMarket, Wallet newOrders)
 {
     this.AddEvent(new TradingEvent(currentMarket.Time, currentWallet.GetBalance(currentMarket.Ticker)));
     this.LastWallet = currentWallet;
     if (newOrders.Orders.Count > 0)
     {
         this.LastOrdersSeries.Insert(0, newOrders);
         if (this.LastOrdersSeries.Count > 10)
         {
             this.LastOrdersSeries.RemoveRange(10, this.LastOrdersSeries.Count - 10);
         }
     }
 }