From 28ea048594a16666b92032524e84cbe7886c67e0 Mon Sep 17 00:00:00 2001 From: Miha Kralj Date: Sun, 6 Nov 2022 17:45:15 -0800 Subject: [PATCH] Json dependency fix --- Source/QuanTAlib.csproj | 2 +- Tests/Tests.csproj | 3 +-- Tests/Validations/TA_LIB.cs | 4 ---- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/Source/QuanTAlib.csproj b/Source/QuanTAlib.csproj index 7ab08bc8..f8c323d7 100644 --- a/Source/QuanTAlib.csproj +++ b/Source/QuanTAlib.csproj @@ -67,6 +67,6 @@ - + \ No newline at end of file diff --git a/Tests/Tests.csproj b/Tests/Tests.csproj index 01a3925e..1eb34dd7 100644 --- a/Tests/Tests.csproj +++ b/Tests/Tests.csproj @@ -32,8 +32,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - - + diff --git a/Tests/Validations/TA_LIB.cs b/Tests/Validations/TA_LIB.cs index 0442d662..fef809ac 100644 --- a/Tests/Validations/TA_LIB.cs +++ b/Tests/Validations/TA_LIB.cs @@ -10,22 +10,18 @@ public class TA_LIB private readonly Random rnd = new(); private readonly int period; private readonly double[] TALIB; - private readonly double[] inopen; private readonly double[] inhigh; private readonly double[] inlow; private readonly double[] inclose; - private readonly double[] involume; public TA_LIB() { this.bars = new(1000); this.period = this.rnd.Next(28) + 3; this.TALIB = new double[this.bars.Count]; - this.inopen = this.bars.Open.v.ToArray(); this.inhigh = this.bars.High.v.ToArray(); this.inlow = this.bars.Low.v.ToArray(); this.inclose = this.bars.Close.v.ToArray(); - this.involume = this.bars.Volume.v.ToArray(); } /////////////////////////////////////////