2019-05-14 13:59:21 +03:00
2019-05-05 11:58:16 +03:00
2019-04-22 17:32:13 +03:00
2019-04-21 19:42:06 +03:00
2019-05-05 11:58:16 +03:00
2019-04-21 19:42:06 +03:00
2019-05-14 13:59:21 +03:00

Metaquotes MQL5 - Python Backtrader - API

Development state: Betta (Code is stable, documentation in development)

Report Bug or Request Feature

Table of Contents

About The Project

This project was created to work as a broker for Backtrader trading framework. It uses ZeroMQ sockets to communicate. Python side of this project located here: Python Backtrader - Metaquotes MQL5

Working:

  • Change timeframe and instrument symdol
  • Account info
  • Balance info
  • Historical data
  • Live data
  • Fetching orders/positions
  • Order creation
  • Cancel order
  • Close position

Not working:

  • Trades info

Installation and usage

  1. Inastall ZeroMQ for MQL5 https://github.com/dingmaotu/mql-zmq
  2. Put 'include/json.mqh' from this repo to your host 'include' directoty.
  3. Compile the code and attach it to chart in Metatrader 5.
  4. This version dosn't support symbol and timeframe changing. You should control it yourself.

License

Distributed under the GNU License. See LICENSE for more information.

S
Description
No description provided
Readme GPL-3.0 723 KiB
Languages
MQL5 98.9%
Shell 1.1%