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

Termos de Referência

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.


Respondido

1
Desenvolvedor 1
Classificação
(22)
Projetos
28
7%
Arbitragem
9
33% / 33%
Expirado
1
4%
Trabalhando
2
Desenvolvedor 2
Classificação
(19)
Projetos
22
18%
Arbitragem
9
33% / 44%
Expirado
3
14%
Trabalhando
Publicou: 1 código
3
Desenvolvedor 3
Classificação
(18)
Projetos
23
22%
Arbitragem
8
13% / 63%
Expirado
4
17%
Livre
4
Desenvolvedor 4
Classificação
(4)
Projetos
3
33%
Arbitragem
2
0% / 100%
Expirado
0
Livre
5
Desenvolvedor 5
Classificação
(4)
Projetos
6
17%
Arbitragem
2
0% / 100%
Expirado
3
50%
Livre
6
Desenvolvedor 6
Classificação
(5)
Projetos
7
0%
Arbitragem
8
13% / 75%
Expirado
3
43%
Livre
7
Desenvolvedor 7
Classificação
(329)
Projetos
515
19%
Arbitragem
35
46% / 31%
Expirado
34
7%
Trabalhando
8
Desenvolvedor 8
Classificação
(3)
Projetos
1
100%
Arbitragem
3
0% / 100%
Expirado
0
Livre
9
Desenvolvedor 9
Classificação
(171)
Projetos
195
42%
Arbitragem
13
8% / 54%
Expirado
9
5%
Livre
Publicou: 3 códigos
10
Desenvolvedor 10
Classificação
(16)
Projetos
20
0%
Arbitragem
10
0% / 80%
Expirado
6
30%
Livre
11
Desenvolvedor 11
Classificação
(54)
Projetos
67
42%
Arbitragem
15
27% / 60%
Expirado
1
1%
Trabalhando
12
Desenvolvedor 12
Classificação
(75)
Projetos
124
44%
Arbitragem
14
29% / 50%
Expirado
17
14%
Livre
13
Desenvolvedor 13
Classificação
(7)
Projetos
6
0%
Arbitragem
4
25% / 75%
Expirado
2
33%
Livre
14
Desenvolvedor 14
Classificação
(74)
Projetos
84
64%
Arbitragem
5
100% / 0%
Expirado
9
11%
Livre
15
Desenvolvedor 15
Classificação
(14)
Projetos
19
11%
Arbitragem
1
0% / 100%
Expirado
5
26%
Livre
16
Desenvolvedor 16
Classificação
(3)
Projetos
2
50%
Arbitragem
1
0% / 100%
Expirado
0
Livre
17
Desenvolvedor 17
Classificação
(16)
Projetos
35
23%
Arbitragem
4
0% / 50%
Expirado
2
6%
Trabalhando
18
Desenvolvedor 18
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
19
Desenvolvedor 19
Classificação
(10)
Projetos
15
20%
Arbitragem
5
40% / 40%
Expirado
1
7%
Livre
20
Desenvolvedor 20
Classificação
(2)
Projetos
2
0%
Arbitragem
1
0% / 0%
Expirado
0
Livre
21
Desenvolvedor 21
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
22
Desenvolvedor 22
Classificação
(5)
Projetos
5
20%
Arbitragem
2
0% / 100%
Expirado
1
20%
Livre
23
Desenvolvedor 23
Classificação
(4)
Projetos
5
0%
Arbitragem
0
Expirado
0
Livre
24
Desenvolvedor 24
Classificação
(52)
Projetos
68
59%
Arbitragem
5
0% / 80%
Expirado
5
7%
Livre
Publicou: 1 artigo
25
Desenvolvedor 25
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
26
Desenvolvedor 26
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
27
Desenvolvedor 27
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
28
Desenvolvedor 28
Classificação
Projetos
1
0%
Arbitragem
1
100% / 0%
Expirado
0
Livre
29
Desenvolvedor 29
Classificação
(1)
Projetos
1
0%
Arbitragem
2
0% / 50%
Expirado
0
Livre
Pedidos semelhantes
PHANTOM PROTOCOL V1 35 - 150 USD
PHANTOM PROTOCOL V1 – MT5 EXPERT ADVISOR SPECIFICATION Develop a professional MetaTrader 5 (MT5) Expert Advisor named “PHANTOM PROTOCOL V1”. PRIMARY MARKET: - XAUUSD (Gold) - Designed primarily for M15 and H1 timeframes. - The EA must work with both 3-digit and 2-digit gold pricing where applicable. TRADING LOGIC: Use pure price-action and market-structure analysis rather than relying on a single indicator. The EA
Create a bot that can trade and read indicators easy to read for first time users. Bot that can be used on a phone and connect to MT5. It should be easy to install or use on any device especially phone and laptop, preferably the bot that can run over night and controllable when needed
//———————————————————————————————————————————————————————————————————— struct S_MCAV { double matureSum; double totalSum; double value; void Init () { matureSum = 0.0; totalSum = 0.0; value = 0.5; } void AddContext (int ctx) { totalSum += 1.0; if (ctx == 1) matureSum += 1.0; } void ApplyDecay (double rate) { matureSum *= rate; totalSum *= rate; } void Update () {

Informações sobre o projeto

Orçamento
1200 - 2000 USD
Prazo
para 21 dias