codefactory corrections

This commit is contained in:
Miha Kralj
2024-11-03 16:24:08 -08:00
parent 16e5a9a392
commit 4753a10e29
5 changed files with 232 additions and 227 deletions
-9
View File
@@ -26,15 +26,6 @@ public class StatisticsUpdateTests
return new TBar(DateTime.Now, open, high, low, close, 1000, IsNew);
}
private TBar GetRandomBar(bool IsNew)
{
double open = GetRandomDouble();
double high = open + Math.Abs(GetRandomDouble());
double low = open - Math.Abs(GetRandomDouble());
double close = low + (high - low) * GetRandomDouble();
return new TBar(DateTime.Now, open, high, low, close, 1000, IsNew);
}
[Fact]
public void Curvature_Update()
{