mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-07-28 11:07:48 +00:00
Issue #109: Fixed typo 'Magic' to 'Order' in MQL function JsonToMqlTradeRequest
This commit is contained in:
Binary file not shown.
+1
-1
@@ -7059,7 +7059,7 @@ bool JsonToMqlTradeRequest(JSONObject *jo, MqlTradeRequest& request)
|
||||
|
||||
//Order
|
||||
CHECK_JSON_VALUE(jo, "Order", false);
|
||||
request.order = jo.getLong("Magic");
|
||||
request.order = jo.getLong("Order");
|
||||
|
||||
//Symbol
|
||||
CHECK_JSON_VALUE(jo, "Symbol", false);
|
||||
|
||||
Reference in New Issue
Block a user