Revert "for dev branch"

This reverts commit 32615af18b.
This commit is contained in:
Miha Kralj
2022-11-06 17:23:33 -08:00
parent 28025fbdd3
commit 09a014f6ed
9 changed files with 77 additions and 68 deletions
+10 -1
View File
@@ -28,7 +28,16 @@ public class TA_LIB
this.involume = this.bars.Volume.v.ToArray();
}
/////////////////////////////////////////
/////////////////////////////////////////
[Fact]
public void SDEV()
{
SDEV_Series QL = new(this.bars.Close, this.period, false);
Core.StdDev(this.inclose, 0, this.bars.Count - 1, this.TALIB, out int outBegIdx, out _, this.period);
Assert.Equal(Math.Round(this.TALIB[this.TALIB.Length - outBegIdx - 1], 8), Math.Round(QL.Last().v, 8));
}
[Fact]
public void SMA()