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.dev16.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.dev16-py3-none-any.whl (55.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mql2py-0.1.1.dev16.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.dev16.tar.gz
Algorithm Hash digest
SHA256 3382b5bf9284e09ce65fd97424ce318bc6c596cfab432423d19303b5b2956411
MD5 597fc6652e14439da348a327f7377726
BLAKE2b-256 b255d6380800bcf85e2d5007366f424f5b2ed56ec5dde6f8619c750ebb74a85e

See more details on using hashes here.

Provenance

The following attestation bundles were made for mql2py-0.1.1.dev16.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.dev16-py3-none-any.whl.

File metadata

  • Download URL: mql2py-0.1.1.dev16-py3-none-any.whl
  • Upload date:
  • Size: 55.7 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.dev16-py3-none-any.whl
Algorithm Hash digest
SHA256 d82b2ed0c22cebe525483d6867d77f7e9702df1e3d4e1b47575b30fcb46131c3
MD5 2465cc02a428b18c298c209578d989c5
BLAKE2b-256 7cbac40a2e500cacc4c7b63771d561ff68681bf423ec2074d5602e7334f9f3b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for mql2py-0.1.1.dev16-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