mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-08-13 10:48:08 +00:00
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d7b8ef894c |
Binary file not shown.
+1
-1
@@ -6272,7 +6272,7 @@ JSONObject* MqlTradeTransactionToJson(MqlTradeTransaction& trans)
|
|||||||
JSONObject* MqlTradeRequestToJson(MqlTradeRequest& request)
|
JSONObject* MqlTradeRequestToJson(MqlTradeRequest& request)
|
||||||
{
|
{
|
||||||
JSONObject *jo = new JSONObject();
|
JSONObject *jo = new JSONObject();
|
||||||
jo.put("Cction", new JSONNumber((int)request.action));
|
jo.put("Action", new JSONNumber((int)request.action));
|
||||||
jo.put("Magic", new JSONNumber(request.magic));
|
jo.put("Magic", new JSONNumber(request.magic));
|
||||||
jo.put("Order", new JSONNumber(request.order));
|
jo.put("Order", new JSONNumber(request.order));
|
||||||
jo.put("Symbol", new JSONString(request.symbol));
|
jo.put("Symbol", new JSONString(request.symbol));
|
||||||
|
|||||||
Reference in New Issue
Block a user