Refactored MtApi4 (MT4) for working with new architecture

This commit is contained in:
Viacheslav Demydiuk
2024-06-16 13:57:50 +03:00
parent 6dd5e0190f
commit a830dc11a6
89 changed files with 1648 additions and 2390 deletions
+3 -5
View File
@@ -1,11 +1,9 @@
using System;
namespace MtApi
namespace MtApi
{
public class MtOrder
{
public int Ticket { get; set; }
public string Symbol { get; set; }
public string Symbol { get; set; } = string.Empty;
public TradeOperation Operation { get; set; }
public double OpenPrice { get; set; }
public double ClosePrice { get; set; }
@@ -13,7 +11,7 @@ namespace MtApi
public int MtOpenTime { get; set; }
public int MtCloseTime { get; set; }
public double Profit { get; set; }
public string Comment { get; set; }
public string Comment { get; set; } = string.Empty;
public double Commission { get; set; }
public int MagicNumber { get; set; }
public double Swap { get; set; }