Python Bot for Crude Oil Alerts

Job ID: 39672716

Budget: $40 – $60 USD

Strategy Logic:

Instruments:

Use Crude Oil Options (Current Month)

Track:

ATM + 1 CE (In-the-Money Call Option)

ATM – 1 PE (In-the-Money Put Option)



Logic Conditions:

On 1-Hour Chart:

If ITM CE breaks its previous 1H high, but the ITM PE does NOT break its previous 1H low, it’s a fake breakout.

(Same logic in reverse for PE)


On 15-Min Chart:

Wait for the lowest 15M candle after the fake breakout.

Trigger alert when the high of this 15M candle is broken by the PE.


Repeat Alerts:

Bot should check conditions every 5 minutes.

Should keep alerting every time new fake breakout condition is met (no daily reset).



---

Alert Output:

Send a Telegram message when a trade condition is met

Message must include:

Option Symbol

Entry Price

SL Price (1 point below 15M candle low)

Timestamp

Chart Condition matched (brief summary)




---

Tech Requirements:

Python 3 Script (Google Colab or local)

Use dhanhq Python SDK for live market data

Use ZigZag or previous high/low logic

Telegram Bot integration

Clean, modular code with comments



---

Deliverables:

Python code file(s)

Setup Instructions (README)

Working Telegram bot for alerts

Test data / logs (to validate logic)