Rate 비율 오류 수정
This commit is contained in:
@@ -350,8 +350,8 @@ namespace Million
|
||||
var dic = new Dictionary<string, List<SearchResult>>();
|
||||
Parallel.For(0, tableList.Count, i =>
|
||||
{
|
||||
// for (var i = 0; i < tableList.Count; i++)
|
||||
//{
|
||||
//for (var i = 0; i < tableList.Count; i++)
|
||||
//{
|
||||
var market = tableList[i];
|
||||
var distinctIndicator = IndicatorSetupManager.Distinct(totalIndicator);
|
||||
|
||||
@@ -367,10 +367,10 @@ namespace Million
|
||||
market, distinctIndicator, overlapBuyManagementList, buyScript, sellScript, sellExceptionScript);
|
||||
dic[market.CoinFullName] = list;
|
||||
}
|
||||
//}
|
||||
//}
|
||||
});
|
||||
|
||||
foreach (var item in dic.Keys)
|
||||
foreach (var item in dic.Keys)
|
||||
{
|
||||
if(dic.ContainsKey(item))
|
||||
totalResultList.AddRange(dic[item]);
|
||||
|
||||
@@ -416,15 +416,13 @@ namespace Million.Manager
|
||||
{
|
||||
itemValue = GetValue(child, setUp);
|
||||
|
||||
if (rateVal > itemValue)
|
||||
{
|
||||
child.CalculateFlag[setUp.IndexString] = true;
|
||||
child.IndicatorDic[key] = new IndicatorData();
|
||||
if (CommonProperty.RealtimeHunterMode)
|
||||
itemValue = rateVal;
|
||||
|
||||
child.IndicatorDic[key].value = itemValue;
|
||||
}
|
||||
child.CalculateFlag[setUp.IndexString] = true;
|
||||
child.IndicatorDic[key] = new IndicatorData();
|
||||
if (CommonProperty.RealtimeHunterMode)
|
||||
itemValue = rateVal;
|
||||
|
||||
child.IndicatorDic[key].value = itemValue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user