indicator.pandas_ta
indicator.pandas_ta
pandas-ta-classic indicators exposed under the qrt indicator namespace.
Every pandas-ta-classic indicator is available under its usual (lowercase) name and accepts an OHLCV DataFrame with lowercase columns (open, high, low, close, volume) – the frame layout returned by qrt.data.sources’s read() functions (e.g. qrt.data.sources.yfinance.read(...)). Indicators that only need a price series also accept a plain Series (treated as close). The datetime index is preserved and outputs keep pandas-ta’s parameterised names (e.g. RSI_14, MACD_12_26_9).
Examples
>>> q.indicator.pandas_ta.rsi(ohlc) # Series 'RSI_14'
>>> q.indicator.pandas_ta.bbands(ohlc, length=20) # DataFrame BBL/BBM/BBU...
>>> q.indicator.pandas_ta.cdl_pattern(ohlc, name="doji")
>>> q.indicator.pandas_ta.rsi(prices) # Series in, Series outUse dir(q.indicator.pandas_ta) to list all indicators, or help(q.indicator.pandas_ta.rsi) for a function’s parameters.