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
+3 -3
View File
@@ -39,7 +39,7 @@
bool getBooleanValue(int expertHandle, int paramIndex, bool& res, string& err);
#import
#define __DEBUG_LOG__
//#define __DEBUG_LOG__
input int Port = 8228;
@@ -5833,8 +5833,8 @@ bool JsonToMqlTradeRequest(JSONObject *jo, MqlTradeRequest& request)
CHECK_JSON_VALUE(jo, "Type_time", false);
request.type_time = (ENUM_ORDER_TYPE_TIME)jo.getInt("Type_time");
//Expiration
CHECK_JSON_VALUE(jo, "Expiration", false);
//MtExpiration
CHECK_JSON_VALUE(jo, "MtExpiration", false);
request.expiration = (datetime)jo.getInt("MtExpiration");
//Comment