Skip to main content

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 (6.0 or newer):

  2. Install the package:

    pip install stock-indicators
    

macOS

  1. Install .NET SDK (6.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.

Metadata

Release files for stock-indicators 1.3.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stock-indicators 1.3.5
File Size Uploaded
stock_indicators-1.3.5.tar.gz 4.7 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for stock-indicators 1.3.5
File Interpreter ABI Platform
stock_indicators-1.3.5-py3-none-any.whl Python 3 none any Details

Total release size: 4.9 MB

Release files / stock_indicators-1.3.5.tar.gz

Download URL stock_indicators-1.3.5.tar.gz
Size 4.7 MB
Tags Source
SHA-256 checksum
How to use checksums
1218768cab45f513702468a60e6dab5ac9fa1fcc3b33502fc562a4daf78ef139
BLAKE2b-256 checksum
How to use checksums
6a84d60bfbd389fdfe8a81b194de4611355a3e0995bea80df5f56fde7b54e1b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 2, 2025.

Transparency log

Release files / stock_indicators-1.3.5-py3-none-any.whl

Download URL stock_indicators-1.3.5-py3-none-any.whl
Size 185.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0936b1e95479161295aa99238f097d296f28de3f354cf629086812940af613f3
BLAKE2b-256 checksum
How to use checksums
b715710e67b12fd45e2499190a58e627ff7458d24f04c9e797ba6975ba5f11b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 2, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

1.3.5 This release

2 release files

1.3.4

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.1

1 release file

1.0.0

1 release file

0.8.1

1 release file

0.8.0

1 release file

0.7.0

1 release file

0.6.0

1 release file

0.5.0

1 release file

0.4.0

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page