Python Execution Bot for Corn Calendar Spread on B3

Python エキスパート Python

仕事が完了した

実行時間4 日
依頼者からのフィードバック
Aligned expectations, good communication, excellent work.

指定

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


応答済み

1
開発者 1
評価
(7)
プロジェクト
13
15%
仲裁
13
23% / 46%
期限切れ
3
23%
パブリッシュした人: 39 articles
2
開発者 2
評価
(13)
プロジェクト
22
41%
仲裁
8
0% / 50%
期限切れ
3
14%
3
開発者 3
評価
(298)
プロジェクト
478
40%
仲裁
105
40% / 24%
期限切れ
82
17%
取り込み中
パブリッシュした人: 2 codes
4
開発者 4
評価
(180)
プロジェクト
194
46%
仲裁
4
50% / 25%
期限切れ
1
1%
取り込み中
5
開発者 5
評価
(258)
プロジェクト
269
29%
仲裁
2
50% / 0%
期限切れ
3
1%
仕事中
パブリッシュした人: 2 codes
6
開発者 6
評価
(45)
プロジェクト
46
24%
仲裁
34
9% / 85%
期限切れ
10
22%
類似した注文
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
Creating a bot using the Parabolic indicator with a simple interface.. I want a bot that uses the Parabolic SAR indicator only, with these orders attached to it. Boot name : HEMIN .FX Magic number : 000000 …………………………………………………. Trade behavior : regular OR inverse OR only long "buy" OR only short "sell" Timeframe : ………… Period: ……… ………………………………………………….. Lot size : ……………… Break even in points : …
Gold robot 30+ USD
Yes. This screen is asking you to write the Requirements Specification for your Gold/XAUUSD trading robot. Since you want your DEEPTHINK X10 institutional-style MT5 system , use this ready-to-paste specification: DEEPTHINK X10 GOLD ROBOT – MT5 EXPERT ADVISOR REQUIREMENTS Develop an advanced MetaTrader 5 Expert Advisor (EA) for XAUUSD (Gold) scalping based on a multi-factor DEEPTHINK X10 trading framework. 1. MARKET -
I need a custom MQL5 indicator for MetaTrader 5. The indicator must automatically print entry, stop loss, and take profit zones on the chart using dots. A critical requirement is that these dots must be non-lagging and absolutely non-repainting. Additionally, the indicator needs to identify and display current supply and demand zones. Please provide the mq5 source code and the ex5 file upon completion
Expert Advisors 300+ USD
double CRiskManager::CalculateLotSize(double slPoints) { double balance = AccountInfoDouble(ACCOUNT_BALANCE); double riskMoney = balance * (m_riskPercent / 100.0); double tickValue = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_VALUE); double tickSize = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_SIZE); double pointValue = tickValue / tickSize; double lot = riskMoney / (slPoints * pointValue);
I need an AI based mt5 EA which self learns and improves on its previous mistakes. The EA must be able to utilize numerous trade set ups like; 1. CRT, 2. liquidity sweep reversal at selected higher timeframe where a candle sweeps previous candle high and closes lower or sweeps previous candle low and closes higher, 3. SMC where it trades on OB, CHoCH, BOS. 4. Support and resistance. It should trade any currency pair
i need some tradingview strategy that i want to use as a tester, i have something that i am working on currently and i need someone that can provide me with tradingview strategies that doesn't have a win rate, the one with 1:1 RR it need to have low win rate like 10% or 5% profitability, i am not paying $30 for,i dont have up to that for this cause i only want to use it as a test, if anyone have any to send me please
I am looking to acquire an EXISTING and PROVEN MetaTrader 5 Expert Advisor. I am NOT looking for someone to develop a random new strategy from scratch. The objective is to find a robust EA with an existing track record, verify its performance and robustness, and purchase the MQL5 source code together with clearly defined commercial rights. MAIN REQUIREMENTS The EA should meet most or all of the following
Project Description I am looking for an experienced MQL5/MT5 Expert Advisor developer to develop an automated trading EA for XAUUSD on the M3 timeframe , running on an Exness account . The EA will automate a manual strategy based on SNR/GAP zones , using two setup types: Price Rejection Price Correction The EA should identify valid BUY/SELL setups around predefined SNR/GAP areas, apply configurable RSI, SMA, EMA and

プロジェクト情報

予算
50 - 100 USD