mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-20 19:48:05 +00:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user