public bool IsTFIsinLastDataAccepted(string isin)
        {
            lock (_lockLastDataAccepted)
            {
                if (!LastDataAccepted.ContainsKey(isin))
                {
                    return(false);
                }
                try
                {
                    foreach (KeyValuePair <string, bool> kvp in LastDataAccepted[isin])
                    {
                        if (kvp.Value == false)
                        {
                            return(false);
                        }
                    }
                }
                catch (Exception e)
                {
                    Error("IsTFIsinLastDataAccepted", e);
                }
            }

            return(true);
        }
        public void CreateAcceptedFlag(string isin, string tf)
        {
            try
            {
                lock (_lockLastDataAccepted)
                {
                    if (!LastDataAccepted.ContainsKey(isin))
                    {
                        LastDataAccepted[isin] = new Dictionary <string, bool>();
                    }

                    if (!LastDataAccepted[isin].ContainsKey(tf))
                    {
                        LastDataAccepted[isin][tf] = false;
                    }
                }
            }
            catch (Exception e)
            {
                Error("CGUICandleBox.CreateAcceptedFlag", e);
            }
        }