mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-03 03:47:42 +00:00
feat: add length->period kwargs alias across all 168 indicator functions for pandas-ta compat
This commit is contained in:
@@ -100,7 +100,7 @@ def solar(close: object, offset: int = 0, **kwargs) -> object:
|
||||
|
||||
def ssfdsp(close: object, period: int = 14, offset: int = 0, **kwargs) -> object:
|
||||
"""Supersmoother DSP."""
|
||||
period = int(period)
|
||||
period = int(kwargs.get("length", period))
|
||||
offset = int(offset)
|
||||
src, idx = _arr(close)
|
||||
n = len(src)
|
||||
|
||||
Reference in New Issue
Block a user