Quant Finance Lab

Quantitative Finance Laboratory

Seven interactive modules covering BSc/MSc-level quantitative finance: market microstructure, derivatives pricing, portfolio theory, corporate valuation, monetary economics, and algorithmic trading.

Order Book & Matching Engine

Price-time priority, limit/market orders, DOM depth chart with real-time matching.

DOM Depth125 / 125
Price$100.00

Place Order

Spread
$99.00$2.00$101.00

Bids

$99.0015
$98.0020
$97.0025
$96.0030
$95.0035

Asks

$101.0035
$102.0030
$103.0025
$104.0020
$105.0015
Order Book Theory

The order book records all active limit orders. Buy orders (bids) are sorted highest-to-lowest; sell orders (asks) lowest-to-highest. The highest bid and lowest ask define the bid-ask spread.

Mid Price = (Best Bid + Best Ask) / 2

Price-time priority means the first order at a given price level gets filled first. Market orders consume liquidity by matching against the best available limit order.

Price slippage is the difference between the expected price and the actual executed price, typically occurring in illiquid markets or with large market orders.

Yuu's Quant Analyst Terminal
0 events
Awaiting analyst events... Interact with a simulation above.

Options Pricing & Stochastic Greeks

Black-Scholes engine with Delta, Gamma, Theta, Vega, Rho; volatility smile surface.

Call P&L+$0.00
Volatility Smile
Premium$0.00
Delta0.000
Gamma0.0000
Theta0.0000
Vega0.0000
Rho0.0000
Options Pricing & Greeks Theory

The Black-Scholes-Merton model prices European options using five inputs: underlying price (S), strike (K), time (T), risk-free rate (r), and volatility (sigma).

C = S \cdot \Phi(d_1) - K e^{-rT} \cdot \Phi(d_2)

Greeks measure sensitivity: Delta (underlying price), Gamma (delta's curvature), Theta (time decay), Vega (volatility), Rho (interest rates).

The volatility smile shows implied volatility varies by strike - OTM options often have higher IV due to tail-risk pricing.

Yuu's Quant Analyst Terminal
0 events
Awaiting analyst events... Interact with a simulation above.

Portfolio & Quant Lab

Markowitz efficient frontier, Sharpe optimizer, CML plot - modern portfolio theory in practice.

Efficient Frontier

Asset Parameters

Modern Portfolio Theory

Markowitz's MPT shows diversification reduces risk without sacrificing expected return. The Efficient Frontier represents portfolios offering the highest return for a given risk level.

\sigma_p = \sqrt{\sum_i \sum_j w_i w_j \sigma_{ij}}

The CML connects the risk-free rate to the tangency portfolio. The Sharpe Ratio measures risk-adjusted return.

\text{Sharpe} = \frac{R_p - R_f}{\sigma_p}
Yuu's Quant Analyst Terminal
0 events
Awaiting analyst events... Interact with a simulation above.

Corporate Finance & Valuations

Interactive DCF model with FCF projections, WACC, terminal value, and enterprise value waterfall.

DCF Valuation

DCF Inputs

DCF & Valuation Theory

Discounted Cash Flow values an asset by discounting expected future cash flows using WACC.

EV = \sum_{t=1}^{n} \frac{FCF_t}{(1+WACC)^t} + \frac{TV}{(1+WACC)^n}

Terminal Value (Gordon Growth Model) captures perpetuity value beyond the projection period.

TV = \frac{FCF_n \cdot (1+g)}{WACC - g}

WACC is the blended cost of equity and debt financing, reflecting business risk.

Yuu's Quant Analyst Terminal
0 events
Awaiting analyst events... Interact with a simulation above.

Macroeconomics & Central Banking

Yield curve mapper, rate hike simulator, QE money supply loop with live CPI tracking.

Yield CurveSpread: 1.00%
CPI Inflation3.0%

Monetary Levers

Fed Rate3.50%
10Y Yield0.00%
CPI3.0%
Real Rate0.50%
Monetary Policy Theory

Central banks use the policy rate to influence inflation and employment. The yield curve plots bond yields across maturities - its shape signals market expectations.

Quantitative Easing increases the money supply through asset purchases, lowering long-term rates. The transmission mechanism flows from policy rate to lending rates to aggregate demand to inflation.

MV = PQ \quad \text{(Equation of Exchange)}
Yuu's Quant Analyst Terminal
0 events
Awaiting analyst events... Interact with a simulation above.

Short Selling & Margin Liquidation

Leverage up to 100x with margin call gauge, flash liquidation animation, and risk metrics.

Short Position+$0.00

Controls

Position Value$5,000
P&L+$0.00
Margin %100.0%
Short Selling & Margin

Short selling involves borrowing shares, selling them, and hoping to buy back cheaper. Losses are theoretically unlimited if the price rises.

Maintenance margin is the minimum equity required. A margin call triggers when equity drops below the threshold, forcing liquidation.

Liquidation price = Entry Price * (1 - Collateral / (Entry Price * Shares) / Leverage).

Yuu's Quant Analyst Terminal
0 events
Awaiting analyst events... Interact with a simulation above.

Market Microstructure & Algorithmic Trading

Latency arbitrage, HFT order queues, spoofing detection, and price impact simulation.

HFT Queue
Price Impact$100.00

Tactical Controls

Active Orders0
Latency10ms
VolatilityNormal
Market Microstructure & HFT

Latency arbitrage exploits speed advantages to trade ahead of slower participants. HFT firms co-locate at exchanges to shave microseconds off transmission.

Spoofing involves placing orders with no intention of execution to manipulate prices. It is illegal under securities law.

Front-running is trading ahead of known orders. Modern surveillance detects these patterns through machine learning.

Yuu's Quant Analyst Terminal
0 events
Awaiting analyst events... Interact with a simulation above.

Seven modules covering the core of a quantitative finance degree curriculum.