Skip to content

Overlap

polars_ta.ta.overlap

Functions:

Name Description
BBANDS
DEMA
EMA

References

KAMA
MIDPOINT

MIDPOINT = (Highest Value + Lowest Value)/2

MIDPRICE

MIDPRICE = (Highest High + Lowest Low)/2

RMA

TA-Lib does not provide this algorithm explicitly, it is just put here for convenience

TEMA

Notes

TRIMA

BBANDS(close: Expr, timeperiod: float = 5.0, nbdevup: float = 2.0, nbdevdn: float = 2.0, matype: float = 0.0) -> Expr

DEMA(close: Expr, timeperiod: int = 30) -> Expr

EMA(close: Expr, timeperiod: int = 30) -> Expr

References

https://pola-rs.github.io/polars/py-polars/html/reference/expressions/api/polars.Expr.ewm_mean.html#polars.Expr.ewm_mean

KAMA(close: Expr, timeperiod: int = 30) -> Expr

MIDPOINT(close: Expr, timeperiod: int = 14) -> Expr

MIDPOINT = (Highest Value + Lowest Value)/2

References

https://github.com/TA-Lib/ta-lib/blob/main/src/ta_func/ta_MIDPOINT.c#L198

MIDPRICE(high: Expr, low: Expr, timeperiod: int = 14) -> Expr

MIDPRICE = (Highest High + Lowest Low)/2

References

https://github.com/TA-Lib/ta-lib/blob/main/src/ta_func/ta_MIDPRICE.c#L202

RMA(close: Expr, timeperiod: int = 30) -> Expr

TA-Lib does not provide this algorithm explicitly, it is just put here for convenience TA-Lib没有明确的提供此算法,这里只是为了调用方便而放在此处

References

https://pola-rs.github.io/polars/py-polars/html/reference/expressions/api/polars.Expr.ewm_mean.html#polars.Expr.ewm_mean https://github.com/twopirllc/pandas-ta/blob/main/pandas_ta/overlap/rma.py

TEMA(close: Expr, timeperiod: int = 30) -> Expr

Notes

todo: if the nesting level is too deep, maybe call talib.TEMA directly 嵌套层数过多,也许直接调用talib.TEMA更快

TRIMA(close: Expr, timeperiod: int = 30) -> Expr