fix: resolve build and test errors

- Sar.Quantower.Tests.cs: add missing opening quote on string literal (line 48)
- Exports.cs: rename Correlation.Batch → Correl.Batch (CS0103)
- Ad.Validation.Tests.cs: fix Ooples OutputValues key "Ad" → "Adl"
This commit is contained in:
Miha Kralj
2026-03-16 12:45:13 -07:00
parent 3b0cdca567
commit 6f0a339c9b
131 changed files with 1570 additions and 1571 deletions
+4 -4
View File
@@ -16,7 +16,7 @@ namespace QuanTAlib;
[SkipLocalsInit]
public sealed class Adosc : ITValuePublisher
{
private readonly Adl _adl;
private readonly Ad _ad;
private readonly Ema _emaFast;
private readonly Ema _emaSlow;
@@ -64,7 +64,7 @@ public sealed class Adosc : ITValuePublisher
throw new ArgumentException("Fast period must be less than slow period", nameof(fastPeriod));
}
_adl = new Adl();
_ad = new Ad();
_emaFast = new Ema(fastPeriod);
_emaSlow = new Ema(slowPeriod);
WarmupPeriod = slowPeriod;
@@ -77,7 +77,7 @@ public sealed class Adosc : ITValuePublisher
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void Reset()
{
_adl.Reset();
_ad.Reset();
_emaFast.Reset();
_emaSlow.Reset();
Last = default;
@@ -110,7 +110,7 @@ public sealed class Adosc : ITValuePublisher
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public TValue Update(TBar input, bool isNew = true)
{
var adl = _adl.Update(input, isNew);
var adl = _ad.Update(input, isNew);
return Update(adl, isNew);
}