Skip to main content

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.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stock_indicators-1.3.5.tar.gz (4.7 MB view details)

Uploaded Source

Built Distribution

stock_indicators-1.3.5-py3-none-any.whl (185.4 kB view details)

Uploaded Python 3

File details

Details for the file stock_indicators-1.3.5.tar.gz.

File metadata

  • Download URL: stock_indicators-1.3.5.tar.gz
  • Upload date:
  • Size: 4.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for stock_indicators-1.3.5.tar.gz
Algorithm Hash digest
SHA256 1218768cab45f513702468a60e6dab5ac9fa1fcc3b33502fc562a4daf78ef139
MD5 046f9158030ad317912e051cab2a69fd
BLAKE2b-256 6a84d60bfbd389fdfe8a81b194de4611355a3e0995bea80df5f56fde7b54e1b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for stock_indicators-1.3.5.tar.gz:

Publisher: deploy-package.yml on facioquo/stock-indicators-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file stock_indicators-1.3.5-py3-none-any.whl.

File metadata

File hashes

Hashes for stock_indicators-1.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0936b1e95479161295aa99238f097d296f28de3f354cf629086812940af613f3
MD5 3f5c287ff81173ad8a3148fee639ec16
BLAKE2b-256 b715710e67b12fd45e2499190a58e627ff7458d24f04c9e797ba6975ba5f11b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for stock_indicators-1.3.5-py3-none-any.whl:

Publisher: deploy-package.yml on facioquo/stock-indicators-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page