Issue #82: Disabled debug mode in MtApi5.ex5. Updated test client to send order with values Expiration and Comment

This commit is contained in:
vdemydiuk
2018-02-18 20:24:27 +02:00
parent 0e5bb40a6f
commit 521d7ea2c0
5 changed files with 7 additions and 16 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
//NoCommand = 0
//trade operations
OrderSend = 1,
//OrderSend = 1,
OrderCalcMargin = 2,
OrderCalcProfit = 3,
OrderCheck = 4,
+1 -10
View File
@@ -123,15 +123,6 @@ namespace MtApi5
result = response?.Value?.TradeResult;
return response?.Value != null && response.Value.RetVal;
//var commandParameters = request.ToArrayList();
//var strResult = SendCommand<string>(Mt5CommandType.OrderSend, commandParameters);
//Log.Debug($"OrderSend: strResult = {strResult}");
//return strResult.ParseResult(ParamSeparator, out result);
}
///<summary>
@@ -205,7 +196,7 @@ namespace MtApi5
var commandParameters = request.ToArrayList();
var strResult = SendCommand<string>(Mt5CommandType.OrderSend, commandParameters);
var strResult = SendCommand<string>(Mt5CommandType.OrderCheck, commandParameters);
return strResult.ParseResult(ParamSeparator, out result);
}