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
@@ -11,7 +11,7 @@ __all__ = [
"adxvma",
"frama",
"holt",
"htit",
"ht_trendline",
"hwma",
"jma",
"kama",
@@ -86,14 +86,14 @@ def holt(close: object, period: int = 14, gamma: float = 0.0, offset: int = 0, *
return _wrap(output, idx, f"HOLT_{period}", "trends_iir", offset)
def htit(close: object, offset: int = 0, **kwargs) -> object:
def ht_trendline(close: object, offset: int = 0, **kwargs) -> object:
"""Hilbert Transform Instantaneous Trendline."""
offset = int(offset)
src, idx = _arr(close)
n = len(src)
output = _out(n)
_check(_lib.qtl_htit(_ptr(src), _ptr(output), n))
return _wrap(output, idx, "HTIT", "trends_iir", offset)
_check(_lib.qtl_httrendline(_ptr(src), _ptr(output), n))
return _wrap(output, idx, "HT_TRENDLINE", "trends_iir", offset)
def hwma(close: object, period: int = 14, offset: int = 0, **kwargs) -> object: