semvec/pypi-packages huggingface dataset:
mtspread 0.5.0
Utilitario de linha de comando para operacoes de spread em commodities agricolas com o MetaTrader 5
License: MIT
Requires Python: >=3.8,<4.0
Keywords: metatrader5,trading,commodities,bmf,cli

# MTSpread  

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

------------

## Pré-requisitos  

* [MetaTrader5](https://www.metatrader5.com/pt) - Plataforma de trading.  
* [API.ex5](https://drive.google.com/file/d/1Osofc0PfxHpKk6FVCVucaSGnlmSPtnaL/view?usp=sharing) - Expert advisor executando no MetaTrader5.  
* [Python](https://www.python.org/downloads/windows) - 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
phantomsetup 0.0.1
Phantom setup with Python and HDF5
License: MIT

Phantom setup
=============

> phantom-setup: generate initial conditions for [Phantom](https://bitbucket.org/danielprice/phantom) simulations

+ Docs: https://phantom-setup.readthedocs.io/
+ Repo: https://www.github.com/dmentipl/phantom-setup

[![Build Status](https://travis-ci.org/dmentipl/phantom-setup.svg?branch=master)](https://travis-ci.org/dmentipl/phantom-setup)
[![Coverage Status](https://coveralls.io/repos/github/dmentipl/phantom-setup/badge.svg?branch=master)](https://coveralls.io/github/dmentipl/phantom-setup?branch=master)
[![Documentation Status](https://readthedocs.org/projects/phantom-setup/badge/?version=latest)](https://phantom-setup.readthedocs.io/en/latest/?badge=latest)
[![PyPI](https://img.shields.io/pypi/v/phantomsetup)](https://pypi.org/project/phantomsetup/)
[![Anaconda Version](https://img.shields.io/conda/v/dmentipl/phantom-setup.svg)](https://anaconda.org/dmentipl/phantom-setup)

Install
-------

Install via conda.

```
conda install phantomsetup --channel dmentipl
```

Install via pip.

```
pip install phantomsetup
```

Usage
-----

To generate initial conditions for a Phantom simulation via a Python script with phantom-setup:

1. Instantiate a `phantomsetup.Setup` object.
2. Add particles, set arrays, units, equation of state, sinks, dust, and other parameters.
3. Write a Phantom HDF5 dump file containing the particle arrays.
4. Write a Phantom in file containing the run time parameters.
5. Compile Phantom with the correct Makefile variables.

Then run Phantom.

Examples
--------

The `examples` folder contains examples that you can run as a Python script or Jupyter notebook.