TheSnowGuru/PyTrader-python-mt4-mt5-trading-api-connector-drag-n-drop
TheSnowGuru/PyTrader-python-mt4-mt5-trading-api-connector-drag-n-drop has 1,073 GitHub stars and 92 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-09 10:42 UTC. Last push 2025-05-05.
Open Source Trading Strategies & End-to-End solution connecting Metatrader4 & Metatrader5 💹 with Python with a simple drag and drop EA. Fully tested bug free & efficient solution for live & paper trading⭐ Full Documentation ready. Lightweight, efficient and stable implementation 🔥
What you can do
- Full Functionality in demo mode (limited instruments: EURUSD, AUDCHF, NZDCHF, GBPNZD, USDCAD).
- The EA can run on a different computer than the Python script.
- Amazing capabilities with just one line of code to download bar data and create live feeds for your strategies!
- Python login to MT5
Measured star growth
- in 24h
- 0
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original🚀 PyTrader - Drag & Drop Python API Connector for MT4 & MT5
![]()
PyTrader is an easy-to-use drag-and-drop connector for linking your Python scripts with MT4/5. It consists of a Python script and an EA, plus an indicator for licensing. This fully tested solution offers fast and efficient communication via WebSockets, with the EA acting as the server and the Python script as the client.
🔍 Key Features:
- Full Functionality in demo mode (limited instruments: EURUSD, AUDCHF, NZDCHF, GBPNZD, USDCAD).
- The EA can run on a different computer than the Python script.
- Amazing capabilities with just one line of code to download bar data and create live feeds for your strategies!
📈 Easy Connection to MT4/5
With PyTrader, connecting Metatrader 5 with Python strategies has never been easier! Enjoy a complete solution tested with real trading.
🌟 Growing List of Features:
- Python login to MT5
- Keep connection alive
- Retrieve account info and open orders
- Manage (open, change, close) orders directly from Python
- Get last tick and bar data
- Get instrument information, including pip value and tick size
📚 Documentation
⚙️ Installation Flow:


🐧 Linux Installation:
Run your strategies on Linux through Wine: Docker + Wine
🔗 Get the Full Versions:
- MT5 Python: Get FULL Version
- MT4 Python: Get FULL Version
📈 Join Our Best Trading Broker
👉 Join Our Best Supported Broker
🎉 NEW!
Check out JsTrader: New JSTrader version connecting MT4 & MT5 with JavaScript
💬 Questions?
Join our Discord channel for support!
Happy trading! 💰✨
Explore related projects
affaan-m/ECC
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
300,313 starsNousResearch/hermes-agent
The agent that grows with you
262,134 starsmultica-ai/andrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
231,460 starsfirecrawl/firecrawl
Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
200,178 stars