BAM Curve Explorer — fitted Bank Al-Maghrib curves for 1 April, 1 July and 16 October 2026, 58,386 MAD/bp portfolio DV01, NSS fit RMSE 3.85 bp

The BAM Curve, Priced and Hedged

Bank Al-Maghrib’s 16 October 2026 reference curve, fitted with NSS (3.85 bp in-sample, 30.6 bp leave-one-out) and used to price an 81.4M MAD sovereign book. A duration-only hedge zeroes total DV01 with a 76.9M short in the 8.7Y line, but concentrates key-rate risk at that point and leaves 3.40B of convexity. A two-instrument duration+convexity hedge zeroes both but leaves +369k to a +100 bp belly move at 12.76Y. A six-line key-rate hedge (3.5Y–28.5Y) cuts belly P&L to +86k, is 95% executable under a 10M-per-line cap, and cuts daily backtest volatility from 112k to 6k MAD. The duration-only hedge leaves 50k and still has the largest residual among the hedges.

EN · October 17, 2026 · Yirviel Somé
A terminal window at the end of OverTheWire Bandit: the final README congratulating the player on solving the last level

From bandit0 to bandit33: What a Linux Wargame Taught Me About Portfolios

I finished OverTheWire Bandit last night — level 33, the last one. I expected a sense of victory. I got a README file, a blinking cursor, and a realization I have not been able to shake since: almost none of the game was actually about Linux. The password chain is a track record. A permission bit is a position limit. A setuid binary is leverage. The hard part was never the command; it was earning the right to run it — which, it turns out, is the whole job.

EN · October 15, 2026 · Yirviel Somé
Portfolio Monte Carlo — fan chart of 10,000 block-bootstrapped paths for the 30/50/20 AKT/ATW/STM portfolio, mean terminal value $16,234, VaR 95% +3.2%

FIN — Portefeuille & Monte-Carlo : simuler la BVC depuis le terminal

Construire un portefeuille BVC (Akdital, Attijariwafa Bank, STMicroelectronics) en trois commandes, puis le simuler sur 10 000 trajectoires : allocation, percentiles, VaR/CVaR 95 %, drawdown et distribution terminale. Le simulateur reprend le moteur Python de FIN dans le navigateur, avec une graine rejouable.

FR · October 9, 2026 · Yirviel Somé