removed min/max & timeout label changes

This commit is contained in:
HojouFotytu 2019-01-14 13:41:09 +09:00
parent 90ff847629
commit 85bd8b625f
1 changed files with 1 additions and 7 deletions

View File

@ -119,19 +119,13 @@ namespace Core.ProfitTrailer
case "max cost reached":
result = "COST";
break;
case "rebuy timeout":
result = "TIMEOUT";
break;
case "MIN/MAX CHANGE PERC":
result = "MIN/MAX";
break;
default:
break;
}
if (onlyValidStrategies)
{
if (strategyName.IndexOf("SOM") > -1 || strategyName.IndexOf("MAX") > -1 || strategyName.IndexOf("MIN") > -1 || strategyName.IndexOf("PRICE") > -1 || strategyName.IndexOf("BLACK") > -1 || strategyName.IndexOf("INSUFFICIENT") > -1 || strategyName.IndexOf("COST") > -1 || strategyName.IndexOf("TIMEOUT") > -1)
if (strategyName.IndexOf("SOM") > -1 || strategyName.IndexOf("MAX") > -1 || strategyName.IndexOf("MIN") > -1 || strategyName.IndexOf("PRICE") > -1 || strategyName.IndexOf("BLACK") > -1 || strategyName.IndexOf("INSUFFICIENT") > -1 || strategyName.IndexOf("COST") > -1)
{
result = "";
}