Metadata-Version: 2.4
Name: quantmaster
Version: 0.1.4
Summary: Biblioteca de features quantitativas para algorithmic trading (OHLCV -> features).
License: MIT License
        
        Copyright (c) 2025
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/wolfox33/quantmaster
Project-URL: Source, https://github.com/wolfox33/quantmaster
Project-URL: Documentation, https://wolfox33.github.io/quantmaster/
Project-URL: Issues, https://github.com/wolfox33/quantmaster/issues
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy>=2.0
Requires-Dist: pandas>=2.2
Provides-Extra: dev
Requires-Dist: pytest>=8.3; extra == "dev"
Requires-Dist: ruff>=0.6; extra == "dev"
Provides-Extra: docs
Requires-Dist: mkdocs>=1.6; extra == "docs"
Requires-Dist: mkdocs-material>=9.5; extra == "docs"
Requires-Dist: mkdocstrings[python]>=0.26; extra == "docs"
Provides-Extra: signatures
Requires-Dist: iisignature; extra == "signatures"
Dynamic: license-file

# Quantmaster

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

## Instalação (desenvolvimento)

```bash
pip install -e ".[dev]"
```

## Uso rápido

```python
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__`):

```python
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):

```python
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.
