This commit is contained in:
2024-05-28 13:45:40 +03:30
parent 59c5e89180
commit 4e3cd5a351
+1 -1
View File
@@ -375,7 +375,7 @@ public:
bool isReadyForHedge = bool isReadyForHedge =
positionsCount < maxAllowedPositions positionsCount < maxAllowedPositions
? profit >= requiredProfit ? profit >= requiredProfit
: positionsCount >= maxAllowedPositions && profit >= (requiredProfit * 0.50) : positionsCount >= maxAllowedPositions && profit >= (requiredProfit * 0.80)
? true ? true
: false; : false;
if (!isReadyForHedge) if (!isReadyForHedge)