Metadata-Version: 2.2
Name: stock-indicators
Version: 1.3.2
Summary: Stock Indicators for Python.  Send in historical price quotes and get back desired technical indicators such as Stochastic RSI, Average True Range, Parabolic SAR, etc.  Nothing more.
Author: Dave Skender
Maintainer: Dong-Geon Lee
License: Apache 2.0
Project-URL: Homepage, https://python.stockindicators.dev
Project-URL: Bug Tracker, https://github.com/facioquo/stock-indicators-python/issues
Project-URL: Documentation, https://python.stockindicators.dev
Project-URL: Source Code, https://github.com/facioquo/stock-indicators-python/tree/main
Project-URL: Release Notes, https://github.com/facioquo/stock-indicators-python/releases
Keywords: Stock Indicators,Technical Indicators,Market,Technical Analysis,Algorithmic,Trading,Trade,Momentum,Finance,Algorithm,Algo,AlgoTrading,Financial,Strategy,Chart,Charting,Oscillator,Overlay,Equity,Bitcoin,Crypto,Cryptocurrency,Forex,Quantitative,Historical,Quotes,Accumulation,Distribution,ADL,Aroon,True Range,ATR,Bollinger Bands,Commodity,CCI,Chandelier Exit,Chaikin Money Flow,CMF,MFI,Kaufman Adaptive,Moving Average,Convergence,Divergence,MACD,SMA,EMA,DEMA,TEMA,TRIX,Smoothed,Elder-ray,Bull,Bear,Power,Force,Hurst Exponent,Relative,Strength,Index,RSI,Connors RSI,Stochastic,Directional,Movement,ADX,Donchian,Keltner Channel,Heikin-Ashi,Hilbert Transform Instantaneous Trendline,Hull,HMA,Ichimoku Cloud,On-balance Volume,OBV,Price,PMO,PRS,Parabolic SAR,PSAR,Pivot Points,Rate of Change,ROC,Linear Regression,R-Squared,Renko,Schaff Cycle,Slope,Standard Deviation,Beta,Convexity,Correlation,SuperTrend,Ulcer,Ultimate,Vortex,Williams %R,Alligator,Gator,Fractal,Chaos,Choppiness,Endpoint,WMA,ZigZag
Classifier: Intended Audience :: Developers
Classifier: Topic :: Office/Business :: Financial
Classifier: Topic :: Office/Business :: Financial :: Investment
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Operating System :: POSIX
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS
Classifier: Typing :: Typed
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pythonnet>=3.0.0
Requires-Dist: typing_extensions>=4.4.0

[![image](https://raw.githubusercontent.com/facioquo/stock-indicators-python/main/docs/assets/social-banner.png)](https://python.stockindicators.dev/)

[![PyPI](https://img.shields.io/pypi/v/stock-indicators?color=blue&label=PyPI)](https://badge.fury.io/py/stock-indicators)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/stock-indicators?style=flat&logo=Python&logoColor=white&label=Downloads&color=indigo)](https://pypistats.org/packages/stock-indicators)

# 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](https://dotnet.stockindicators.dev/) is also available.

Visit our project site for more information:

- [Overview](https://python.stockindicators.dev/)
- [Indicators and overlays](https://python.stockindicators.dev/indicators/)
- [Guide and Pro tips](https://python.stockindicators.dev/guide/)
- [Release notes](https://github.com/facioquo/stock-indicators-python/releases)
- [Discussions](https://github.com/DaveSkender/Stock.Indicators/discussions)
- [Contributing](https://github.com/facioquo/stock-indicators-python/blob/main/docs/contributing.md#readme)

## Getting started

### Windows

1. Install .NET SDK (6.0 or newer):
    - Download from [Microsoft .NET Downloads](https://dotnet.microsoft.com/download)
    - Or using winget: `winget install Microsoft.DotNet.SDK.6`
    - Verify: `dotnet --info`

2. Install the package:

    ```bash
    pip install stock-indicators
    ```

### macOS

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

    ```bash
    brew install dotnet-sdk
    dotnet --info  # Verify installation
    ```

2. Install the package:

    ```bash
    pip install stock-indicators
    ```

## Example usage

```python
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](https://github.com/facioquo/stock-indicators-python-quickstart#readme) or our [documentation](https://python.stockindicators.dev/) site.
