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.0.dev12.tar.gz (49.8 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.0.dev12-py3-none-any.whl (55.3 kB view details)

Uploaded Python 3

File details

Details for the file mql2py-0.1.0.dev12.tar.gz.

File metadata

  • Download URL: mql2py-0.1.0.dev12.tar.gz
  • Upload date:
  • Size: 49.8 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.0.dev12.tar.gz
Algorithm Hash digest
SHA256 5f3d2d7877c994487c502e2e82ed42aab7259233c3f5c7090c6112f169fcc8e8
MD5 991142b1016c5f044e483363e19147ef
BLAKE2b-256 20fb0c08304254c9efd298f7dee2b3636dd7afede4f0a91ee14b3c0a34d62521

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: mql2py-0.1.0.dev12-py3-none-any.whl
  • Upload date:
  • Size: 55.3 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.0.dev12-py3-none-any.whl
Algorithm Hash digest
SHA256 8b4e97fb9c51401ae74b1d36985bbc4987e3e1f505f0620c346daadbef2b54dc
MD5 5e4b652aaa88e19219995a2849fad2a0
BLAKE2b-256 bce0b983300cd33802a53e08a35221f242ca673fc076b9b733f1a73be2059836

See more details on using hashes here.

Provenance

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