trailing formula fix
This commit is contained in:
parent
1c8a4b1c8a
commit
b2d9c9524c
|
@ -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");
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue