Linear Decay (decay)
def decay(real: NDArray[Shape["*", Float]], period: float | int) -> NDArray[Shape["*"], Float]:
"""
Linear Decay
Inputs: real
Options: period
Outputs: decay
"""
pass
Linear Decay 指标需要 1 个输入参数和 1 个选项参数。
该指标返回 1 个输出
输入
real
- anumpy.array
ofnumpy.float64
选项
period
-float | int
输出
decay