Python Execution Bot for Corn Calendar Spread on B3

Python Experts Python

Tâche terminée

Temps d'exécution 4 jours
Commentaires du client
Aligned expectations, good communication, excellent work.

Spécifications

📄 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.


Répondu

1
Développeur 1
Évaluation
(7)
Projets
12
17%
Arbitrage
12
17% / 50%
En retard
3
25%
Travail
Publié : 21 articles
2
Développeur 2
Évaluation
(10)
Projets
19
42%
Arbitrage
6
0% / 50%
En retard
3
16%
Travail
3
Développeur 3
Évaluation
(295)
Projets
473
40%
Arbitrage
103
41% / 23%
En retard
78
16%
Occupé
Publié : 2 codes
4
Développeur 4
Évaluation
(133)
Projets
142
38%
Arbitrage
3
33% / 33%
En retard
1
1%
Travail
5
Développeur 5
Évaluation
(252)
Projets
258
30%
Arbitrage
0
En retard
3
1%
Gratuit
Publié : 2 codes
6
Développeur 6
Évaluation
(45)
Projets
46
24%
Arbitrage
34
9% / 85%
En retard
10
22%
Gratuit
Commandes similaires
Phahla fx boto 30+ USD
99.99% signal accuracy 10-15 trades distribution all currency trade and meta AI assistance on loss[advice] stop and start robot cyber security firewall protection activation code: 20060605TLP20 Please create a trading bot with any logo with the name elevation
Refine signal trigger execution . Optimize live chart performance . Ensure stable and clean code structure : Stable and clean code is important . Otherwise its a mess . Apply with as much accurate structure you foresee
Here is what I’m looking for: • Signal source: On-chain wallet address monitoring. I want to copy trade high win-rate meme coin wallets (smart money / profitable traders), not Telegram signals. • Market: Crypto (primarily meme coins). • Execution speed: Very important — I want as close to sub-second execution as possible. Low latency is a top priority. • Infrastructure: I’m open to self-hosted VPS or cloud setup if
This post is subject to developers response . Edit the post as you like . May be with me you can make a come back . So , , , Shift calculations . More to the calculation then you can comprehend is known . What else comes to your mind
I’m hiring an experienced MQL5 developer to finish and fix an existing project (NOT building from scratch). I have: An existing MT5 EA (.mq5 + .ex5) that is based on my TradingView logic A TradingView indicator version used for signals/alerts The EA works but has logic/consistency issues and needs improvements + cleanup Goal Make the EA reliable and consistent: Ensure entries/exits match the intended logic Fix
The indicator a bit inverted. But it doesn’t matter to me as long as the winrate make sense for investment. For brief details regarding the indicator. What should have been a sell, i inverted it into buy with sl and tp swapped(only change the name of sl and tp for visualisation , but the code still on right tp and sl) . And in script ive inverted the signal command code. But the trouble is the tp and sl cant be
Ai robot 30 - 50 USD
1️⃣ System Architecture An AI robot typically consists of the following subsystems: 🔹 1. Perception Layer Collects environmental data using: RGB / Depth cameras LiDAR Ultrasonic sensors IMUs (Inertial Measurement Units) Microphones Data is processed using: Computer Vision (e.g., object detection, SLAM) Signal processing Sensor fusion algorithms 🔹 2. Cognition / Intelligence Layer Implements AI models such as
Trailing Stop Based on Thresholds . Other Necessary Filters already Coded . Live Chart Only . The strategy already coded - needs a fresh new draft . To Start from Signal Trigger
What informtion would you need for Ninjatrader futures automated trading and how long would it take ? if anyone can give me answer i will be happy to discuss more about the project thanks fill free to bid to the project thanks
I’m seeking an experienced developer to create an AI-powered trading system integrated with MetaTrader 5. The scope includes delivering a fully functional MT5 module, an AI component a compatible language, and complete source code for both. This will focus exclusively on the core trading logic and AI integration UI elements or dashboards are not required. Apply only if you have proven experience with AI integrations

Informations sur le projet

Budget
50 - 100 USD