public async Task TestSdAsync() { var equity = await ImportEquityAsync(); var indicator = new StandardDeviation(equity, 10); var result = indicator.ComputeByIndex(equity.Count - 1); Assert.IsTrue(0.93m.IsApproximatelyEquals(result.Sd.Value)); }
public async Task TestSdAsync() { var equity = await ImportEquityAsync(); var indicator = new StandardDeviation(equity, 10); var result = indicator.ComputeByIndex(equity.Count - 1); Assert.IsTrue(0.93m.IsApproximatelyEquals(result.Sd.Value)); }