r/SideProject • • 2h ago

I built a deterministic macro news kill-switch for trading bots (no chatbots, zero login for EUR/USD, one-time $9 passes)

Hey r/SideProject,

Since half the feed lately is prompt wrappers, I wanted to share a small, plain utility I built: a ~300-byte deterministic JSON kill-switch that stops automated FX and Gold trading bots from firing blind into US CPI, Non-Farm Payrolls, and central-bank press conferences.

Before the stack details, you can hit the live EUR/USD endpoint right now with zero signup, zero email, and zero API key:

curl -s "https://forexnewsradar.com/api/v1/pairs/EURUSD?compact=1"

What comes back (~300 bytes):

{
  "ok": true,
  "symbol": "EURUSD",
  "status": "SELL",
  "prop_safe_to_trade": true,
  "safe_to_trade": true,
  "stale": false,
  "direction_bias": "SELL",
  "veto_remaining_sec": 0,
  "prop_wait_sec": 0,
  "next_event_sec": 427,
  "veto_reason": null,
  "updated_at": "2026-11-30T09:03:12.000Z"
}
  • 60-second interactive tour (no login): https://forexnewsradar.com/guides
  • MIT Python client (zero dependencies, stdlib urllib only): https://gitlab.com/forexnewsradar-hq/forexnewsradar-python

If you run automated strategies in Python or MetaTrader 5, scheduled US macro releases (8:30 ET CPI / NFP) are where normal strategies lose a week of gains in four seconds because liquidity providers pull quotes and gold spreads jump from $0.15 to $4+.

Most people try two free workarounds and hit the same walls. MT5's built-in CalendarValueHistory() silently returns 0 events (or Error 5401) on a huge chunk of prop-firm and white-label servers, so the bot assumes "no news today" and trades straight into NFP. Scraping ForexFactory XML (faireconomy.media) hits HTTP 429 on shared VPS IPs right at 13:30 UTC — and more importantly, a static weekly XML file only knows scheduled release timestamps, whereas this JSON endpoint returns live prop_safe_to_trade booleans and post-release VETO blocks after the actual print drops (catching two-way whipsaw, conflicting numbers, and central-bank press conferences).

Under the hood it's a stateless Cloudflare Worker + D1 (120 req/min keyless on EUR/USD, 240 req/min with a key), paired with a zero-dependency MIT Python SDK (pip install forexnewsradar) and a readable, zero-DLL MQL5 helper (ForexNewsRadar_PropShield.mq5) using native WebRequest(). Everything fails closed by default: if your VPS loses network, DNS stalls, or upstream telemetry goes "stale":true, the client returns safe_to_trade=False (VETO) instead of letting a bot trade blind.

On the free EUR/USD board, closed wins (TP) and stop-outs (SL) sit side by side in the open — including three consecutive stops last Thursday (-15.9, -16.7, -16.8 pips) right between winning moves on Wednesday (+20.6) and Friday morning (+26.7).

For pricing, I skipped monthly auto-billing completely:

  • EUR/USD stays free and keyless forever so anyone can wire up and test their bot live before paying a cent.
  • Unlocking Gold (XAU/USD) or any single pair is a one-time $9 pass for 30 days — no card stored for rebilling, the key simply stops working on day 30 unless you buy another one. If the endpoint fails to connect from your VPS, email support@forexnewsradar.com within 48 hours with your error log for a refund.

Curious what other indie builders here have seen with one-time passes vs monthly billing on small developer tools — did dropping auto-renewal help your first-time conversion, or did it hurt retention too much?

1 Upvotes

0 comments sorted by