Skip to main content

Utilitario de linha de comando para operacoes de spread em commodities agricolas com o MetaTrader 5

Project description

MTSpread

Utilitário de linha de comando para operações de spread em commodities agrícolas com o MetaTrader 5.


Pré-requisitos

  • MetaTrader5 - Plataforma de trading.
  • API.ex5 - Expert advisor executando no MetaTrader5.
  • Python - Interpretador de comandos disponível no prompt de comando.

Instalação

> pip install mtspread

Comandos

spread - Retorna dados do spread entre 2 ativos.

> spread <ativo1> <ativo2> [-c 250]  

Exibe dados do spread entre ativo1 e ativo2 em 250 períodos
exemplo:

> spread ccmk20 ccmh20

resultado:

4.00
media 250 3.97
maxima 4.80
minima 3.64
desvio padrao 0.18

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mtspread, version 0.5.0
Filename, size File type Python version Upload date Hashes
Filename, size mtspread-0.5.0-py3-none-any.whl (4.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size mtspread-0.5.0.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page