Exemple #1
0
 public void EnablesStatistics()
 {
     if (statistics == null)
         statistics = new ProductStatistics();
 }
Exemple #2
0
 public Product(string productCode, char productType, int BidAskDepth)
 {
     this.m_ProductCode = productCode;
     this.productType = productType;
     Bids = new PriceQty[BidAskDepth];
     Asks = new PriceQty[BidAskDepth];
     m_stat = new ProductStatistics();
     PrevPrices = new PrevPrice[5];
     for (int i = 0; i < 5; i++)
         PrevPrices[i] = new PrevPrice();
 }