mtcli-trade
Este é um plugin para mtcli que adiciona o comando trade para gerenciamento de ordens e posições.
Instalação
pip install mtcli-trade
Comandos
- compra a mercado:
mt trade buy --symbol WINV25(compra a mercado o ativo WINV25). - compra limitada:
mt trade buy --symbol WINV25 --limit --preco 140200(compra limitada do WINV25 no preço 140200). - venda a mercado:
mt trade sell --symbol WINV25(vende a mercado o ativo WINV25). - venda limitada:
mt trade sell --symbol WINV25 --limit --preco 140800(venda limitada do WINV25 no preço 140800). - exibe todas as ordens pendentes:
mt trade orders(exibe todas as ordens pendentes),
mt trade orders --symbol WINV25(exibe todas as ordens pendentes de WINV25). - Cancela todas as ordens pendentes:
mt trade cancel(cancela todas as ordens pendentes),
mt trade cancel --symbol WINV25(cancela todas as ordens pendentes de WINV25). - exibe todas as posições abertas:
mt trade pos(exibe todas as posições abertas),
mt trade pos --symbol WINV25(exibe todas as posições abertas de WINV25). - Encerra todas as posições abertas:
mt trade zera(encerra todas as posições abertas),
mt trade zera --symbol WINV25(encerra todas as posições abertas de WINV25).
Metadata
Release files for mtcli-trade 1.7.0
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_trade-1.7.0.tar.gz | 6.1 kB | Without provenance | Details for mtcli_trade-1.7.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mtcli_trade-1.7.0-py3-none-any.whl | Python 3 | none | any | Details for mtcli_trade-1.7.0-py3-none-any.whl |
Total release size: 18.2 kB
Release files / mtcli_trade-1.7.0.tar.gz
| Download URL | mtcli_trade-1.7.0.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
08ec12bdebf781cca4af3e2e278533162d62a51031ecc58360b5f632ec57e7a9
|
|
BLAKE2b-256 checksum How to use checksums |
fe63fadc0bde8536a3921626a773dca25dc413833b2d6762bbc2336fd6694708
|
| 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_trade-1.7.0-py3-none-any.whl
| Download URL | mtcli_trade-1.7.0-py3-none-any.whl |
|---|---|
| Size | 12.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dfa45d63c466bfa7b0f1c0bfaea2024c51443036217388fcb5e44f4000e46dfb
|
|
BLAKE2b-256 checksum How to use checksums |
511686f5201a7f74824fc87e9dd667ebd07882ae5ca829ffc173e09c1016e69b
|
| 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-trade 1.7.0
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.