Issue #109: Fixed typo 'Magic' to 'Order' in MQL function JsonToMqlTradeRequest

This commit is contained in:
vdemydiuk
2018-03-26 18:06:39 +03:00
parent 6ba6496e46
commit 4a9642b60c
2 changed files with 1 additions and 1 deletions
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -7059,7 +7059,7 @@ bool JsonToMqlTradeRequest(JSONObject *jo, MqlTradeRequest& request)
//Order //Order
CHECK_JSON_VALUE(jo, "Order", false); CHECK_JSON_VALUE(jo, "Order", false);
request.order = jo.getLong("Magic"); request.order = jo.getLong("Order");
//Symbol //Symbol
CHECK_JSON_VALUE(jo, "Symbol", false); CHECK_JSON_VALUE(jo, "Symbol", false);