This commit is contained in:
2025-02-01 19:59:02 +03:30
parent 8c7bdfa9fa
commit 606c636687
31 changed files with 227 additions and 3 deletions
+33
View File
@@ -472,6 +472,9 @@ struct XPosition
symbol = NULL;
comment = NULL;
provider = NULL;
//
ZeroMemory(this);
}
//
@@ -1507,6 +1510,9 @@ struct XSignal
//
Clean(supports);
//
ZeroMemory(this);
}
//
@@ -2054,6 +2060,9 @@ struct XOrder
period = NULL;
filling = NULL;
lifetime = NULL;
//
ZeroMemory(this);
}
//
@@ -2411,6 +2420,9 @@ struct XDeal
entry = NULL;
period = NULL;
reason = NULL;
//
ZeroMemory(this);
}
//
@@ -2617,6 +2629,9 @@ struct XOnTradeHandlerState
newOrders = 0;
newPositions = 0;
newHistoryOrders = 0;
//
ZeroMemory(this);
}
//
@@ -2743,6 +2758,9 @@ struct XGuard
//
strPayload = NULL;
dblPayLoad = EMPTY_VALUE;
//
ZeroMemory(this);
}
//
@@ -2809,6 +2827,9 @@ struct XPositionPack
//
Clean(supportOrders);
Clean(supportPositions);
//
ZeroMemory(this);
}
//
@@ -2956,6 +2977,9 @@ struct XTrail
before = 0;
after = 0;
level = 0;
//
ZeroMemory(this);
}
//
@@ -3203,6 +3227,9 @@ struct XSymbolPositions
Clean(longs);
Clean(shorts);
Clean(positions);
//
ZeroMemory(this);
}
//
@@ -3608,6 +3635,9 @@ struct XSymbolLastPosition
time = NULL;
symbol = NULL;
provider = NULL;
//
ZeroMemory(this);
}
};
@@ -3780,6 +3810,9 @@ struct XTradeData
//
ResetTrail();
ResetRecovery();
//
ZeroMemory(this);
}
//