private void AddMarketHistoryRecord(MarketHistoryRecord record)
    {
        MarketHistory.Add(record);
        if (MarketHistory.Count() > _marketHistoryLimit)
        {
            MarketHistory.RemoveAt(0);
        }

        Demand = (float)Math.Round((MarketHistory.Sum(x => x.Demand) / (float)MarketHistory.Count()), 2);
        Supply = (float)Math.Round((MarketHistory.Sum(x => x.Supply) / (float)MarketHistory.Count()), 2);
    }
 public int SupplyThisRound()
 {
     return(MarketHistory[MarketHistory.Count() - 1].Supply);
 }
 public int DemandThisRound()
 {
     return(MarketHistory[MarketHistory.Count() - 1].Demand);
 }
 public int AsksThisRound()
 {
     return(MarketHistory[MarketHistory.Count() - 1].NumberOfAsks);
 }
 public int BidsThisRound()
 {
     return(MarketHistory[MarketHistory.Count() - 1].NumberOfBids);
 }
 public float AverageAsks()
 {
     return((float)MarketHistory.Sum(round => round.NumberOfAsks) / MarketHistory.Count());
 }