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); } ///