MtApi5: fixed bug in function CopyTicks

This commit is contained in:
Viacheslav Demydiuk
2024-08-05 18:36:44 +03:00
parent 2081ada249
commit b7fe982393
+1 -1
View File
@@ -1441,7 +1441,7 @@ namespace MtApi5
{ "From", from }, { "Count", count } };
var response = SendCommand<List<MtTick>>(ExecutorHandle, Mt5CommandType.CopyTicks, cmdParams);
List<MqlTick>? ticks = response?.Select(t => new MqlTick(t)).ToList();
return null;
return ticks;
}
///<summary>