Built a Hormuz tracker that trades oil

u/jawanda · Reddit — r/algotrading · April 19, 2026 at 14:57 · ⬆ 16 pts · 💬 14 comments  | View on Reddit ↗
AI Summary

Summary

  • The author built an algorithmic trading bot that scrapes news headlines to trade Brent Oil based on whether the Strait of Hormuz is open or closed.
  • A second iteration of the bot monitors the broader Iran conflict, waiting specifically for a "de-escalation" signal to trigger an aggressive long position on the S&P 500.
  • Quality assessment: Speculation. This is a basic LLM-driven sentiment analysis strategy deployed by a retail trader, lacking rigorous backtesting or latency-advantage data.
Score 16
Comments 14
Upvote % 94%
Full Post Text
Ideas
u/jawanda Reddit r/algotrading
The Strait of Hormuz is a critical global oil chokepoint highly sensitive to geopolitical news. Headline sentiment regarding the strait's status directly correlates with immediate crude price action. Use an automated news scraper to short oil when the strait is open and long oil when it is closed. Whipsaw from unverified news, latency disadvantages against institutional algos, and false LLM parsing.
u/jawanda Reddit r/algotrading
Broader equity markets are currently weighed down by escalating geopolitical tensions in Iran. Markets may slowly climb despite bad news, but will surge rapidly on a definitive peace or de-escalation catalyst. Wait for the AI sentiment tracker to confirm a "de-escalating" status, then go aggressively long on the S&P 500. False de-escalation signals, or broader macroeconomic factors (rates, earnings) dragging the market down despite peace.
More from Reddit — r/algotrading

This Reddit post, published April 19, 2026, features u/jawanda discussing BNO, SPY. 2 trade ideas extracted by AI with direction and confidence scoring.

Speakers: u/jawanda  · Tickers: BNO, SPY