public List <StockNameRicChange> GetChangeToList()
 {
     for (int i = 0; i < NewBrokerList.Count; i++)
     {
         for (int j = 0; j < DeleteBrokerList.Count; j++)
         {
             if (NewBrokerList[i].Name == DeleteBrokerList[j].Name)
             {
                 StockNameRicChange stockRicChange = new StockNameRicChange();
                 stockRicChange.NewValue = NewBrokerList[i].Ric;
                 stockRicChange.Name     = NewBrokerList[i].Name;
                 stockRicChange.OldValue = DeleteBrokerList[j].Ric;
                 stockRicChange.Date     = NewBrokerList[j].Date;
                 stockRicChange.Ric      = NewBrokerList[j].Ric;
                 stockRicChange.Type     = "RIC CHG TO";
                 RicChangeToList.Add(stockRicChange);
             }
             else
             {
                 continue;
             }
         }
     }
     return(RicChangeToList);
 }
 public bool IsUpgrade(StockNameRicChange ricChange)
 {
     if (ricChange.OldValue.Trim().StartsWith("8") && (!ricChange.NewValue.Trim().StartsWith("8")))
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }