last ...
This commit is contained in:
@@ -1099,16 +1099,16 @@ protected:
|
||||
|
||||
//
|
||||
// Check At Least One Support Positions Open For Hedging ...
|
||||
XPosition supports[];
|
||||
int supportsCount = ExtractSupports(
|
||||
positions,
|
||||
supports //
|
||||
);
|
||||
result = IsValidSize(supportsCount);
|
||||
if (!result)
|
||||
{
|
||||
return result;
|
||||
}
|
||||
// XPosition supports[];
|
||||
// int supportsCount = ExtractSupports(
|
||||
// positions,
|
||||
// supports //
|
||||
// );
|
||||
// result = IsValidSize(supportsCount);
|
||||
// if (!result)
|
||||
// {
|
||||
// return result;
|
||||
// }
|
||||
|
||||
//
|
||||
double profits = SpecifiedCalculatePositionsProfit(positions);
|
||||
@@ -1139,6 +1139,9 @@ protected:
|
||||
return result;
|
||||
}
|
||||
|
||||
//
|
||||
SyncSupports();
|
||||
|
||||
//
|
||||
string message = XEQMSupportToken + " Hedge: " + ToString(profits) + " ...";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user