$npx skillfedfor your agent

stockstats

DataFrame with inline stock statistics support.

Worth itPyPI UtilitiesReleased Feb 2026219.7K downloads / moBSD-3-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — stockstats-0.6.8-py3-none-any.whl
v0.6.8 · released 2026-02-16 · Python >=3.9 · 2 runtime deps: numpy, pandas

Yes. stockstats is actively maintained, has no security vulnerabilities, low install friction, and a permissive license. It provides a comprehensive, well-documented library of technical indicators for stock analysis. Install it if you need to add technical analysis to pandas-based financial workflows; skip it only if you require indicators not in its supported list or need real-time streaming optimizations.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9+.
  • Input DataFrame must contain OHLCV columns: close, high, low, volume (case-insensitive).
  • Low install friction with only numpy and pandas as dependencies.

License · maintenance · safety

BSD-3-Clause (permissive) — BSD-3-Clause is permissive and poses no restriction on commercial or private use.

last release 2026-02-16 (179 days) · last repo commit 2026-06-19 · 1,486 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 219,665 downloads/mo, #9,322 on PyPI

Verify before relying

pip install stockstats

import pandas as pd
from stockstats import wrap

df = wrap(pd.read_csv('stock.csv'))
rsi = df['rsi']
sma_20 = df['close_20_sma']
  • Whether indicator calculations match industry-standard implementations or have known deviations from common trading platforms
  • Performance characteristics when working with large datasets or real-time streaming data
  • Accuracy of less common indicators like Ichimoku, Wave Trend, or Quantitative Qualitative Estimation relative to reference implementations
Same gist for agents: .md · .json

What it is and what it does

stockstats wraps pandas DataFrames to add inline technical analysis indicators commonly used in stock trading and financial analysis. It provides a large library of pre-built indicators—moving averages (SMA, EMA, SMMA, TEMA, LRMA, KAMA, VWMA, DMA), momentum oscillators (RSI, MACD, Stochastic, KDJ, ROC, CMO, KST, Coppock, AO, BOP, CTI, Inertia, PSL), trend indicators (Supertrend, Aroon, Ichimoku, DMI, TRIX, Wave Trend), volatility measures (Bollinger Bands, ATR, CCI, Williams %R, CHOP, KER, Z-Score, MAD, PGO), volume analysis (VR, MFI, PVO, VWMA), and oscillators (QQE, RVGI, ERI, FTR)—plus utility functions for delta, shifts, log returns, and cross-over detection.

You initialize it by wrapping a pandas DataFrame containing standard OHLCV columns (close, high, low, volume, optionally date), then access indicators by column name patterns like `df['rsi']` or `df['close_20_sma']`. Indicators are calculated on first access and cached; you can delete a column to force re-evaluation. Multi-line indicators like MACD and Bollinger Bands generate multiple columns at once. The library supports Python 3.9+ and has no compiled dependencies.

Use it for

  • Build trading signal detection systems by accessing RSI, MACD, or Bollinger Bands to identify overbought/oversold conditions and trend reversals.
  • Analyze historical stock data with cross-over detection (e.g., golden cross of 10-period and 50-period SMAs) to backtest trading strategies.
  • Generate multi-indicator dashboards by wrapping pandas data and accessing dozens of indicators with simple column access patterns.
  • Calculate momentum and volatility metrics (Stochastic RSI, ATR, CCI) for risk assessment and position sizing in algorithmic trading.
  • Detect trend changes using Supertrend, Aroon, Ichimoku, or DMI indicators to automate entry and exit signals.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

stockstats is actively maintained, has no security vulnerabilities, low install friction, and a permissive license. It provides a comprehensive, well-documented library of technical indicators for stock analysis. Install it if you need to add technical analysis to pandas-based financial workflows; skip it only if you require indicators not in its supported list or need real-time streaming optimizations.

Install

stockstats on PyPI

Before you install

Low install friction with only numpy and pandas as dependencies. Active maintenance with a recent release on 2026-02-16 and last commit on 2026-06-19; the repository has 1486 stars.

Requires Python 3.9+. Input DataFrame must contain OHLCV columns: close, high, low, volume (case-insensitive).

License in practice

BSD-3-Clause is permissive and poses no restriction on commercial or private use.

Quickstart

pip install stockstats

import pandas as pd
from stockstats import wrap

df = wrap(pd.read_csv('stock.csv'))
rsi = df['rsi']
sma_20 = df['close_20_sma']

Verify before relying

  • Whether indicator calculations match industry-standard implementations or have known deviations from common trading platforms
  • Performance characteristics when working with large datasets or real-time streaming data
  • Accuracy of less common indicators like Ichimoku, Wave Trend, or Quantitative Qualitative Estimation relative to reference implementations

Package facts

LicenseBSD-3-Clause permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
numpypandas
MaintenanceActively maintained 179 days since the last release
Last repo commit
First released
Downloads219,665 / month, #9,322 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: Financial and Insurance IndustryNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTopic :: Utilities

Evidence: stockstats-0.6.8-py3-none-any.whl

Tags

Capabilities
stock technical indicatorspandas stock analysisRSI MACD Bollinger Bandstrading indicators calculationstock statistics wrapperfinancial data analysismoving average indicators
Topics
technical-analysisfinancial-datatrading-indicators
PyPI keywords
stockstatisticsindicator

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “stock technical indicators”

  • stockstatsAdds technical analysis indicators and statistics to pandas…
  • tradingview-taRetrieves technical analysis indicators and trading signals from…
  • alpha-vantageFetches real-time and historical stock, cryptocurrency, forex, and…

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also ft-pandas-ta · technical · ta · pandas-ta-classic · TA-Lib · hampel · pandas-ta · tushare · alpha-vantage · finance-datareader