Python FastAPI Developer for AI-Integrated MT5 Trading System (Data + API + Model Pipeline)

Specification

We are building a Python-based backend that integrates with a MetaTrader 5 Expert Advisor (EA).
The EA sends structured market data (pair, session, ATR, volume, previous highs/lows, etc.) to a FastAPI server, and the server responds with AI-driven trade recommendations and parameters.
This backend will act as the “brain” of the EA, managing all decision logic, learning models, and data storage.

This is a serious build, not a small script — we’re creating a scalable, production-ready AI trading infrastructure.


🧠 Core Objectives

  • Develop a FastAPI backend that receives JSON data from MT5 and returns trading bias + risk parameters.

  • Build an internal data processing pipeline that:

    • Cleans, normalizes, and stores incoming candle/trade data.

    • Appends trade outcomes to database for continuous retraining.

  • Integrate AI/ML logic to analyze new inputs and determine optimal strategy parameters for each session.

  • Support multiple currency pairs and sessions (London, New York).

  • Host a simple admin panel or API key system to manage user access and licenses.


⚙️ Technical Requirements

  • Language: Python 3.10+

  • Framework: FastAPI (preferred)

  • Database: MySQL / PostgreSQL

  • Integration: Must handle HTTPS POST requests from EA (JSON format)

  • AI Component: Use historical data + outcome labels for retraining (e.g., LightGBM, CatBoost, or TensorFlow).

  • Data I/O: Must store candle data (OHLCV), ATR, session time, and order outcome results.

  • Scalability: Ability to serve multiple EA instances simultaneously with low latency (<200 ms).

  • Security: API key authentication per user.


📊 Example Workflow

  1. EA sends a JSON packet:

{ "pair": "EURUSD", "session": "London", "atr": 0.0025, "prev_high": 1.0742, "prev_low": 1.0698, "market_context": "low_swept" }

  1. Backend model interprets data → selects the most probable setup for that session.

  2. Server returns:

{ "direction": "buy", "risk_percent": 0.03, "tp_rr": 4.0, "entry_zone": "1.0705-1.0715", "confidence": 0.82 }
  1. EA executes trade and logs results → sent back to the API for retraining.


💾 Deliverables

  • FastAPI backend with POST/GET endpoints.

  • Database schema for storing trades and session data.

  • Sample AI model integration (can start with basic logic; we’ll scale).

  • Log and retrain function (auto-update nightly).

  • Clear documentation and code comments.

  • Basic Docker or deployment guide for hosting (optional bonus).


🧠 Skills Required

  • ✅ Python (FastAPI, Pandas, Numpy)

  • ✅ MySQL or PostgreSQL (data storage and trade logs)

  • ✅ Data mining and normalization (OHLCV, indicators)

  • ✅ REST API design (JSON, authentication)

  • ✅ Basic ML integration (LightGBM, Scikit-learn, or TensorFlow)

  • ✅ Forex knowledge (candles, ATR, session logic)


💰 Budget & Timeline

  • Budget: $1,200 – $2,000 (depending on experience and performance)

  • Timeline: 2–3 weeks

  • Long-term work available (model retraining, scaling, and dashboard builds).


🔒 Additional Notes

This project will directly power a commercial trading system.
Code must be modular, clean, and extensible — no shortcuts or unstructured scripts.
You’ll collaborate briefly with our MQL5 EA developer, so communication and clear handoff are important.


🚀 To Apply

Please include:

  1. Examples of APIs or trading data pipelines you’ve built (FastAPI, Flask, Django, etc.).

  2. A short explanation of how you’d structure model retraining and data storage.

  3. Availability and estimated completion time.


Responded

