mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-08-05 06:57:46 +00:00
Issue #102: fixed long type of result in function SeriesInfoInteger
This commit is contained in:
@@ -611,11 +611,11 @@ namespace MtApi5
|
||||
///<param name="symbolName">Symbol name.</param>
|
||||
///<param name="timeframe"> Period.</param>
|
||||
///<param name="propId">Identifier of the requested property, value of the ENUM_SERIES_INFO_INTEGER enumeration.</param>
|
||||
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<int>(Mt5CommandType.SeriesInfoInteger, commandParameters);
|
||||
return SendCommand<long>(Mt5CommandType.SeriesInfoInteger, commandParameters);
|
||||
}
|
||||
|
||||
///<summary>
|
||||
|
||||
Reference in New Issue
Block a user