Hi
Potentially a very useful library! As you say, there's a lack of C# resources that handle bar-by-bar live updating efficiently.
I realise it's still very new, but the link to the Getting Started notebook is broken, so it's quite hard to get your head around usage.
I've dug around the source, but there seems to be something I'm missing.
For example I expected the code below to output 4, 5, 6, but I'm seeing:
SMA1: 4
SMA2: 4.333333333333333
SMA3: 4.666666666666667
TSeries vals = new() { 1, 2, 3, 4, 5 };
SMA_Series sma = new(vals, 3);
Print.Line("SMA1: " + sma.Last().v);
vals.Add(6, true);
Print.Line("SMA2: " + sma.Last().v);
vals.Add(7, true);
Print.Line("SMA3: " + sma.Last().v);
I didn't see any examples of the update functionality in the test suite so I'm not sure if it's my issue or yours. If I'm misunderstanding something I'd appreciate any pointers.
More generally, it would be great if you could find the time to fix the notebook, or to add some examples to the readme.
Thanks for all your hard work!