Python Apache-2.0

stock-indicators-python

Stock Indicators for Python. Maintained by @LeeDongGeon1996

F

facioquo

Dernière activité 26 sept. 2026
facioquo/stock-indicators-python

401

étoiles

63

forks

3

issues ouvertes

quantitative-financestockstock-analysisstock-indicatorsstock-markettechnical-analysistechnical-indicatorstradingtrading-algorithms

Ce README est souvent en anglais.

image

PyPI PyPI - Downloads

Stock Indicators for Python

Stock Indicators for Python is a PyPI library package that produces financial market technical indicators. Send in historical price quotes and get back desired indicators such as moving averages, Relative Strength Index, Stochastic Oscillator, Parabolic SAR, etc. Nothing more.

It can be used in any market analysis software using standard OHLCV price quotes for equities, commodities, forex, cryptocurrencies, and others. We had trading algorithms, machine learning, and charting systems in mind when originally creating this community library. Stock Indicators for .NET is also available.

Visit our project site for more information:

Getting started

Windows

  1. Install .NET SDK (8.0 or newer):

  2. Install the package:

    pip install stock-indicators

macOS

  1. Install .NET SDK (8.0 or newer):

    brew install dotnet-sdk
    dotnet --info  # Verify installation
  2. Install the package:

    pip install stock-indicators

Example usage

from stock_indicators import indicators

# fetch your data
quotes = get_history("MSFT")

# calculate 20-period SMA
results = indicators.get_sma(quotes, 20)

Note: This is a simple example. For a step-by-step guide, see the QuickStart Guide or our documentation site.

Projets similaires

Python library of various financial technical indicators

Pythonpythonpython2python3
Kkylejusticemagnuson
667 étoiles161

Python toolkit for quantitative finance: stock analysis, technical indicators, strategy backtesting, portfolio optimization, and financial modeling.

Pythonalgorithmic-tradingdata-sciencefinance
Sshashankvemuri
4,3 k étoiles374

30天掌握量化交易 (持续更新)

Pythonpythonquantstock
RRockyzsu
8,6 k étoiles1,7 k