Merge pull request #310 from HojouFotytu/develop

Conditional Formulas
This commit is contained in:
HojouFotytu 2021-08-18 12:21:41 +09:00 committed by GitHub
commit c8094f646b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ namespace Core.ProfitTrailer
if (!string.IsNullOrEmpty(strategyName)) if (!string.IsNullOrEmpty(strategyName))
{ {
// buy/sell strategies beginning with PT 2.3.3 contain the letter followed by a colon and space. // buy/sell strategies beginning with PT 2.3.3 contain the letter followed by a colon and space.
if (strategyName.Contains(":")) if (strategyName.Contains(":") && !strategyName.Contains("FORMULA"))
{ {
result = true; result = true;
} }