l
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user