Issue #82: Refactored MQL5 expert to use json in function OrderSend

This commit is contained in:
DW
2018-02-17 00:10:10 +02:00
parent 14079dc3c1
commit 0e5bb40a6f
11 changed files with 193 additions and 29 deletions
+4 -1
View File
@@ -1,4 +1,5 @@
using System;
// ReSharper disable InconsistentNaming
using System;
namespace MtApi5
{
@@ -22,6 +23,8 @@ namespace MtApi5
public ulong Position { get; set; } // Position ticket
public ulong PositionBy { get; set; } // The ticket of an opposite position
public int MtExpiration => Mt5TimeConverter.ConvertToMtTime(Expiration);
public override string ToString()
{
return $"{Symbol}|{Volume}|{Price}|{Volume}|{Action}";