feat: update Qodana configuration to disable failure conditions and improve build stability

refactor: enhance Bilateral and SMA indicators to handle edge cases and improve state management
refactor: clean up whitespace and formatting in various test files for consistency
This commit is contained in:
Miha Kralj
2025-12-28 16:22:45 -08:00
parent 5c3b3fbab4
commit 14c5f21d9e
50 changed files with 111 additions and 77 deletions
+2 -1
View File
@@ -63,11 +63,12 @@ public sealed class Blma : AbstractBase, IDisposable
public override void Prime(ReadOnlySpan<double> source, TimeSpan? step = null)
{
TimeSpan increment = step ?? TimeSpan.FromMilliseconds(1);
DateTime time = DateTime.UtcNow;
foreach (var value in source)
{
Update(new TValue(time, value));
time = time.AddMilliseconds(1);
time = time.Add(increment);
}
}