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
(22)
Projects
28
7%
Arbitration
9
33% / 33%
Overdue
1
4%
Working
2
Developer 2
Rating
(19)
Projects
22
18%
Arbitration
9
33% / 44%
Overdue
3
14%
Working
Published: 1 code
3
Developer 3
Rating
(18)
Projects
23
22%
Arbitration
8
13% / 63%
Overdue
4
17%
Free
4
Developer 4
Rating
(4)
Projects
3
33%
Arbitration
2
0% / 100%
Overdue
0
Free
5
Developer 5
Rating
(4)
Projects
6
17%
Arbitration
2
0% / 100%
Overdue
3
50%
Free
6
Developer 6
Rating
(5)
Projects
7
0%
Arbitration
8
13% / 75%
Overdue
3
43%
Free
7
Developer 7
Rating
(329)
Projects
515
19%
Arbitration
35
46% / 31%
Overdue
34
7%
Working
8
Developer 8
Rating
(3)
Projects
1
100%
Arbitration
3
0% / 100%
Overdue
0
Free
9
Developer 9
Rating
(171)
Projects
195
42%
Arbitration
13
8% / 54%
Overdue
9
5%
Free
Published: 3 codes
10
Developer 10
Rating
(16)
Projects
20
0%
Arbitration
10
0% / 80%
Overdue
6
30%
Free
11
Developer 11
Rating
(54)
Projects
67
42%
Arbitration
15
27% / 60%
Overdue
1
1%
Working
12
Developer 12
Rating
(75)
Projects
124
44%
Arbitration
14
29% / 50%
Overdue
17
14%
Free
13
Developer 13
Rating
(7)
Projects
6
0%
Arbitration
4
25% / 75%
Overdue
2
33%
Free
14
Developer 14
Rating
(74)
Projects
84
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
(3)
Projects
2
50%
Arbitration
1
0% / 100%
Overdue
0
Free
17
Developer 17
Rating
(16)
Projects
35
23%
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
15
20%
Arbitration
5
40% / 40%
Overdue
1
7%
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
(4)
Projects
5
0%
Arbitration
0
Overdue
0
Free
24
Developer 24
Rating
(52)
Projects
68
59%
Arbitration
5
0% / 80%
Overdue
5
7%
Free
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
(1)
Projects
1
0%
Arbitration
2
0% / 50%
Overdue
0
Free
Similar orders
I need a fully automated custom Expert Advisor for MetaTrader 5 (MQL5). The EA is intended for use on a The5ers $100,000 2-Step prop-firm account. IMPORTANT DELIVERY REQUIREMENT: I must receive the complete editable .mq5 source code as well as the compiled .ex5 file. Compiled-only delivery is NOT acceptable. The EA must be coded specifically for this project and must not copy trades, use external trading signals or
I have an existing working MQL5 Expert Advisor and require an experienced MQL5 programmer/trading-system analyst to independently analyse its historical performance. This is NOT initially a request to rewrite the EA or simply optimize parameters. Current strategy: - MetaTrader 5 - M15 timeframe - EMA / ADX / ATR based - Approximately 1,337 historical trades - Gross Profit approximately USD 271,000 - Gross Loss
Gold robot 30 - 1000 USD
Hello everyone, I’m looking for a developer who has an algorithm in their arsenal that generates quick profits over the long term. I’m interested in a scalping expert advisor—it can be a one-shot, averaging, or grid strategy, with or without TP/SL. Please share your ideas and results; I’ll consider all options. The most important thing is the result. Good luck
Hi. I am looking for an experienced MQL5 developer for an advanced XAUUSD MT5 indicator. Before choosing a developer, I would like to see a small proof-of-concept or an example of a similar indicator you have already developed. My final indicator must be written from scratch in MQL5 and I must receive the complete .mq5 source code + compiled .ex5 . Main requirements: XAUUSD MT5 / MQL5 Indicator only — NO AutoTrading
I need a professional XAUUSD signal indicator for MetaTrader 5, written entirely in MQL5 (.mq5). IMPORTANT: This is NOT an auto-trading EA. It must never open, close or modify trades. It only analyzes XAUUSD and generates signals + MT5 push notifications. 1. Multi-timeframe analysis: H4 → H1 → M30 → M15 → M10 → M5 → M1. 2. Detect market structure: - Swing High / Swing Low - BOS - MSS - CHOCH - Bullish/Bearish HTF
i have indicator for Trading View, also copy for NT, i need someone to improve and check the NT version (indicator is simple is volume density koncept)…. when i put same settings on TV version and NT version i have diffrerent results, but this can be because diffrent market data or fact that TV sending tick info in blocks , not tick by tick like NT8 on both. I(ndicator base on counting volume) so besied that is it
Purpose Develop a transparent and conservative Expert Advisor for MetaTrader 5. Profit is not guaranteed; acceptance is based on correct implementation, risk controls and reproducible testing. 1. Platform and instruments - Native MQL5 Expert Advisor for MetaTrader 5. - Symbols: EURUSD and USDJPY. - Working timeframe: H1. Higher-timeframe trend filter: H4. - Must support standard broker symbol suffixes/prefixes and
I need a professional AI-assisted Forex trading Expert Advisor (EA) for MetaTrader 5. The EA should not be based on a simple single indicator strategy. I want a robust multi-factor trading system that can analyze market conditions, trend, momentum, volatility, price action and risk before entering a trade. Requirements: Forex trading on MT5 Automated analysis and trade execution Dynamic entry and exit decisions Stop
We are seeking an independent technical reviewer for a frozen Python evidence/specification candidate related to an XAUUSD paper-trading risk system (ALKOOS-AI). This is NOT a request to develop, modify, optimize, or execute a trading robot or trading strategy. The task is limited to independent verification of a prepared evidence package. The reviewer should verify: Integrity of the supplied frozen artifact using
Freelance Task — EA Recovery Layer Hello. I have a ready-made MQL5 EA. The signals, SL/TP and lot calculation should essentially not be touched. I need a recovery system added. I am not a programmer — below is how the robot should behave. What stays Entry only from an EA signal. Stop-loss is not a new signal. Trailing is already built into my EA — recovery does not implement its own trailing. If trailing is disabled

Project information

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