Unit refactoring

Fixed massive heap corruption bug in TDataRecord
This commit is contained in:
Michael Schimmel
2025-07-25 11:54:53 +02:00
parent 6b18d95570
commit aa53a88953
13 changed files with 461 additions and 359 deletions
+3 -5
View File
@@ -2,6 +2,9 @@ unit Myc.Trade.Types;
interface
uses
Myc.Core.Future;
type
TTimeframe = (S, S5, S15, S30, M, M2, M3, M5, M10, M15, M30, H, H2, H3, H4, H8, H12, D, D2, D3, W, MN, MN3, MN6, Y);
@@ -28,11 +31,6 @@ type
constructor Create(ATime: TDateTime; const AData: T);
end;
TConstFunc<S, T> = reference to function(const Value: S): T;
TConstFunc<S, T, U> = reference to function(const Value1: S; const Value2: T): U;
TConstProc<T> = reference to procedure(const Value: T);
TConstFuncPredicate<S, T> = reference to function(const Value: S; out Res: T): Boolean;
implementation
{ TAskBidItem }