trailing formula fix

This commit is contained in:
HojouFotytu 2019-12-08 22:07:00 +09:00
parent 1c8a4b1c8a
commit b2d9c9524c
2 changed files with 2 additions and 2 deletions

View File

@ -587,7 +587,7 @@ namespace Core.ProfitTrailer
if (!isValidStrategy ) if (!isValidStrategy )
{ {
// Parse Formulas // Parse Formulas
if (strategy.Name.Contains("FORMULA")) if (strategy.Name.Contains("FORMULA") && !strategy.Name.Contains("STATS"))
{ {
string expression = strategy.Name.Remove(0, 10); string expression = strategy.Name.Remove(0, 10);
expression = expression.Replace("<span class=\"tdgreen\">","true").Replace("<span class=\"red\">","false").Replace("</span>","").Replace("&&","and").Replace("||","or"); expression = expression.Replace("<span class=\"tdgreen\">","true").Replace("<span class=\"red\">","false").Replace("</span>","").Replace("&&","and").Replace("||","or");

View File

@ -5,7 +5,7 @@ using System.Security.Permissions;
using Core.Helper; using Core.Helper;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
[assembly: AssemblyVersion("2.2.10")] [assembly: AssemblyVersion("2.3.1")]
[assembly: AssemblyProduct("PT Magic")] [assembly: AssemblyProduct("PT Magic")]
namespace PTMagic namespace PTMagic