# TheSnowGuru/PyTrader-python-mt4-mt5-trading-api-connector-drag-n-drop

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  🔥

Repository: https://github.com/TheSnowGuru/PyTrader-python-mt4-mt5-trading-api-connector-drag-n-drop
Canonical: https://ross.abutalabs.com/products/pytrader-python-mt4-mt5-trading-api-connector-drag-n-drop
Homepage: https://discord.gg/wRMUNP8ERa
Language: Python
License Family: other
Topics: trading, forex, fx, forex-trading, metatrader, mt5, mt5-api, mt5script, mt5-gateways, mt5-platform, mt5-python, websockets, metatrader5, mt5webapi, orders-mt5, strategies, mt4-api, mt4-dde, metatrader-4
Last push: 2025-05-05T13:14:07+00:00

## Health v2 (maintenance only)
Score: 41/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 20, release rhythm 35, longevity 100
- inputs: {"age_days": 2250, "days_push": 485, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1039, forks 88 (observed 2026-08-28T04:03:20.030734+00:00)

## What it is
PyTrader is a Python API connector that links Python trading scripts with MetaTrader 4 and MetaTrader 5 via a drag-and-drop Expert Advisor acting as a WebSocket server. It lets Python clients log in, retrieve account and market data, and manage orders for live or paper trading.

## Use cases
- connect python to metatrader 5
- place forex orders from python
- download bar data from mt5 for strategies
- build a live price feed from metatrader
- automate trading on mt4 with python
- manage open orders programmatically in mt5

## When to choose
- you want a quick drag-and-drop bridge between Python and MT4/MT5
- you need WebSocket-based order and market-data access from Python
- you want to run strategies on Linux via Wine/Docker

## When to avoid
- you need a fully open-source solution - the full version is paid and the repo has no license
- you trade assets outside the limited demo instrument list without buying the full version
- you need a connector for platforms other than MetaTrader

## Facets
- artifact type: library
- maturity: active
- function: trading, websocket, http-client, sdk
- domain: fintech, apis
- platform: python, windows, cross-platform
- tags: metatrader, mt4, mt5, forex, algorithmic-trading, websocket-client, expert-advisor, paper-trading, live-trading, trading, automation, linux

## Member repositories
- TheSnowGuru/PyTrader-python-mt4-mt5-trading-api-connector-drag-n-drop (main) score 41

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:20.030734+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:03:34.776715+00:00, confidence not recorded.
  - readme: https://github.com/TheSnowGuru/PyTrader-python-mt4-mt5-trading-api-connector-drag-n-drop (fetched 2026-08-28T04:03:20.030734+00:00, sha 1c74481dbd64)
  - homepage: https://discord.gg/wRMUNP8ERa (fetched 2026-08-29T13:04:44.908902+00:00, sha 9978a5ff86cb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
