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:
pip install mtcli-rsi
Uso
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
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.
Metadata
Release files for mtcli-rsi 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mtcli_rsi-1.0.2.tar.gz | 4.1 kB | Without provenance | Details for mtcli_rsi-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mtcli_rsi-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for mtcli_rsi-1.0.2-py3-none-any.whl |
Total release size: 9.3 kB
Release files / mtcli_rsi-1.0.2.tar.gz
| Download URL | mtcli_rsi-1.0.2.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
83f6702ac5bf80130048eb7efab79a3c01f6ba7c4c5f5e714fe4913dd08082e0
|
|
BLAKE2b-256 checksum How to use checksums |
306364f67ace45f1a2f24b068fd9cf393841f6804db28b5f22d3d954123ea32f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.13.12 Windows/11
|
Release files / mtcli_rsi-1.0.2-py3-none-any.whl
| Download URL | mtcli_rsi-1.0.2-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3484c87aafa0e84a1daea194ab53f93d0511d5eaf33ee08f3863b91b5fbdb04d
|
|
BLAKE2b-256 checksum How to use checksums |
1a768018501c8b69c579280443862be95761cbfa287b56bfc0a466d31f0dc498
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.13.12 Windows/11
|
Security for mtcli-rsi 1.0.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.