takit
Technical analysis library for Python.
Definitions
The library is structured around the following definitions:
- Indicator: Produces a continuous value based on the input data to indicate trend, momentum, volatility, etc.
- Signal: Produces a discrete value like 1, 0, -1 to signal trend change, overbought, oversold, etc.
These functions are located in the different subpackages indicators and signals.
Features
- Validation of input pandas Series / DataFrames to indicators and signals
- Ready to use signal calculations based on the indicator values
Installation
pip install takit
# or with optional group `data` for fetching data
pip install "takit[data]"
Usage
To use the following example you need to install the library with the optional group data.
import pandas as pd
import takit
# Fetch data
ohlc = takit.data.fetch_data(
data_source="binance", ticker="BTCUSDT", interval="1d", start="2023-01-01", end="2025-07-01"
)
# Calculate indicators
df = pd.concat(
[
ohlc,
takit.bb(ohlc["close"], include_width=True, include_percentage=True),
takit.wvf(ohlc),
takit.rsi(ohlc["close"]),
],
axis=1,
)
print(df.tail(40))
Metadata
Release files for takit 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 | Provenance | Actions |
|---|---|---|---|---|
| takit-0.1.0.tar.gz | 12.9 kB | Without provenance | Details for takit-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| takit-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for takit-0.1.0-py3-none-any.whl |
Total release size: 34.1 kB
Release files / takit-0.1.0.tar.gz
| Download URL | takit-0.1.0.tar.gz |
|---|---|
| Size | 12.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
37dc033c670c1912f85fde18a0638f433adf6851369d5caeb0dbc135783e973f
|
|
BLAKE2b-256 checksum How to use checksums |
6ad9a869511670cb23ab08da6da4fc953429a0f16fa48d01b8aeeec63cd96104
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.3
|
Release files / takit-0.1.0-py3-none-any.whl
| Download URL | takit-0.1.0-py3-none-any.whl |
|---|---|
| Size | 21.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
13d8e7ee3680610e55a58522baf3f24d28a9036d479d4d43e9cf43548058e33e
|
|
BLAKE2b-256 checksum How to use checksums |
2f5e6b871568461aa330dea7e2daa4f7798ee64b2940cf41643c7aa7f9c4cd91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.3
|
Security for takit 0.1.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.