public static void RemoveHistoryEntry(BackTestData entry)
 {
     try
     {
         backTestHistory.history.Remove(entry);
     }
     catch
     {
     }
 }
        public static void AddHistoryEntry(string accountGuid, decimal activationRoi, decimal normalBackTestValue, BaseCustomBot baseCustomBot)
        {
            BackTestData backTestData = new BackTestData();

            backTestData.AccountGUID         = accountGuid;
            backTestData.Exchange            = baseCustomBot.PriceMarket.PriceSource;
            backTestData.PrimaryCurrency     = baseCustomBot.PriceMarket.PrimaryCurrency;
            backTestData.SecondayCurrency    = baseCustomBot.PriceMarket.SecondaryCurrency;
            backTestData.ActivationROI       = activationRoi;
            backTestData.StaticBackTestValue = normalBackTestValue;

            BackTestHistoryManager.backTestHistory.history.Add(backTestData);
        }
        public static void AddHistoryEntry(string accountGuid, EnumPriceSource priceSource, string primaryCurrency, string secondaryCurrency, decimal activationRoi, decimal observedHigh, decimal normalBackTestValue)
        {
            BackTestData backTestData = new BackTestData();

            backTestData.AccountGUID         = accountGuid;
            backTestData.Exchange            = priceSource;
            backTestData.PrimaryCurrency     = primaryCurrency;
            backTestData.SecondayCurrency    = secondaryCurrency;
            backTestData.ActivationROI       = activationRoi;
            backTestData.ObservedHigh        = observedHigh;
            backTestData.StaticBackTestValue = normalBackTestValue;

            BackTestHistoryManager.backTestHistory.history.Add(backTestData);
        }