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.3.tar.gz (4.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stock_indicators-1.3.3-py3-none-any.whl (3.3 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for stock_indicators-1.3.3.tar.gz
Algorithm Hash digest
SHA256 71be015d5dac47c53baf723854bdd93553c438c1571e8d3bd9ed4b37cd36a179
MD5 a81b81d5099344d38195531307432b30
BLAKE2b-256 95daf329ed69bbddd25de968847c663e7242470eab8f0049dbb4b76f3b64dcd1

See more details on using hashes here.

Provenance

The following attestation bundles were made for stock_indicators-1.3.3.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.3-py3-none-any.whl.

File metadata

File hashes

Hashes for stock_indicators-1.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0119035e049718fa8c8040d88dbcd39e0f3e1bac076ccae1de455e40c24f329f
MD5 f925d76015bf62f43c309f2517eb6a5e
BLAKE2b-256 18e1b5e0fa0c0051387863b5ec77acc48f161c52c352cb5db02b4392a4fbeefb

See more details on using hashes here.

Provenance

The following attestation bundles were made for stock_indicators-1.3.3-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 Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page