pine_ta
pine_ta is a pure pandas and numpy implementation of popular technical indicators, inspired by Pine Script. No C extensions. No TA-Lib. Built for flexibility and easy integration with any DataFrame.
Features
- RSI, MACD, ADX, ATR, Bollinger Bands
- Stochastic, CCI, MFI, OBV, ROC, and more
- Matching Pine Script behavior (RMA, EMA, WMA)
- Single class API:
TechnicalIndicators
Installation
pip install pine_ta
(coming soon on PyPI)
Example Usage
import pandas as pd
from pine_ta import TechnicalIndicators
# Assume df is a DataFrame with 'open', 'high', 'low', 'close', 'volume'
df['rsi'] = TechnicalIndicators.rsi(df)
df['macd'], df['signal'], df['hist'] = TechnicalIndicators.macd(df)
df['adx'] = TechnicalIndicators.adx(df)
Requirements
- pandas
- numpy
License
MIT
Release files for pine-ta 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pine_ta-0.1.0.tar.gz | 6.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pine_ta-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.2 kB
Release files / pine_ta-0.1.0.tar.gz
| Download URL | pine_ta-0.1.0.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
57ea5e2b3ab03a0d50503567e4d993291f25f889f6f9adfb941098c621ba5b17
|
|
BLAKE2b-256 checksum How to use checksums |
1f4ed7ab3de57351cd526631d507a207f20f710aa37ce828593ee73993319c02
|
| 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 17, 2025.
Transparency logRelease files / pine_ta-0.1.0-py3-none-any.whl
| Download URL | pine_ta-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6dbf38972cd567325219a4da4f5c5739dd8ba5344df2293e01f2a57b0ede0c7
|
|
BLAKE2b-256 checksum How to use checksums |
83de5c8d37e4c7a19b48341409a72abb907f2a4b427f7a24c46e26048d42fb25
|
| 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 17, 2025.
Transparency log