Coder Social home page Coder Social logo

joaopeuko / mql5-python-integration Goto Github PK

View Code? Open in Web Editor NEW
153.0 13.0 44.0 59 KB

I created this library to streamline the process of developing an Expert Advisor in MQL5. While MQL5 development can be complex, the same task is more straightforward in Python.

Home Page: https://github.com/Joaopeuko/Mql5-Python-Integration

License: MIT License

Python 100.00%
mql5 mql5-api mql5-python expert-advisor metatrader5 stock stock-market stock-trading ibovespa b3

mql5-python-integration's Introduction

PyPI - Downloads PyPI PyPI - Wheel PyPI - License

Mql5-Python-Integration (MQPy)

Current Version: v0.6.9

Welcome to the Mql5-Python-Integration project! This project facilitates the integration between MetaTrader 5 (Mql5) and Python, allowing for efficient algorithmic trading strategies.

Table of Contents

Project Update: Changes in Progress

๐Ÿšง Work in Progress: v0.6.9 This project is currently undergoing significant changes and improvements. The latest version is v0.6.0, and various enhancements are being made to provide a more robust and user-friendly experience.

๐Ÿ“Œ Previous Version: v0.5.0 To access the code for the previous version, you can check it out at v0.5.0.

Installation

Note: In order to use this package, you need to have MetaTrader 5 installed on a Windows system with Python 3.8 or later.

To install the package, you can use the following command:

pip install mqpy

Make sure to fulfill the prerequisites mentioned above before attempting to use the Mql5-Python-Integration (MQPy) package.

Usage

Basic Usage

Once installed, you can use the mqpy command to generate the boilerplate code.

Generate the File

To create a template file for a trading strategy, use the following command:

mqpy --symbol <Symbol> --file_name <File Name>

Please change <Symbol> and <File Name> to the desired values. For example:

mqpy --symbol EURUSD --file_name demo

Missing Features/Good Practice

This library has been in existence for several years and was designed to be simple and straightforward. While there are plans to enhance it with features such as logging and other components to improve its overall quality, there are considerations specific to the nature of the Metatrader5 library.

Delicate Metatrader5 Environment

Metatrader5 operates within a highly restrictive environment, and certain practices that may be considered best practices in other contexts might cause trouble for newcomers in software development, which is the main focus of this library. For the sake of simplicity and ease of use, the library currently retains some practices that may not align with conventional best practices.

Alternative Libraries

For users seeking a more advanced library with a similar concept, consider exploring the following alternative:

metatrader5EasyT: A more advanced library that aligns with best practices while providing a similar user-friendly approach. It is also available on PyPI.

mql5-python-integration's People

Contributors

joaopeuko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mql5-python-integration's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.