Skip to main content

MQL5 EA emulator — run MetaTrader EAs in Python without MetaTrader

Project description

mql2py

MQL5 EA emulator — run MetaTrader 5 Expert Advisors in Python without MetaTrader.

pip install mql2py
from mql2py import MQL5Runtime, Engine

rt = MQL5Runtime(symbol="EURUSD", initial_balance=10_000.0)
engine = Engine(my_ea, rt, bar_dataframe)
engine.run()

CLI

mql2py-emulator MyEA.mq5 --bars data.parquet --balance 10000

Project details


Download files

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

Source Distribution

mql2py-0.1.1.tar.gz (50.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mql2py-0.1.1-py3-none-any.whl (55.6 kB view details)

Uploaded Python 3

File details

Details for the file mql2py-0.1.1.tar.gz.

File metadata

  • Download URL: mql2py-0.1.1.tar.gz
  • Upload date:
  • Size: 50.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mql2py-0.1.1.tar.gz
Algorithm Hash digest
SHA256 31111cc3949bdfb226d750c7d442ff60fbefa2d11b6c8a4f7788a02e7f5a7327
MD5 6af9ac30438451a621a50f53b50e3c7a
BLAKE2b-256 5094692cb20c1b1455e033ab77ec3fe1c0a9e35543ebf6524a6894dda5f9b674

See more details on using hashes here.

Provenance

The following attestation bundles were made for mql2py-0.1.1.tar.gz:

Publisher: delivery.yml on elpic/kairos

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mql2py-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: mql2py-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 55.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mql2py-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a86e430b44421533d8280d99175e2b63b58c2f69e9509da00d3ac56e129b10d7
MD5 e6992d2563de6076aa03a51d4788b52a
BLAKE2b-256 f1ef4221f33e6ca6ff70dc3be384cfc42e4599297ed3bf873bf78032760393b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for mql2py-0.1.1-py3-none-any.whl:

Publisher: delivery.yml on elpic/kairos

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page