Skip to main content

Quantmaster

Biblioteca de features quantitativas para adicionar colunas em pandas.DataFrame com dados OHLCV.

Instalação (desenvolvimento)

pip install -e ".[dev]"

Instalação (uso)

pip install quantmaster

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 approved de uma vez (com defaults)
df = create_all(df)

# incluir também features experimentais
# df = create_all(df, include_statuses=["approved", "experimental"])

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 (ou Series) e retorna Series (ou DataFrame) alinhado ao índice.

Qualidade

python -m ruff check .
python -m pytest
python -m build

Fluxo Para Agentes

  • Skills locais: .agents/skills/
  • Especificações de feature: feature_specs/
  • Templates de scaffold: templates/
  • Script de scaffold: scripts/new_feature.ps1
  • Script de verificação completa: scripts/agent_verify.ps1

Exemplo de scaffold:

scripts/new_feature.ps1 -Module momentum -Feature my_new_feature -DefaultWindow 20

Verificação ponta a ponta:

scripts/agent_verify.ps1

Metadata

Release files for quantmaster 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for quantmaster 0.2.2
File Size Uploaded Provenance Actions
quantmaster-0.2.2.tar.gz 33.2 kB With provenance Details for quantmaster-0.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for quantmaster 0.2.2
File Interpreter ABI Platform Actions
quantmaster-0.2.2-py3-none-any.whl Python 3 none any Details for quantmaster-0.2.2-py3-none-any.whl

Total release size: 60.8 kB

Release files / quantmaster-0.2.2.tar.gz

Download URL quantmaster-0.2.2.tar.gz
Size 33.2 kB
Tags Source
SHA-256 checksum
How to use checksums
10d22d722e2da8a6eff4c196cf1e17d4caa6caed7f842052e45efb93633fcbbd
BLAKE2b-256 checksum
How to use checksums
e17f6f05310f4d049665d93a7628a55e393d3b29470fca6c898c305f42add65e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 19, 2026.

Transparency log

Release files / quantmaster-0.2.2-py3-none-any.whl

Download URL quantmaster-0.2.2-py3-none-any.whl
Size 27.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3b5ceae4127147d216d5090ea90560955160c9b5ae8b0b17bcd70d11d229df44
BLAKE2b-256 checksum
How to use checksums
11e045b2b202b5acf19f5888b6fa47f8fb27ebf3e7d25e250331aa2efc611963
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 19, 2026.

Transparency log

Security for quantmaster 0.2.2

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for quantmaster-0.2.2.tar.gz

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 May 19, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page