mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-08-15 03:38:09 +00:00
MtApi5: fixed bug in function CopyTicks
This commit is contained in:
@@ -1441,7 +1441,7 @@ namespace MtApi5
|
|||||||
{ "From", from }, { "Count", count } };
|
{ "From", from }, { "Count", count } };
|
||||||
var response = SendCommand<List<MtTick>>(ExecutorHandle, Mt5CommandType.CopyTicks, cmdParams);
|
var response = SendCommand<List<MtTick>>(ExecutorHandle, Mt5CommandType.CopyTicks, cmdParams);
|
||||||
List<MqlTick>? ticks = response?.Select(t => new MqlTick(t)).ToList();
|
List<MqlTick>? ticks = response?.Select(t => new MqlTick(t)).ToList();
|
||||||
return null;
|
return ticks;
|
||||||
}
|
}
|
||||||
|
|
||||||
///<summary>
|
///<summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user