Plugin mtcli para gerenciamento de órdens
Project description
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).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mtcli_trade-1.5.0.tar.gz
(17.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mtcli_trade-1.5.0.tar.gz.
File metadata
- Download URL: mtcli_trade-1.5.0.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.12.10 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca39d759a0d29e4fd5ed2bc7c4627815c5e92c7bfb841b119cf565dc7b6cdaea
|
|
| MD5 |
eb8722bc4866220373b68e5c10866e07
|
|
| BLAKE2b-256 |
ef8503713ce33da09d7194f8fecac4bd4abce0360848b02da5f91061f01a06f2
|
File details
Details for the file mtcli_trade-1.5.0-py3-none-any.whl.
File metadata
- Download URL: mtcli_trade-1.5.0-py3-none-any.whl
- Upload date:
- Size: 22.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.12.10 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e8dc4249d4a8337522242335011b1cf49a3e1b63a6eb4d56d387c47a9a41eb4
|
|
| MD5 |
85f002328f7c9a8d4476dd68013e677c
|
|
| BLAKE2b-256 |
069f4cf6495b500b48bedf97492aa798a2a1f2f061d6acefcc99b580b11d91f6
|