From fe94ec21ded639dd8c52230c245809d75b01cad8 Mon Sep 17 00:00:00 2001 From: vdemydiuk Date: Thu, 8 Mar 2018 15:31:02 +0200 Subject: [PATCH] Issue #102: fixed long type of result in function SeriesInfoInteger --- MtApi5/MtApi5Client.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MtApi5/MtApi5Client.cs b/MtApi5/MtApi5Client.cs index 7c24ee34..cace0973 100755 --- a/MtApi5/MtApi5Client.cs +++ b/MtApi5/MtApi5Client.cs @@ -611,11 +611,11 @@ namespace MtApi5 ///Symbol name. /// Period. ///Identifier of the requested property, value of the ENUM_SERIES_INFO_INTEGER enumeration. - public int SeriesInfoInteger(string symbolName, ENUM_TIMEFRAMES timeframe, ENUM_SERIES_INFO_INTEGER propId) + public long SeriesInfoInteger(string symbolName, ENUM_TIMEFRAMES timeframe, ENUM_SERIES_INFO_INTEGER propId) { var commandParameters = new ArrayList { symbolName, (int)timeframe, (int)propId }; - return SendCommand(Mt5CommandType.SeriesInfoInteger, commandParameters); + return SendCommand(Mt5CommandType.SeriesInfoInteger, commandParameters); } ///