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
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
-
Install .NET SDK (6.0 or newer):
- Download from Microsoft .NET Downloads
- Or using winget:
winget install Microsoft.DotNet.SDK.6
- Verify:
dotnet --info
-
Install the package:
pip install stock-indicators
macOS
-
Install .NET SDK (6.0 or newer):
brew install dotnet-sdk dotnet --info # Verify installation
-
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 |
1218768cab45f513702468a60e6dab5ac9fa1fcc3b33502fc562a4daf78ef139
|
|
MD5 |
046f9158030ad317912e051cab2a69fd
|
|
BLAKE2b-256 |
6a84d60bfbd389fdfe8a81b194de4611355a3e0995bea80df5f56fde7b54e1b6
|
Provenance
The following attestation bundles were made for stock_indicators-1.3.5.tar.gz
:
Publisher:
deploy-package.yml
on facioquo/stock-indicators-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
stock_indicators-1.3.5.tar.gz
-
Subject digest:
1218768cab45f513702468a60e6dab5ac9fa1fcc3b33502fc562a4daf78ef139
- Sigstore transparency entry: 227014214
- Sigstore integration time:
-
Permalink:
facioquo/stock-indicators-python@da3ea4b104c82a8b827ef495af95f46d729423ca
-
Branch / Tag:
refs/tags/1.3.5
- Owner: https://github.com/facioquo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
deploy-package.yml@da3ea4b104c82a8b827ef495af95f46d729423ca
-
Trigger Event:
push
-
Statement type:
File details
Details for the file stock_indicators-1.3.5-py3-none-any.whl
.
File metadata
- Download URL: stock_indicators-1.3.5-py3-none-any.whl
- Upload date:
- Size: 185.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
0936b1e95479161295aa99238f097d296f28de3f354cf629086812940af613f3
|
|
MD5 |
3f5c287ff81173ad8a3148fee639ec16
|
|
BLAKE2b-256 |
b715710e67b12fd45e2499190a58e627ff7458d24f04c9e797ba6975ba5f11b1
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
stock_indicators-1.3.5-py3-none-any.whl
-
Subject digest:
0936b1e95479161295aa99238f097d296f28de3f354cf629086812940af613f3
- Sigstore transparency entry: 227014216
- Sigstore integration time:
-
Permalink:
facioquo/stock-indicators-python@da3ea4b104c82a8b827ef495af95f46d729423ca
-
Branch / Tag:
refs/tags/1.3.5
- Owner: https://github.com/facioquo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
deploy-package.yml@da3ea4b104c82a8b827ef495af95f46d729423ca
-
Trigger Event:
push
-
Statement type: