mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-15 09:08:04 +00:00
Merge dev into main: v0.8.7 Kahan compensated summation
This commit is contained in:
@@ -213,6 +213,9 @@ public class TSeries : IReadOnlyList<TValue>, ITValuePublisher
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public void Add(DateTime time, double value, bool isNew = true) => Add(new TValue(time, value), isNew);
|
||||
|
||||
/// <summary>
|
||||
/// Adds a sequence of raw <see langword="double"/> values with fabricated timestamps.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// <b>Synthetic timestamps:</b> Each element receives a fabricated timestamp starting at
|
||||
/// <see cref="DateTime.UtcNow"/> (captured once at call time) and incrementing by one minute
|
||||
|
||||
Reference in New Issue
Block a user