Skip to main content

MetaTrader5 for Silicon

Project description

SiliconMetaTrader5 (macOS Silicon Optimized)

Developer: Bahadir Umut Iscimen

A Python wrapper for MetaTrader5 that enables seamless Algorithmic Trading on macOS (Apple Silicon M1/M2/M3) via Docker/Wine.

This library acts as a bridge between your native macOS Python environment and the MetaTrader5 terminal running inside a compatibility layer (Docker/Wine).

Features

  • macOS Silicon Native Feel: Use import siliconmetatrader5 directly in your Mac's terminal or IDE (VSCode, PyCharm).
  • High Performance: Optimized for low-latency IPC with the Dockerized MT5 engine.
  • Full Compatibility: Supports 99% of the official MetaTrader5 Python API.

Prerequisites

You need the accompanying Docker engine running. Please refer to the Main Repository Layout for full setup instructions.

Installation

pip install siliconmetatrader5

Usage

Once your Docker engine is running:

from siliconmetatrader5 import MetaTrader5

# Connect to the Dockerized MT5
mt5 = MetaTrader5(host="localhost", port=8001)

# Use it just like the standard library
if mt5.initialize():
    print("Connected to SiliconMetaTrader5!")
    print(mt5.terminal_info())
    mt5.shutdown()

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

siliconmetatrader5-1.0.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

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

siliconmetatrader5-1.0-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file siliconmetatrader5-1.0.tar.gz.

File metadata

  • Download URL: siliconmetatrader5-1.0.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for siliconmetatrader5-1.0.tar.gz
Algorithm Hash digest
SHA256 f5abaf4b25d28eb86189963638385e26ed0ae0a336a8b50eeccdb61542ebd5a3
MD5 d6af2706d41d19483cfe628c49f8e5ab
BLAKE2b-256 faffbe56651a25e9d4ed99e9d201185dde4af4a20ccad995667409afef97c0f3

See more details on using hashes here.

File details

Details for the file siliconmetatrader5-1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for siliconmetatrader5-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6756e60290638b8280eca6e1f378b13daa058ffbb482028a6c162074ec3bd916
MD5 56d6e1b106d18c18795644f9f3407b19
BLAKE2b-256 bcd2a4097a02bc4d90f76f3907e926e32e2d55086fa62065e7a2ae8e6ff364ac

See more details on using hashes here.

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