From 0b7817dff1705a8cea5ef54522e3ffa1189b7bd6 Mon Sep 17 00:00:00 2001 From: HojouFotytu <36724681+HojouFotytu@users.noreply.github.com> Date: Tue, 9 Feb 2021 21:11:02 +0900 Subject: [PATCH] removed superfluous code --- Core/Main/PTMagic.cs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Core/Main/PTMagic.cs b/Core/Main/PTMagic.cs index d303014..19c986d 100644 --- a/Core/Main/PTMagic.cs +++ b/Core/Main/PTMagic.cs @@ -1642,12 +1642,6 @@ namespace Core.Main // Calculate average market change, skip any that are outside the threshold if enabled if (trendThreshold.TrendThreshold != 0) { - // Exclude trends outside the threshhold. - var excludedMarkets = from m in marketTrendChanges - where m.TrendChange > trendThreshold.TrendThreshold || m.TrendChange < (trendThreshold.TrendThreshold * -1.0) - orderby m.Market - select m; - var includedMarkets = from m in marketTrendChanges where m.TrendChange <= trendThreshold.TrendThreshold && m.TrendChange >= (trendThreshold.TrendThreshold * -1.0) orderby m.Market @@ -1851,12 +1845,6 @@ namespace Core.Main // Calculate average market change, skip any that are outside the threshold if enabled if (trendThreshold.TrendThreshold != 0) { - // Exclude trends outside the threshhold. - var excludedMarkets = from m in marketTrendChanges - where m.TrendChange > trendThreshold.TrendThreshold || m.TrendChange < (trendThreshold.TrendThreshold * -1.0) - orderby m.Market - select m; - var includedMarkets = from m in marketTrendChanges where m.TrendChange <= trendThreshold.TrendThreshold && m.TrendChange >= (trendThreshold.TrendThreshold * -1.0) orderby m.Market