Metadata-Version: 2.4
Name: mtcli-rsi
Version: 1.0.2
Summary: Plugin mtcli do indicador RSI
License-Expression: MIT
License-File: LICENSE
Keywords: trading,RSI,indicador técnico,análise técnica,metatrader5,mt5,cli,acessibilidade,screen reader friendly
Author: Valmir França
Author-email: vfranca3@gmail.com
Requires-Python: >=3.10,<3.14.0
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Financial and Insurance Industry
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Operating System :: OS Independent
Classifier: Topic :: Office/Business :: Financial :: Investment
Requires-Dist: click (>=8.3.1,<9.0.0)
Requires-Dist: metatrader5 (>=5.0.5640,<6.0.0)
Requires-Dist: mtcli (>=3.7.1)
Requires-Dist: pandas (>=2.3.2,<3.0.0)
Project-URL: Documentation, https://mtcli-rsi.readthedocs.io
Project-URL: Homepage, https://github.com/vfranca/mtcli-rsi
Project-URL: Issues, https://github.com/vfranca/mtcli-rsi/issues
Project-URL: Repository, https://github.com/vfranca/mtcli-rsi
Description-Content-Type: text/markdown

# mtcli-rsi
  
Plugin do `mtcli` para calcular e exportar o indicador *RSI (Relative Strength Index)* a partir do MetaTrader 5 usando a linha de comando.
  
---
  
## Requisitos
  
- Python 3.10+
- MetaTrader 5 instalado e configurado
- Conta ativa em corretora compatível com MT5
  
---
  
## Instalação
  
Instale o plugin via pip:
  
```bash
pip install mtcli-rsi
```
  
---
  
## Uso
  
```bash
mt rsi --symbol WINN --period M5 --periodo 9 --bars 20
```
  
| Parâmetro        | Descrição                                              | Padrão  |
|------------|--------------------------------------|------|
| --symbol, -s | Símbolo do ativo                                       | WINN   |
| --period, -p | Timeframe dos candles (ex: M1, M5, H1, D1)             | M5      |
| --periodo, -pe | Período do RSI                                     | 9       |
| --bars         | Quantidade de candles                                 | 20      |
| --db           | Arquivo SQLite onde salvar os dados                   | rsi.db  |
  
---
  
Armazenamento
  
Os resultados do RSI são salvos em um arquivo SQLite com as colunas:
  
- RSI: valor do RSI (arredondado)
- close: preço de fechamento
- time: timestamp do candle
  
---
  
Exemplo de uso
  
```bash
mt rsi -s PETR4 -p M15 -pe 14 -bars 50 --db indicadores.db
```
  
---
  
## Contribuindo
  
Quer contribuir com o desenvolvimento, testes ou melhorias? Veja o arquivo [CONTRIBUTING.md](CONTRIBUTING.md).

