Skip to main content

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


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-2.0.0.dev2.tar.gz (21.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mtcli_trade-2.0.0.dev2-py3-none-any.whl (31.9 kB view details)

Uploaded Python 3

File details

Details for the file mtcli_trade-2.0.0.dev2.tar.gz.

File metadata

  • Download URL: mtcli_trade-2.0.0.dev2.tar.gz
  • Upload date:
  • Size: 21.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.7 Windows/11

File hashes

Hashes for mtcli_trade-2.0.0.dev2.tar.gz
Algorithm Hash digest
SHA256 e930a2f92c1b47552eb76df5e3aa8deb913ab4ff89b925e3b7837979cffefaa9
MD5 0058b638b2c1248c895b31a7335f4814
BLAKE2b-256 d523bc0a36bb90bf18adff621324988f28a2848641db514ae8a1b08927d2b8a1

See more details on using hashes here.

File details

Details for the file mtcli_trade-2.0.0.dev2-py3-none-any.whl.

File metadata

  • Download URL: mtcli_trade-2.0.0.dev2-py3-none-any.whl
  • Upload date:
  • Size: 31.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.7 Windows/11

File hashes

Hashes for mtcli_trade-2.0.0.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 98949f6dead26b4ec30f15ffd67285aca313100875751fe36344028d6ab91480
MD5 595e1d9c66fe20b500d1250cd24514c1
BLAKE2b-256 37b3cbba0bfb041f2ebc2aad4b6ba07b418caff3ca2931952a2350c6747ec094

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page