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 siliconmetatrader5directly 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
MetaTrader5Python 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5abaf4b25d28eb86189963638385e26ed0ae0a336a8b50eeccdb61542ebd5a3
|
|
| MD5 |
d6af2706d41d19483cfe628c49f8e5ab
|
|
| BLAKE2b-256 |
faffbe56651a25e9d4ed99e9d201185dde4af4a20ccad995667409afef97c0f3
|
File details
Details for the file siliconmetatrader5-1.0-py3-none-any.whl.
File metadata
- Download URL: siliconmetatrader5-1.0-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6756e60290638b8280eca6e1f378b13daa058ffbb482028a6c162074ec3bd916
|
|
| MD5 |
56d6e1b106d18c18795644f9f3407b19
|
|
| BLAKE2b-256 |
bcd2a4097a02bc4d90f76f3907e926e32e2d55086fa62065e7a2ae8e6ff364ac
|