Ahmar Studio
← All work

Trading platform · alerts, execution, reporting

Internal product, in production since February 2026

Sentinel: from a morning newsletter to live, rules-checked trades

A full-stack trading platform that reads a paid market newsletter, extracts the day's levels with an LLM, watches live futures prices, fires alerts the instant a condition confirms, and executes under hard risk limits with a human veto.

PythonFastAPILLM extractionGmail / IMAPInteractive Brokers APIDiscordDockerAWSGitHub Actions
Feb 2026live in production
650+merged pull requests
79klines of production Python
Sentinel console showing service status, open positions and the day's alerts
The console: service health, open positions and the live alert feed.
Discord channel with Sentinel buy, trim and risk alerts
Alerts land in Discord with the level, the rule that fired and the risk tag.
Sentinel reports page with equity curve and results by strategy
Reports: equity curve, P&L calendar and results by strategy and exit reason.

Product views are rendered with illustrative data.

The problem

A paid market newsletter arrives every morning as prose. The levels and conditions buried in it had to be read, written down and watched by hand all day, and the moment one triggered was easy to miss. Acting on it meant more manual steps, more delay and more room for error.

What we built

  • Inbox ingestion (Gmail OAuth or app password) that picks up each issue the minute it lands.
  • LLM summarization and structured extraction of trigger levels, with a local parser as fallback so a bad model response never blocks the day.
  • A configurable rules engine that watches a live price feed and fires buy, trim, risk and invalidation alerts to Discord, with every signal logged for effectiveness review.
  • An execution layer added only after months of alert-only operation: broker-side stops, daily loss limits, paper-to-live arming with a human veto window, and a full audit trail.
  • A web console for status, positions, settings and reports: equity curve, P&L calendar, results by strategy and by exit reason.
  • Multi-account Docker deployment on AWS, with GitHub Actions deploys over SSM and no open SSH port.

The result

Running unattended in production since February 2026, through hundreds of releases without a rewrite. The same pattern applies to any stream a team reads by hand: vendor emails, compliance bulletins, support tickets, price lists, inspection reports.

Have something like this in mind?

Start a project

More work