Theoretical Mathematics & Computational Systems

Building worlds.
Modeling markets.

I am Shivam Roy, a mathematics student exploring quantitative finance, game development, and software engineering. My work spans optimal market-making mechanics, low-latency matching engines, and atmospheric survival systems.

BSc Math (Hons) University of Delhi
Avellaneda–Stoikov Optimal Quote Control
C++20 & raylib High-Performance Game Systems
01. Stochastic Systems & Market Microstructure

Quantitative Finance Projects

Applying probability theory, stochastic differential equations, and econometrics to model order book dynamics, inventory risk, and causal interventions.

Mathematical visualization of limit order book geometry and optimal quote spreads
Stochastic Control / Market Microstructure / Python & C++

Market-Making Simulator (Avellaneda–Stoikov)

An algorithmic market-making simulation engine built on the classic Avellaneda–Stoikov framework. Models high-frequency quoting strategies where an agent dynamically shifts bid and ask quotes away from the mid-price to manage inventory risk under Poisson arrival intensity.

r(s, q, t) = s - q \cdot \gamma \cdot \sigma^2(T - t) \delta^a + \delta^b = \gamma \sigma^2(T - t) + \frac{2}{\gamma}\ln\left(1 + \frac{\gamma}{\kappa}\right) Reservation price shifts quotes asymmetrically to penalize excess inventory (q).
Live Parameter Simulation
Reservation Price $100.00
Total Spread $1.42
Bid / Ask Quote 99.29 / 100.71
Econometrics / Causal ML / Python

E-commerce Causal Inference & Experimentation

A quasi-experimental econometric framework implementing Difference-in-Differences (DiD), Synthetic Controls, and CUPED variance reduction. Enables rigorous revenue attribution and counterfactual customer response modeling in noisy retail marketplaces.

C++20 / Data Structures / Low Latency

LOB Terminal (Limit Order Book Engine)

A high-throughput C++20 limit order book with strict price-time priority matching, contiguous memory order pools to minimize CPU cache misses, and deterministic benchmark harnesses achieving sub-microsecond insertion and cancellation latency.

02. Interactive Systems & Game Mechanics

Game Development Projects

Designing deterministic gameplay loops, spatial partitioning grids, and immersive lighting systems using C++ and hardware-accelerated graphics libraries.

C++ / OpenGL / Verlet Integration

Verlet Kinematic Particle Sandbox

An interactive 2D physics sandbox utilizing position-based dynamics and Verlet integration. Supports particle-based fluid approximation, cloth tear constraints, and elastic rope simulations with spatial cell broad-phase collision detection.

Algorithms / BSP Trees / raylib

Procedural BSP Ruin Generator

A procedural room generation pipeline based on Binary Space Partitioning and Delaunay triangulation with minimum spanning tree hallway routing. Guarantees cyclic corridors, organic dead-ends, and coherent enemy encounter pacing.

03. Editorial Gallery

Hobbies & Personal Interests

Beyond the rigor of mathematics and code: quiet nights beneath dark skies, highland mountain trails shrouded in mist, and open-world architectural exploration.

04. Inquiries & Collaboration

Get in Touch

Whether discussing stochastic modeling, game engine architecture, or collaborative engineering opportunities, I welcome thoughtful correspondence.

Direct Inquiries

Reach out directly through the verified channels below or use the form to transmit a direct brief.

Form Backend Configuration:

This form validates in-browser and safely stores mock submissions. To forward real emails directly to your inbox, set your Formspree endpoint in PROFILE_CONFIG.contactEndpoint inside src/script.js.