last ...
This commit is contained in:
@@ -285,6 +285,27 @@ class XCTradeManager : public XCBase
|
||||
? iParts[5]
|
||||
: "";
|
||||
iRestrictionsDescriptor = EscapeString(iRestrictionsDescriptor);
|
||||
|
||||
//
|
||||
XSymbolTradeConfig iConfig;
|
||||
|
||||
//
|
||||
// Initialize Config ...
|
||||
has = iConfig.Init(
|
||||
iSymbol,
|
||||
iPeriod,
|
||||
iSessionsDescriptor,
|
||||
iMaxAllowedSpread,
|
||||
iMaxAllowedPositions,
|
||||
iRestrictionsDescriptor //
|
||||
);
|
||||
if (has) {
|
||||
AddOrUpdateSymbolConfiguration(iConfig);
|
||||
}
|
||||
|
||||
//
|
||||
// Cleanup Resources ...
|
||||
iConfig.Clean();
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user