mt5_api icon
mt5_api icon

mt5_api

Cross-platform Python-MT5 socket bridge for algorithmic trading. Run MetaTrader 5 trading bots from Linux or Mac without Windows dependency.

Cost / License

  • Free
  • Open Source (MIT)

Platforms

  • Mac
  • Linux
  • Windows
-
No reviews
1like
0comments
0alternatives
0news articles

Features

Suggest and vote on features
  1.  Bots
  2.  Algorithmic trading
  3.  Sockets
  4.  Forex

 Tags

mt5_api News & Activities

Highlights All activities

Recent activities

  • niksavc liked mt5_api
  • h-bui-tech added mt5_api
Show all activities

mt5_api information

  • Developed by

    Unknown
  • Licensing

    Open Source (MIT) and Free product.
  • Written in

  • Alternatives

    0 alternatives listed
  • Supported Languages

    • English

AlternativeTo Categories

Bitcoin & CryptocurrencyBusiness & CommerceDevelopment

GitHub repository

  •  0 Stars
  •  1 Forks
  •  0 Open Issues
  •   Updated  
View on GitHub
mt5_api was added to AlternativeTo by h-bui-tech on and this page was last updated .
No comments or reviews, maybe you want to be first?
Post comment/review

What is mt5_api?

MT5 Python Bridge is an open-source socket-based bridge that enables Python applications on Linux/Mac to communicate with MetaTrader 5 running on Windows.

Unlike the official MetaTrader5 Python package which only works on Windows, this bridge uses TCP/IP sockets to allow cross-platform algorithmic trading.

Key Features: • Execute market orders (buy/sell) and pending orders (limit/stop) • Get real-time tick data (bid/ask prices) •Retrieve historical OHLC candle data • Manage positions (open, close, modify SL/TP) • Account information (balance, equity, margin) • Built-in GUI trading panel with keyboard shortcuts • Latency benchmarking tools • Trailing stop functionality

Architecture: Python runs as a TCP server on Linux/Mac, while the MT5 Expert Advisor connects as a client from Windows (or Windows VM). Communication uses JSON messages over socket.

Perfect for: • Traders developing bots on Linux/Mac • Running MT5 strategies on cloud servers • Integrating MT5 with Python data science tools (pandas, numpy) • Building custom trading interfaces

Open source under MIT license.

Official Links