Skip to content
View yirvisom's full-sized avatar

Block or report yirvisom

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
yirvisom/README.md

Yirviel Somé — Portfolio Manager in the Making, Casablanca

Portfolio  ·  BVC Feed  ·  LinkedIn  ·  Email

Open to portfolio and equity research roles   Casablanca, UTC+1

~/ $ whoami

A portfolio manager in the making, based in Casablanca. I'm training the way I'd verify a model: allocation first, risk second, return last — and everything checked against the market.

That means building the full chain a PM relies on: portfolio construction and optimization on the Bourse de Casablanca, factor and market-risk research, valuation grounded in fundamentals, and a macro/markets context around all of it — with the data and Linux infrastructure underneath to keep it reproducible.

Most of my public work is code with a thesis behind it: a model, a number, a way to check it. FMVA® · BIDA® · RHCSA in progress.

Currently — a disciplined study of portfolio theory (Markowitz → Grinold & Kahn → Ang), live factor research on Moroccan listed equities, and a daily practice of the reading list that keeps the judgment sharp.

The craft

01 · Allocation & construction
Mean-variance to factor models — weights as a deliberate bet, not a whim. Markowitz to Ang: the discipline of the efficient frontier.
02 · Risk, then return
VaR, stress, exposure. The question a PM asks first is what breaks the book — the return decides itself afterwards.
03 · Equity & absolute value
DCF, LBO, comps — a number that can't be defended to a committee isn't a number. Valuation is the last line of defense against the story.
04 · Markets & macro cycles
Credit cycles, factor rotations, behavioral biases. The edge of a PM is mostly context — recognizing when the market disagrees with you.

Selected work

casablanca-quant-framework fin-terminal
M-A-Clean-Room deyirviel.com

By the numbers

GitHub activity — public repos, followers, stars, contributions, streak

The reading room

The shelf a PM-in-training works through — theory, risk, and the judgment that keeps a gérant honest.

  • Theory & asset pricing — Markowitz, Grinold & Kahn, Ang (factor investing), Elton & Gruber, Ilmanen, Cochrane
  • Quant & systematic — López de Prado, Qian/Hua/Sorensen, Narang, Carver
  • Risk — Hull, Jorion, Crouhy/Galai/Mark
  • Valuation & corporate — Brealey/Myers/Allen, McKinsey, Penman, Rosenbaum & Pearl
  • Behavior & mentality — Kahneman, Thaler, Howard Marks, Taleb, Schwager
  • History & markets — Chancellor, Lowenstein (LTCM), Lewis, Soros, Reinhart & Rogoff

Reading now — Asset Management (Ang) for factor investing, alongside Expected Returns (Ilmanen)'s risk-premium maps.

Toolkit

Quant & markets

Python NumPy pandas Jupyter Markowitz VaR / CVaR PostgreSQL

Engineering & systems

Bash Linux RHEL Docker LUKS Git GitHub Actions

Web & publishing

Hugo HTML5 CSS JavaScript

How I work

Risk first, return second
Every position starts with what hurts me. If the drawdown story holds, the upside takes care of itself.
Thesis over prediction
I don't bet on being right — I bet on being able to explain, test, and size a view. Faith in process, not forecasts.
Reproducible research
Pipelines over one-off spreadsheets — versioned, schedulable, and honest about their confidence. No black boxes in finance.
Discipline & the written record
Discipline is built one reviewed decision at a time — the write-up is part of the deliverable, and the next decision gets better because of it.

Elsewhere


Yirviel Somé — deyirviel.com

Popular repositories Loading

  1. casablanca-quant-framework casablanca-quant-framework Public

    Portfolio construction & risk laboratory for the Bourse de Casablanca — mean-variance to Monte Carlo, VaR 95%, factor screens, and a LUKS-secured data workflow.

    Jupyter Notebook

  2. M-A-Clean-Room M-A-Clean-Room Public

    Self-hosted data clean room for buy-side M&A diligence — tokenizes target financials so analysts get income statements, working capital, concentration, and EBITDA analysis without legal risk.

    Python

  3. yirvisom yirvisom Public

    Portfolio Manager in the making — allocation, risk, equity research and markets.

    Python

  4. fin-terminal fin-terminal Public

    FIN — the financier's bash terminal for markets & portfolio research: live quotes, crypto, FX, net worth, realtime TUI, and a full Bourse de Casablanca (MASI + dirham) corner for Moroccan market st…

    Shell