This commit is contained in:
2025-06-06 05:42:15 +03:30
parent 519dc3b59f
commit 555244a844
8 changed files with 1388 additions and 96 deletions
File diff suppressed because it is too large Load Diff
@@ -1647,10 +1647,13 @@ class XCXCATBEATradeManager : public XCBase
//
collector = new XCDataCollector();
//
// Setting Collector Path ...
string mPath = alert.GetPrefix() + "\\" + trader.mAccount.GetCompany();
string mPath = (IsValid(alert.GetPrefix())
? alert.GetPrefix() + "\\"
: "") +
trader.mAccount.GetCompany();
collector.Path(mPath);
}
@@ -3066,14 +3069,8 @@ class XCXCATBEATradeManager : public XCBase
string result = NULL;
//
string mPath = collector.Path();
//
result =
//
mPath + "\\" + "Trades" + "\\" + fileName + ".x121.log"
//
;
result = collector
.GetFilePath("Trades" + "\\" + fileName);
//
return result;
@@ -3086,14 +3083,8 @@ class XCXCATBEATradeManager : public XCBase
string result = NULL;
//
string mPath = collector.Path();
//
result =
//
mPath + "\\" + "Signals" + "\\" + fileName + ".x121.log"
//
;
result = collector
.GetFilePath("Signals" + "\\" + fileName);
//
return result;
@@ -3106,17 +3097,10 @@ class XCXCATBEATradeManager : public XCBase
string result = NULL;
//
string mPath = collector.Path();
//
result =
//
mPath + "\\" +
"Conditions" + "\\" +
trade.signal.symbol + "\\" +
ToString(trade.signal.period) + "_wins.x121.log"
//
;
result = collector
.GetFilePath("Conditions" + "\\" +
trade.signal.symbol + "\\" +
ToString(trade.signal.period) + "_wins");
//
return result;
@@ -3129,17 +3113,10 @@ class XCXCATBEATradeManager : public XCBase
string result = NULL;
//
string mPath = collector.Path();
//
result =
//
mPath + "\\" +
"Conditions" + "\\" +
trade.signal.symbol + "\\" +
ToString(trade.signal.period) + "_losts.x121.log"
//
;
result = collector
.GetFilePath("Conditions" + "\\" +
trade.signal.symbol + "\\" +
ToString(trade.signal.period) + "_losts");
//
return result;
@@ -3158,16 +3135,8 @@ class XCXCATBEATradeManager : public XCBase
}
//
string mPath = collector.Path();
//
result =
//
mPath + "\\" +
"Restrictions" + "\\" +
symbol + ".x121.log"
//
;
result = collector
.GetFilePath("Restrictions" + "\\" + symbol);
//
return result;