Skip to main content

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

df["rsi_10"] = rsi(df, window=10)
df = df.join(har_rv(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 (ou Series) e retorna Series (ou DataFrame) 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

quantmaster-0.1.1.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quantmaster-0.1.1-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file quantmaster-0.1.1.tar.gz.

File metadata

  • Download URL: quantmaster-0.1.1.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for quantmaster-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f20e85eb7060f42293fc140814ef0b828065aefaa50f0b52d9619476d8733027
MD5 21ce2f543282d1e6c676b95cc47f9ce9
BLAKE2b-256 aea8107d03ada1093a80823b9c6ab2b7de981ca89e66c7c3716bd13f3e5489a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for quantmaster-0.1.1.tar.gz:

Publisher: publish.yml on wolfox33/quantmaster

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file quantmaster-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: quantmaster-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for quantmaster-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6ad21de772063123fc3371546f15631d0de0017ddf08f1dd28cebf453947a836
MD5 f8d616f2a69ab3289eb4a3d631c744be
BLAKE2b-256 5fc463540aa4c69170cb69191a81a35cb253f7f8e81eca2737b712c822900eaa

See more details on using hashes here.

Provenance

The following attestation bundles were made for quantmaster-0.1.1-py3-none-any.whl:

Publisher: publish.yml on wolfox33/quantmaster

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page