Python Execution Bot for Corn Calendar Spread on B3

Python Experten Python

Auftrag beendet

Ausführungszeit 4 Tage
Bewertung des Kunden
Aligned expectations, good communication, excellent work.

Spezifikation

📄 Job Description:

I have a validated calendar spread strategy (e.g., CCMU25 - CCMX25) for Brazilian corn futures, with logic already implemented in Python.

I now need a robust Python script (not MQL5) that connects to MetaTrader 5, handles order book depth (DOM) for both legs, and executes the spread precisely. The bot must also send status updates and position events to a Discord channel, and perform periodic checks for trading conditions.


✅ Objectives:

Build a Python bot that:

  • Connects to MetaTrader 5 (MT5).

  • Retrieves and processes the order book (DOM) for both spread legs.

  • Validates liquidity and spread thresholds before placing any order.

  • Executes coordinated trades (e.g., buy CCMU25 / sell CCMX25 – 1 lot each) only if both sides are tradable.

  • Prevents execution mismatches (avoids overexposure or “encilhamento”).

  • Monitors execution status and dynamically adjusts the second leg according to a defined trading logic:

    • If the first leg fills, modify the second leg’s order price (e.g., improve or chase) within a defined slippage limit.

    • If execution fails beyond the threshold, cancel or rollback position.

  • Sends key information to Discord, such as:

    • New signal detected (entry)

    • Orders sent

    • Position opened

    • Position closed

    • Errors or warnings (e.g., low liquidity)

  • Performs periodic checks (e.g., every X seconds/minutes) to scan for new signals and manage existing positions.


💵 Deliverables:

  • Fully functional .py script including:

    • DOM reading

    • Spread logic validation

    • Coordinated order execution

    • Execution monitoring & dynamic adjustment

    • Discord integration

    • Periodic signal scan loop

  • Well-documented, with examples for testing


💬 Notes:

  • I will provide the signal logic. Your focus will be execution, position management, and communication.

  • Priority is on realistic execution logic that considers order book conditions and avoids risks common in low-liquidity markets.

  • Script must run on Windows with MetaTrader 5 installed.


Bewerbungen

1
Entwickler 1
Bewertung
(7)
Projekte
13
15%
Schlichtung
13
23% / 46%
Frist nicht eingehalten
3
23%
Frei
Veröffentlicht: 35 Artikel
2
Entwickler 2
Bewertung
(13)
Projekte
22
41%
Schlichtung
8
0% / 50%
Frist nicht eingehalten
3
14%
Frei
3
Entwickler 3
Bewertung
(298)
Projekte
478
40%
Schlichtung
105
40% / 24%
Frist nicht eingehalten
82
17%
Beschäftigt
Veröffentlicht: 2 Beispiele
4
Entwickler 4
Bewertung
(169)
Projekte
180
46%
Schlichtung
3
33% / 33%
Frist nicht eingehalten
1
1%
Arbeitet
5
Entwickler 5
Bewertung
(258)
Projekte
267
30%
Schlichtung
0
Frist nicht eingehalten
3
1%
Arbeitet
Veröffentlicht: 2 Beispiele
6
Entwickler 6
Bewertung
(45)
Projekte
46
24%
Schlichtung
34
9% / 85%
Frist nicht eingehalten
10
22%
Frei
Ähnliche Aufträge
Привіт. Шукаю когось, хто б застосував мій код як бота . Я торгую індексом Aus_200 SFE (не XJO). Бот базується на MACD входу/виходу, RSI, стохастиці та vwap. Як тільки роботу приймуть, мені потрібно внести кілька коректив; однак, нічого суттєвого. Дякую
MT4/MT5 HFT EA us30 30 - 3000 USD
Hello everybody, I'm looking for an experienced MQL4/MQL5 developer to optimize a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5. The EA performs consistently and profitably on demo accounts, but when it is run on Raw and Standard live accounts under what appear to be the same trading conditions, it begins generating losses. I do not have the original source code (.mq4/.mq5); I only have the
I need an Expert Advisor for MT5 on XAUUSD 1min timeframe using SMC concepts. STRATEGY RULES: SELL: 1. Identify previous day High/Low as liquidity 2. Entry only during London-NY session: 15:00-19:00 GMT+3 or broker clock. 3. If price sweeps previous day High and closes back below it 4. Check for bearish 1min FVG below sweep candle 5. Wait for BOS - lower low 6. Entry: Sell/buy at 50% of the FVG 7. SL: 10 pips above
I have a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5 designed primarily for US30 (Dow Jones Index) . The EA performs consistently and profitably on demo accounts, but when I run it on an IC Markets Raw or Standard live account, it starts generating losses under what appear to be the same trading conditions. At this time, I cannot provide the source code (.mq4/.mq5). I can only provide the
I want to build a fundamental news trading bot that trade off economic news data, as we know every economic news data released always have effect on the asset associated with it, so this bot will take a trade instantly based on the news data released either to buy or sell, it will come with good money management and also SL and TP target based on price and pips value
I have a EA/indicator that I want built. I should say 1st off dont know how to code myself so I will be using AI to verify that the source code is complete and matches the documents spec or if better so if you can not truly do the job do not waste either of out time. This is a idea I came.up wit and used AI to produce a framework for it.... and of course AI isn't 100% accurate so I need a knowledgeable quantitative
Bot 30 - 80 USD
I am looking for an experienced MQL5 developer to create a fully automated Expert Advisor (EA) for MetaTrader 5 based on a Price Action strategy. The bot needs to automatically identify specific candlestick formations and market structure levels, execute trades, and manage risk using a dynamic trailing stop.The EA should monitor the chart for the following price action setup:Market Structure / Trend Filter:The bot
Master mind 30+ USD
Start ↓ Detect Trend (H4) ↓ Confirm Structure (H1) ↓ Wait for Pullback ↓ Check Indicators ↓ Calculate Confidence Score ↓ Score ≥ 80? ├── No → Wait └── Yes ↓ Calculate Lot Size ↓ Place Order ↓ Set Stop Loss ↓ Set Take Profit ↓ Manage Trade ↓ Move to Break-even ↓ Trail Stop ↓ Close Trade. IF Price > EMA200 (H4) AND EMA50 > EMA200 (H4) AND ADX > 25 AND RSI between 55 and 70 AND MACD Main > Signal AND Bullish engulfing
# HIGH-FREQUENCY M5/M15 CONCURRENT ENTRY SNIPER import time class HighFrequencySniper: def __init__(self): self.target_profit = 25.00 # Targeted Delta Move self.max_execution_time = 3600 # 1 Hour Sandbox (Seconds) self.lot_allocation = "CALIBRATED_TO_RISK" def execute_hft_scan(self, current_price, m5_rsi, m15_order_block): print(f"[SCANNING] Current Kernel Metric: ${current_price:.2f}")
I need a trading bot, please i need this project urgently and when messaing me kindly send me samples of past works and dont forget i need the project to be done as soon as possible

Projektdetails

Budget
50 - 100 USD