1
Developer 1
Rating
(16)
Projects
19
11%
Arbitration
4
25% / 50%
Overdue
1
5%
Working
2
Developer 2
Rating
(13)
Projects
16
6%
Arbitration
8
38% / 38%
Overdue
2
13%
Loaded
3
Developer 3
Rating
(18)
Projects
23
22%
Arbitration
8
13% / 63%
Overdue
4
17%
Free
4
Developer 4
Rating
(3)
Projects
3
33%
Arbitration
0
Overdue
0
Working
5
Developer 5
Rating
(3)
Projects
4
0%
Arbitration
1
0% / 100%
Overdue
2
50%
Loaded
6
Developer 6
Rating
(5)
Projects
7
0%
Arbitration
8
13% / 75%
Overdue
3
43%
Free
7
Developer 7
Rating
(321)
Projects
497
19%
Arbitration
33
42% / 30%
Overdue
32
6%
Busy
8
Developer 8
Rating
(2)
Projects
1
100%
Arbitration
2
0% / 100%
Overdue
0
Free
9
Developer 9
Rating
(171)
Projects
195
42%
Arbitration
12
8% / 50%
Overdue
9
5%
Working
Published: 3 codes
10
Developer 10
Rating
(16)
Projects
20
0%
Arbitration
10
0% / 80%
Overdue
6
30%
Free
11
Developer 11
Rating
(27)
Projects
29
7%
Arbitration
11
9% / 64%
Overdue
0
Busy
12
Developer 12
Rating
(75)
Projects
124
44%
Arbitration
14
29% / 50%
Overdue
17
14%
Free
13
Developer 13
Rating
(5)
Projects
4
0%
Arbitration
2
50% / 50%
Overdue
2
50%
Free
14
Developer 14
Rating
(73)
Projects
83
64%
Arbitration
5
100% / 0%
Overdue
9
11%
Free
15
Developer 15
Rating
(14)
Projects
19
11%
Arbitration
1
0% / 100%
Overdue
5
26%
Free
16
Developer 16
Rating
(1)
Projects
0
0%
Arbitration
1
0% / 100%
Overdue
0
Free
17
Developer 17
Rating
(15)
Projects
34
24%
Arbitration
4
0% / 50%
Overdue
2
6%
Working
18
Developer 18
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
19
Developer 19
Rating
(10)
Projects
13
23%
Arbitration
3
33% / 67%
Overdue
1
8%
Free
20
Developer 20
Rating
(2)
Projects
2
0%
Arbitration
1
0% / 0%
Overdue
0
Free
21
Developer 21
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
22
Developer 22
Rating
(5)
Projects
5
20%
Arbitration
2
0% / 100%
Overdue
1
20%
Free
23
Developer 23
Rating
(2)
Projects
2
0%
Arbitration
0
Overdue
0
Free
24
Developer 24
Rating
(49)
Projects
64
59%
Arbitration
5
0% / 80%
Overdue
5
8%
Working
Published: 1 article
25
Developer 25
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
26
Developer 26
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
27
Developer 27
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
28
Developer 28
Rating
Projects
1
0%
Arbitration
1
100% / 0%
Overdue
0
Free
29
Developer 29
Rating
Projects
1
0%
Arbitration
1
0% / 0%
Overdue
0
Free
Similar orders
So the things we need in algorithm of mql5 language EA in mt5 1. Depending on timeframe it can recognise the previous swing high and low 2. Timeframe is 5m,15m,1h,4h 3. It can recognise the basic Market bias that is market is bullish or bearish we can identify using (ema,rsi,basic smc bias,ict bias structure mapping) or use anything to find bias structure 4. EA should have option to change timeframe and change risk
Welcome to my freelance profile. I am a disciplined and detail-oriented trading systems specialist with strong expertise in: Algorithmic Trading (MT4 & MT5) EA/Indicator Setup & Technical Support Signal Creation, Optimization & Risk Structuring Strategy Testing & Performance Evaluation Trade Automation & System Fine-Tuning My work is based on accuracy, transparency, and strict professional standards. I ensure that
We are looking for a skilled developer with proven experience integrating the Deriv API WebSocket, ( https://developers.deriv.com/docs/getting-started ) to connect our trading web application with Deriv SmartTrader accounts. Our platform already generates AI-based trading signals , and the goal is to allow users to: Log in with their Deriv account (OAuth or API tokens) Fetch and display real-time account details
I need an MT5 Expert Advisor that works as a trade copier. One master MT5 account (my account) → multiple client MT5 accounts (slaves). Main requirements: 1) Copy Trading - Copy all trades from master to slaves: * market and pending orders * SL / TP * modifications (SL/TP changes) * partial closes * closing of orders - Instruments: Forex and XAUUSD (Gold) - Must work with different brokers and prop firm accounts
I want the Robots to execute buy/sell/TP/SL trades without me telling them to, Buy low Sell high Forex Pairs, I want to gain profit not lose profit, using INDICATORS, strategies, Expert Advisors, signals, Symbols, MA RSI, Awesome Accelerators', Algorithmic Trading and Scanners on real time data
""" Fast Multi-Pair RSI Trading Bot Supports: - BTCUSDT - XAUUSD - GBPUSD Opens fast buy or sell trades based on RSI signals Closes trades after 5, 10, or 15 minutes """ import asyncio import time from dataclasses import dataclass, field from typing import Dict, List, Optional import pandas as pd import numpy as np # ===== RSI calculation ===== # def compute_rsi(close: pd.Series, period: int = 14) -> pd.Series
Project summary I need an MQL5 Expert Advisor (EA) named “The Oracle” — a high-speed scalping robot that can open and close market trades within seconds. The EA must be optimized for minimal latency and reliable, deterministic closure logic (time-based close in seconds). Deliverables: MQ5 source code, EX5 compiled file, short user guide, and test results (Strategy Tester Every Tick + VPS live test screenshots)
Pazuzu 30+ USD
generate or create me a python coded file that has mql5 language requirements for a trading bot under the following instructions. the bot must execute trades if necessary the bot must trade 24/7 the bot must trade gold and currency the bot must make unlimited profit hourly the bot must enter market with caution after market analysis of 98 percent of clear trade

Project information

Budget
1200 - 2000 USD
Deadline
to 21 day(s)