From 2ac29dc871651a2ae7b5fe5b7abb0befd044d977 Mon Sep 17 00:00:00 2001 From: Tr4Dr Date: Thu, 7 Sep 2017 20:08:01 +0200 Subject: [PATCH] Fixed the type of Deviation property in MqlTradeRequest (MT5) --- MtApi5/MqlTradeRequest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MtApi5/MqlTradeRequest.cs b/MtApi5/MqlTradeRequest.cs index 73e3c99a..1279ea24 100755 --- a/MtApi5/MqlTradeRequest.cs +++ b/MtApi5/MqlTradeRequest.cs @@ -13,7 +13,7 @@ namespace MtApi5 public double Stoplimit { get; set; } // StopLimit level of the order public double Sl { get; set; } // Stop Loss level of the order public double Tp { get; set; } // Take Profit level of the order - public uint Deviation { get; set; } // Maximal possible deviation from the requested price + public ulong Deviation { get; set; } // Maximal possible deviation from the requested price public ENUM_ORDER_TYPE Type { get; set; } // Order type public ENUM_ORDER_TYPE_FILLING Type_filling { get; set; } // Order execution type public ENUM_ORDER_TYPE_TIME Type_time { get; set; } // Order expiration type