Fixed issue where trend data got stuck

This commit is contained in:
djbadders 2020-08-20 07:16:48 +01:00
parent 0f2cb35fc7
commit 4ba1725d6a
1 changed files with 42 additions and 45 deletions

View File

@ -337,8 +337,6 @@ namespace Core.MarketAnalyzer
Market recentMarket = recentMarkets[recentMarketPair.Key]; Market recentMarket = recentMarkets[recentMarketPair.Key];
if (trendMarkets.ContainsKey(recentMarketPair.Key))
{
List<string> ignoredMarkets = SystemHelper.ConvertTokenStringToList(marketTrend.IgnoredMarkets, ","); List<string> ignoredMarkets = SystemHelper.ConvertTokenStringToList(marketTrend.IgnoredMarkets, ",");
if (ignoredMarkets.Contains(recentMarketPair.Value.Symbol)) if (ignoredMarkets.Contains(recentMarketPair.Value.Symbol))
{ {
@ -388,7 +386,6 @@ namespace Core.MarketAnalyzer
} }
} }
} }
}
if (marketTrend.MaxMarkets > 0 && isGlobal) if (marketTrend.MaxMarkets > 0 && isGlobal)
{ {