mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-08-18 05:08:11 +00:00
Refactored MtApi4 (MT4) for working with new architecture
This commit is contained in:
+3
-5
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user