Skip to content
Friday, 27 November 2026 · LondonENع
Rayan Azhari.Sustainability · Energy · Carbon · Built Environment · Data Science
The Front Page
Lead Essay

Kill Switch for a Trading Bot: Build a Dead Man's Switch That Survives a Crash

An in-process kill switch dies with the process it is meant to kill, so a frequently-restarting system silently disarms its own safety. Here is why a systematic book needs a graded de-risk ladder plus an out-of-process backstop, and a dead man's switch that alarms on silence, not just on error. War-stories about a breaker that reset on every restart and a halt that never reached the node.

By Rayan Azhari · 9 min read · Essays
Latest Essays
Essays

US$216 Billion, US$539 Million

The cover of my book is a map of Syria, with a circle on each governorate sized to the World Bank's estimate of what rebuilding it will cost. What institutions had committed, as my register held them on 10 August 2026, is a dot in the key, because it has no place on the map. Little of it had been paid by mid-October, and the reasons are more useful than a scandal would be.

· 10 min

Purged Cross-Validation and Train/Serve Skew: Four Gates Before an ML Model Trades

When the strategy is a machine-learning model, standard validation lies to you: overlapping labels leak across a naive k-fold split and manufacture a phantom score. Here are the four mechanism-level gates I make any live ML model clear before it touches capital, and the war-story of a model that looked excellent until I purged and embargoed the folds and watched it collapse.

· 9 min

Cannot Trade a US ETF in the UK: Streaming Data, PRIIPs and the Substitute Pattern

Under PRIIPs, a UK or EU retail account can stream a US-listed ETF's market data yet be forbidden from ever holding it, because the fund publishes no Key Information Document. Here is the production pattern I use when my cleanest signal lives on an instrument I am not allowed to trade: compute the signal on the data-only line, trade a UCITS substitute, and match the substitute on currency, not just correlation. The broker catalogue, not the alpha, defines your tradable universe.

· 9 min

Seven Hundred and Fifty Times

In March 2025 the International Renewable Energy Agency put Syria's off-grid solar at 2 megawatts for 2024. A year later it put the same year at 1,500. Neither edition says why. Around that revision sit a rooftop build-out that, as far as I can find, Syrians mostly paid for themselves, and a state credit scheme that on my arithmetic reached at most one or two per cent of it.

· 9 min

Twenty-Three Point Six Billion Dollars, Before the Report

Global Financial Integrity's estimate of Syria's illicit financial outflows over 2000 to 2009 circulates as US$23.6 billion, often with a loss per Syrian attached. The report it is credited to gives two figures rather than one, divides by nobody, and was not yet published on the day the number first appeared.

· 9 min

Live Trading Does Not Match the Backtest: The Code-Level Causes Nobody Names

When your live P&L drifts from the backtest you validated, the culprit is almost never psychology. It is code: the same metric computed two subtly different ways in research and in the live sizing path. Here is the parity oracle I now gate on, and the deeper rule behind it: live and research must call the same code, not two copies of it.

· 9 min

How a Cost of War Became a US$923 Billion Rebuild

An International Labour Organization factsheet says rebuilding Syria could cost "USD250 to USD 900+ billion". Follow its footnote and the upper figure turns out to be something else: the UN Development Programme's estimate of what the war cost, most of it output that was never produced. Here is the chain, link by link, and what the one number from a full assessment actually measures.

· 10 min

Essays in your inbox

New writing on Syria, sustainability and finance, a few times a month.

Unsubscribe anytime. Read by 4,200+ professionals.