mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-19 19:18:05 +00:00
Covar, Kendall, Spearman
This commit is contained in:
@@ -18,6 +18,13 @@ public class StatisticsUpdateTests : UpdateTestBase
|
||||
TestDualTValueUpdate(indicator, indicator.Calc);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void Covar_Update()
|
||||
{
|
||||
var indicator = new Covar(period: 14);
|
||||
TestDualTValueUpdate(indicator, indicator.Calc);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void Curvature_Update()
|
||||
{
|
||||
@@ -39,6 +46,13 @@ public class StatisticsUpdateTests : UpdateTestBase
|
||||
TestTBarUpdate(indicator, indicator.Calc);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void Kendall_Update()
|
||||
{
|
||||
var indicator = new Kendall(period: 14);
|
||||
TestDualTValueUpdate(indicator, indicator.Calc);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void Kurtosis_Update()
|
||||
{
|
||||
@@ -95,6 +109,13 @@ public class StatisticsUpdateTests : UpdateTestBase
|
||||
TestTValueUpdate(indicator, indicator.Calc);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void Spearman_Update()
|
||||
{
|
||||
var indicator = new Spearman(period: 14);
|
||||
TestDualTValueUpdate(indicator, indicator.Calc);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void Stddev_Update()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user