Biblioteca de features quantitativas para algorithmic trading (OHLCV -> features).
Project description
Quantmaster
Biblioteca de features quantitativas para adicionar colunas em pandas.DataFrame com dados OHLCV.
Instalação (desenvolvimento)
pip install -e ".[dev]"
Uso rápido
from quantmaster.features.momentum import rsi
from quantmaster.features.volatility import har_rv
from quantmaster.features.utils import create_all
df["rsi_10"] = rsi(df, window=10)
df = df.join(har_rv(df))
# gerar várias features de uma vez (com defaults)
df = create_all(df)
Importar features de uma vez
Se você quiser importar várias features sem ficar apontando para cada submódulo, use o namespace quantmaster.features (exporta as features públicas em __all__):
from quantmaster.features import rsi, har_rv, yang_zhang_volatility, hurst_dfa
Você também pode fazer import wildcard (não recomendado em código de produção, mas útil em notebooks):
from quantmaster.features import *
Estrutura
- Features ficam em
src/quantmaster/features/separadas por categoria (Momentum, Trend, Volatility, etc.). - Cada feature é uma função que recebe
DataFrame(ouSeries) e retornaSeries(ouDataFrame) alinhado ao índice.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file quantmaster-0.1.3.tar.gz.
File metadata
- Download URL: quantmaster-0.1.3.tar.gz
- Upload date:
- Size: 25.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc891159aac9f5feb34119b721eeb7e0aa9106597e63a5f8375d5ba375aa999c
|
|
| MD5 |
9d436257e2688365a7cf0e14f317b63a
|
|
| BLAKE2b-256 |
3a137e24ec87b787f6ca3719fcf44fa5884bbf8254e31c3753b74299cde2e425
|
Provenance
The following attestation bundles were made for quantmaster-0.1.3.tar.gz:
Publisher:
publish.yml on wolfox33/quantmaster
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
quantmaster-0.1.3.tar.gz -
Subject digest:
cc891159aac9f5feb34119b721eeb7e0aa9106597e63a5f8375d5ba375aa999c - Sigstore transparency entry: 771526202
- Sigstore integration time:
-
Permalink:
wolfox33/quantmaster@747fada04f671bdbadadceb17b5a3217d4c95de0 -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/wolfox33
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@747fada04f671bdbadadceb17b5a3217d4c95de0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file quantmaster-0.1.3-py3-none-any.whl.
File metadata
- Download URL: quantmaster-0.1.3-py3-none-any.whl
- Upload date:
- Size: 23.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef9341fc2e1795c96b967201e06d70ee9681c76b24fe561a21aece77eee50eda
|
|
| MD5 |
ee91a3fd734addf37648c12125b7a687
|
|
| BLAKE2b-256 |
4da83cbc0b4b19c07ea8c5c29be482d31ff5ee913cef45bbf934598a17a0334f
|
Provenance
The following attestation bundles were made for quantmaster-0.1.3-py3-none-any.whl:
Publisher:
publish.yml on wolfox33/quantmaster
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
quantmaster-0.1.3-py3-none-any.whl -
Subject digest:
ef9341fc2e1795c96b967201e06d70ee9681c76b24fe561a21aece77eee50eda - Sigstore transparency entry: 771526203
- Sigstore integration time:
-
Permalink:
wolfox33/quantmaster@747fada04f671bdbadadceb17b5a3217d4c95de0 -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/wolfox33
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@747fada04f671bdbadadceb17b5a3217d4c95de0 -
Trigger Event:
push
-
Statement type: