mt5-trading
Installation
SKILL.md
MetaTrader 5 Python Algotrading
Knowledge base for building production-grade algorithmic trading systems with MetaTrader 5 Python API.
When to Use
- Connecting to MT5 terminal via the official Python API
- Building polling-based event systems (on_tick, on_new_candle, on_position)
- Executing orders with correct fill modes (FOK, IOC, Return)
- Downloading historical data (copy_rates, copy_ticks)
- Handling MT5 disconnections and terminal restarts
- Deploying MT5 bots on Windows with process monitoring
- Choosing between official API, aiomql, and ZeroMQ bridge