I'm a computer engineering student at the Universidad de La Rioja, in Spain, studying mathematics alongside it, and I'm aiming at quantitative finance. Before this I did a vocational degree in application development, so I came to maths and systems from the practical side and I'm filling in the theory as I go.
Most of what's here started with "how does this actually work?" and ended with me writing it from scratch and checking it against something trustworthy.
Try it in the browser
- wasm-pricer: move the sliders and watch the price and the Greeks update. The maths is Rust compiled to WebAssembly and runs in your browser.
- options-pricer docs: the API reference for the pricing library, generated from the source.
Systems
- orderbook: a limit order book and matching engine in C++23 with price-time priority.
- db-engine: a small SQL engine in C++23 with a B+tree, a write-ahead log and crash recovery.
- sat-solver: a CDCL SAT solver in C++23 with DRAT proofs.
Maths and numerics
- numlib: linear algebra from scratch in pure Python, compared against LAPACK.
- opt-solver: simplex, interior point and convex QP, compared against HiGHS.
- crypto-lab: elliptic-curve cryptography from scratch, run against the official test vectors.
Markets
- options-pricer and its browser version, wasm-pricer: Black-Scholes, Greeks, Monte Carlo and volatility surfaces.
- backtest-engine: event-driven backtesting in Rust with Python strategies, built around catching look-ahead bias.
- risk-lab, market-sim and execution-simulator: VaR and CVaR, a toy agent-based market, and the cost of trading large orders.
There is also a medieval real-time strategy game in C++, realms-rts, and the coursework from my vocational years is grouped by topic: dam-acceso-datos, dam-android, dam-psp, dam-wpf, dam-fundamentos, changeorg, angular-ejercicios and unity-juegos.
Away from the keyboard I'm teaching myself piano properly after years of getting by on slow reading and muscle memory, learning German, and working up to the Iliad.
You can write to me in Spanish or English. An issue on any repo is the easiest way to reach me.




