mqpy


Namemqpy JSON
Version 0.6.9 PyPI version JSON
download
home_page
SummaryI developed this library to simplify the process of creating an Expert Advisor in MQL5. While developing in MQL5 can be complex, the same task is more streamlined in Python.
upload_time2023-12-09 11:48:29
maintainer
docs_urlNone
authorJoao Paulo Euko
requires_python>=3.8,<4.0
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ![PyPI - Downloads](https://img.shields.io/pypi/dm/mqpy)
![PyPI](https://img.shields.io/pypi/v/mqpy)
![PyPI - Wheel](https://img.shields.io/pypi/wheel/mqpy)
![PyPI - License](https://img.shields.io/pypi/l/mqpy)

# 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

- [Mql5-Python-Integration (MQPy)](#mql5-python-integration-mqpy)
  - [Table of Contents](#table-of-contents)
  - [Project Update: Changes in Progress](#project-update-changes-in-progress)
  - [Installation](#installation)
  - [Usage](#usage)
    - [Generate the File](#generate-the-file)
  - [Missing Features/Good Practice](#missing-featuresgood-practice)
    - [Delicate Metatrader5 Environment](#delicate-metatrader5-environment)
    - [Alternative Libraries](#alternative-libraries)

## 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](https://github.com/Joaopeuko/Mql5-Python-Integration/releases/tag/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:

```bash
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:

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

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

```bash
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](https://github.com/Joaopeuko/metatrader5EasyT): A more advanced library that aligns with best practices while providing a similar user-friendly approach. It is also available on PyPI.


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "mqpy",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "Joao Paulo Euko",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/86/38/a3baa627f9b6a34935ba8910e4b46af7cd03cfdca96bee72beb13e955c56/mqpy-0.6.9.tar.gz",
    "platform": null,
    "description": "![PyPI - Downloads](https://img.shields.io/pypi/dm/mqpy)\n![PyPI](https://img.shields.io/pypi/v/mqpy)\n![PyPI - Wheel](https://img.shields.io/pypi/wheel/mqpy)\n![PyPI - License](https://img.shields.io/pypi/l/mqpy)\n\n# Mql5-Python-Integration (MQPy)\n\n**Current Version: v0.6.9**\n\nWelcome to the Mql5-Python-Integration project! This project facilitates the integration between MetaTrader 5 (Mql5) and Python, allowing for efficient algorithmic trading strategies.\n\n## Table of Contents\n\n- [Mql5-Python-Integration (MQPy)](#mql5-python-integration-mqpy)\n  - [Table of Contents](#table-of-contents)\n  - [Project Update: Changes in Progress](#project-update-changes-in-progress)\n  - [Installation](#installation)\n  - [Usage](#usage)\n    - [Generate the File](#generate-the-file)\n  - [Missing Features/Good Practice](#missing-featuresgood-practice)\n    - [Delicate Metatrader5 Environment](#delicate-metatrader5-environment)\n    - [Alternative Libraries](#alternative-libraries)\n\n## Project Update: Changes in Progress\n\n\ud83d\udea7 **Work in Progress: v0.6.9**\nThis 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.\n\n\ud83d\udccc **Previous Version: v0.5.0**\nTo access the code for the previous version, you can check it out at [v0.5.0](https://github.com/Joaopeuko/Mql5-Python-Integration/releases/tag/v0.5.0).\n\n## Installation\n\n**Note: In order to use this package, you need to have MetaTrader 5 installed on a Windows system with Python 3.8 or later.**\n\nTo install the package, you can use the following command:\n\n```bash\npip install mqpy\n```\n\nMake sure to fulfill the prerequisites mentioned above before attempting to use the Mql5-Python-Integration (MQPy) package.\n\n## Usage\n\nBasic Usage\n\nOnce installed, you can use the mqpy command to generate the boilerplate code.\n\n### Generate the File\n\nTo create a template file for a trading strategy, use the following command:\n\n```bash\nmqpy --symbol <Symbol> --file_name <File Name>\n```\n\nPlease change `<Symbol>` and `<File Name>` to the desired values. For example:\n\n```bash\nmqpy --symbol EURUSD --file_name demo\n```\n\n## Missing Features/Good Practice\n\nThis 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.\n\n### Delicate Metatrader5 Environment\n\nMetatrader5 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.\n\n### Alternative Libraries\n\nFor users seeking a more advanced library with a similar concept, consider exploring the following alternative:\n\n[metatrader5EasyT](https://github.com/Joaopeuko/metatrader5EasyT): A more advanced library that aligns with best practices while providing a similar user-friendly approach. It is also available on PyPI.\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "I developed this library to simplify the process of creating an Expert Advisor in MQL5. While developing in MQL5 can be complex, the same task is more streamlined in Python.",
    "version": "0.6.9",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d5d9187e9f073e069406a36e557f5565e1a285510febbfb7acfe6f8145d30e96",
                "md5": "306bc223abc06fbaa95c005ff55e4b49",
                "sha256": "917b20ff7e7474a5bae63b1ef04e72e6ab24129d1579b14ea17624a381f19e9f"
            },
            "downloads": -1,
            "filename": "mqpy-0.6.9-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "306bc223abc06fbaa95c005ff55e4b49",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 13551,
            "upload_time": "2023-12-09T11:48:28",
            "upload_time_iso_8601": "2023-12-09T11:48:28.045742Z",
            "url": "https://files.pythonhosted.org/packages/d5/d9/187e9f073e069406a36e557f5565e1a285510febbfb7acfe6f8145d30e96/mqpy-0.6.9-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8638a3baa627f9b6a34935ba8910e4b46af7cd03cfdca96bee72beb13e955c56",
                "md5": "bca11bd71cedd031c99f025812985a19",
                "sha256": "c4a0af82b280c06066326617042a18e49204eea799f7b34f5720062f457dd37b"
            },
            "downloads": -1,
            "filename": "mqpy-0.6.9.tar.gz",
            "has_sig": false,
            "md5_digest": "bca11bd71cedd031c99f025812985a19",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 11437,
            "upload_time": "2023-12-09T11:48:29",
            "upload_time_iso_8601": "2023-12-09T11:48:29.631778Z",
            "url": "https://files.pythonhosted.org/packages/86/38/a3baa627f9b6a34935ba8910e4b46af7cd03cfdca96bee72beb13e955c56/mqpy-0.6.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-09 11:48:29",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "mqpy"
}
        
Elapsed time: 0.18037s