#Mathematical Finance

Articles about Mathematical Finance — exploring patterns, best practices, and real-world implementations in production systems.

8 posts tagged with mathematical finance. ← All posts

#A/B Testing (3)#A2A (14)#ADK (8)#AG-UI (6)#AI (9)#AI Agents (335)#AI Architecture (22)#AI Cost (10)#AI Cost Optimization (8)#AI Engineering (282)#AI Evaluation (9)#AI Financial Engineering (14)#AI Gateway (8)#AI Governance (40)#AI Red Teaming (9)#AI Research (9)#AI Safety (12)#AI Security (29)#AI in Production (12)#AML (3)#API Design (10)#API Security (8)#APIs (59)#AWS (17)#Accountability (8)#Accounting (9)#Agent Skills (11)#Agentic AI (25)#Agentic Commerce (12)#Agentic RAG (8)#Agents (4)#Amazon Bedrock (8)#Analytics (3)#Architecture (42)#Attention (3)#Audit (4)#Authentication (11)#Authorization (3)#Automation (11)#Azure (11)#Azure AI Foundry (9)#Backend Engineering (310)#Benchmarks (3)#Best Practices (4)#BigQuery (6)#Business Finance (8)#Business Strategy (55)#C (8)#CI/CD (16)#Caching (11)#Capital Markets (14)#Card Payments (12)#Cards (13)#Career (25)#Causal Inference (8)#Cellular Automata (8)#Checkpointing (4)#Claude Code (8)#Cloud (5)#Cloud Architecture (3)#Cloud Native (10)#Code Review (9)#Coding Agents (8)#Collaboration (5)#Communication (9)#Complexity (8)#Compliance (54)#Computer Networking (9)#Computer Science (40)#Computer Vision (15)#Computer-Use Agents (8)#Concurrency (40)#Consulting (5)#Containers (10)#Context Engineering (14)#Conversational AI (8)#Cost Optimisation (5)#Cost Optimization (3)#Credit (16)#Credit Risk (16)#CrewAI (8)#Crypto (12)#Cryptocurrency (12)#Cryptography (9)#Custody (9)#DSPy (8)#Data (14)#Data Engineering (24)#Data Science (8)#Data Structures (10)#Databases (41)#Deep Learning (20)#Deployment (5)#Design (3)#Design Patterns (10)#DevOps (24)#DevSecOps (22)#Developer Experience (5)#Developer Tools (5)#Differential Privacy (3)#Distributed Systems (100)#Documentation (3)#Edge AI (8)#Embeddings (21)#Emotional Intelligence (8)#Energy (8)#Engineering (14)#Engineering Culture (3)#Engineering Judgment (7)#Engineering Practices (16)#Error Handling (4)#Evaluation (68)#Event-Driven Architecture (8)#Explainable AI (8)#FREE-AI (8)#FX (5)#Feature Engineering (3)#Feedback (4)#FinOps (23)#FinTech (6)#Financial AI (14)#Financial Engineering (8)#Financial Systems (129)#Fine-Tuning (12)#Fintech (131)#Flutter (8)#Forecasting (10)#Foreign Exchange (5)#Forward Deployed Engineer (22)#Forward Deployed Engineering (8)#Fraud (10)#Function Tools (5)#Functional Programming (3)#Fundamentals (23)#Fundraising (8)#GCP (5)#GPU (8)#GUI Automation (8)#Gemma (4)#Generative AI (3)#Git (8)#Go (220)#Go-to-Market (13)#Google ADK (36)#Governance (61)#Granite (6)#Graph Neural Networks (8)#GraphQL (3)#Growth (3)#Guardrails (34)#HIPAA (3)#HTTP (3)#Harness Engineering (8)#Hiring (8)#Hugging Face (8)#Human-in-the-Loop (9)#IBM watsonx (8)#Identity (11)#Inference (8)#Information Retrieval (8)#Integration (3)#Intellectual Property (8)#Interfaces (3)#Interpretability (8)#JavaScript (8)#KYC (11)#KYC and AML (12)#Kafka (11)#Knowledge Graphs (10)#Kubernetes (17)#LLM (5)#LLM Inference (8)#LLM Infrastructure (8)#LLM-as-Judge (3)#LLMOps (8)#LLMs (192)#LangChain (8)#LangGraph (11)#Leadership (29)#Ledger (12)#Legal (8)#Lending (14)#Linux (9)#LlamaIndex (8)#Load Balancing (3)#MCP (22)#MLOps (36)#Machine Learning (109)#Marketing (16)#Markets (4)#Mathematical Finance (8)#Memory (15)#Memory Management (5)#Metrics (7)#Microservices (3)#Microsoft Agent Framework (150)#Middleware (6)#Migration (9)#Mixture of Experts (5)#Model Risk (3)#Monitoring (5)#Multi-Agent (10)#Multi-Agent AI (14)#Multi-Agent Systems (73)#Multimodal (3)#Multimodal AI (11)#NIM (5)#NVIDIA (8)#Networking (3)#OAuth (3)#OWASP (7)#Observability (50)#On-Device AI (8)#Ontology (8)#Open Source (7)#OpenTelemetry (5)#Operating Systems (9)#Operations (13)#Opinion (6)#Orchestration (10)#Organizational Design (8)#Payment Rails (16)#Payments (54)#People (8)#Performance (56)#Personalization (9)#Platform Engineering (9)#Policy as Code (3)#PreSales (8)#Privacy (13)#Privacy Engineering (3)#Process (4)#Product (30)#Product Management (8)#Production (22)#Programming (10)#Programming Languages (48)#Prompt Engineering (80)#Prompt Injection (15)#Protocol Buffers (3)#Protocols (9)#Providers (4)#Pydantic AI (8)#Python (142)#Quality (3)#Quantitative Finance (22)#RAG (70)#RBI (3)#REST (5)#Rails (16)#Real-Time (8)#Reasoning Models (8)#Recommender Systems (8)#Reconciliation (3)#RegTech (8)#Regulation (10)#Reinforcement Learning (9)#Reliability (56)#Resilience (4)#Responsible AI (5)#Retrieval (3)#Risk (14)#Risk Management (11)#Rust (32)#SLSA (3)#SRE (23)#Sales (9)#Scalability (6)#Search (10)#Security (102)#Security Engineering (8)#Self-Evolving Agents (16)#Semantic Web (8)#Sessions (3)#Settlement (9)#Soft Skills (8)#Software (3)#Software Architecture (36)#Software Delivery (9)#Software Engineering (152)#Spanner (4)#Speech (8)#Startups (30)#Statistics (8)#Strands (8)#Strategy (6)#Stream Processing (8)#Streaming (36)#Structured Output (4)#Supply Chain Security (9)#Sustainability (8)#System Design (32)#Systems Programming (56)#Testing (66)#Threat Modeling (3)#Time Series (9)#Tool Use (23)#Tooling (5)#Tools (4)#Trading (8)#Treasury (6)#Trust (3)#Type System (3)#Type Systems (11)#TypeScript (8)#Validation (3)#Valuation (3)#Vector Databases (22)#Vector Search (11)#Venture Capital (8)#Version Control (9)#Voice AI (9)#Web Development (6)#Workflow (4)#Workflows (14)#eBPF (8)#gRPC (13)#smolagents (8)
Pratik Dhanave · ·7 min read

Risk Management and Building Models in Practice

Every model in this series was a tool for one ultimate purpose: understanding and controlling risk. Risk management is where financial engineering meets reality — where elegant models confront messy markets, fat tails, and the uncomfortable truth that the most dangerous risks are the ones your model didn't consider. This closing post covers how risk is measured and managed in practice, and how to build financial models responsibly, knowing they will eventually be wrong.

Risk management is the purpose every model served. Value at Risk and its tail-hiding flaw (so expected shortfall), fat tails, hedging with the Greeks, market microstructure as a systems problem, and the overriding lesson: models are approximations that will eventually be wrong — so respect the tails and stay humble. (Educational, not financial advice.)

Pratik Dhanave · ·6 min read

Randomness — Stochastic Models and Monte Carlo

Prices are random, so finance is fundamentally a probabilistic discipline — and the tools for reasoning about randomness are what let quants price the instruments that have no tidy formula. A stochastic model describes how a price wanders through time; Monte Carlo simulation lets you compute almost anything by running that model thousands of times and averaging. Together they are the computational engine of modern quantitative finance, and they're territory engineers find immediately familiar.

Prices are random, so finance is a probabilistic discipline. Brownian motion and geometric Brownian motion model how a price wanders; Monte Carlo simulation turns that model into a universal engine for pricing and risk — the computational core of modern quant finance, and territory engineers find familiar. (Educational, not financial advice.)

Pratik Dhanave · ·7 min read

Option Pricing — Black-Scholes and the Greeks

The Black-Scholes model is one of the most consequential equations ever written — it turned option pricing from guesswork into engineering and arguably created the modern derivatives industry. Its genius is not a formula to memorize but an idea: you can price an option by continuously replicating it with the underlying and cash, so no-arbitrage pins down its value without any forecast of the market. This post builds that idea and the Greeks that make it operational.

Black-Scholes turned option pricing into engineering: price an option by the cost of continuously replicating it, so no-arbitrage pins its value and the underlying's expected return drops out entirely. Risk-neutral valuation, what the model assumes, implied volatility, and the Greeks traders actually hedge. (Educational, not financial advice.)

Pratik Dhanave · ·7 min read

Derivatives and the No-Arbitrage Principle

Derivatives sound exotic, but a derivative is just a contract whose value derives from something else — a stock, a rate, a commodity. What makes them intellectually beautiful is how they are priced: not by predicting the future, but by insisting that their price be consistent with the things they depend on. That insistence — the no-arbitrage principle — is the single most powerful idea in quantitative finance, and this post builds it from the ground up.

A derivative's value derives from something else — and it's priced not by prediction but by the no-arbitrage principle: if a portfolio replicates a payoff, it must cost the same. Forwards, futures, options, payoff shapes, and the replication argument that prices a forward and links calls to puts. (Educational, not financial advice.)

Pratik Dhanave · ·6 min read

Risk and Return

You cannot have higher expected return without accepting more risk — that trade-off is the deepest law in investing, and quantifying it precisely is the achievement that launched modern finance. The surprising twist is that risk is not simply additive: combine imperfectly related assets and some risk cancels out for free. Diversification is the closest thing finance has to a free lunch, and portfolio theory is the math of exploiting it.

Higher expected return requires more risk — and the surprising twist is that diversification reduces risk for free when assets are imperfectly correlated. Volatility, covariance, the efficient frontier, systematic vs. idiosyncratic risk, and how CAPM prices risk through beta. (Educational, not financial advice.)

Pratik Dhanave · ·6 min read

Bonds and the Yield Curve

A bond is the simplest real instrument in finance — a contract to pay fixed cash flows on fixed dates — which makes it the perfect place to turn the time value of money into something concrete. But bonds also introduce the two ideas that run through all of fixed income: yield, the single number that summarizes a bond's return, and the yield curve, the market's price of time itself. Understanding bonds is understanding how markets discount the future.

A bond is the simplest real application of discounting: fixed future cash flows, priced by present value. From there come yield, the inverse price-yield relationship, duration and convexity as interest-rate risk, and the yield curve as the market's price of time. (Educational, not financial advice.)

Pratik Dhanave · ·6 min read

The Time Value of Money

A dollar today is worth more than a dollar tomorrow — and that single sentence, made precise, is the foundation beneath every price in finance. Discounting future cash flows back to their value today is the operation you perform, explicitly or implicitly, every time you value anything: a bond, a stock, an option, a company, a mortgage. Master this one idea and most of finance becomes arithmetic on top of it.

A dollar today is worth more than a dollar tomorrow — and that single fact, made precise, is how everything in finance gets valued. Present value, future value, discounting, and the discounted-cash-flow method that prices anything with a future payoff. (Educational, not financial advice.)

Pratik Dhanave · ·6 min read

What Financial Engineering Is

Financial engineering is what happens when you point the tools of mathematics, computer science, and engineering at money. It is the discipline behind pricing a derivative, measuring the risk of a portfolio, and deciding what a future cash flow is worth today. For engineers, it is a surprisingly familiar world — models, assumptions, edge cases, and a relentless question of what a thing is really worth. This series builds it from first principles.

Financial engineering applies math, statistics, and computation to money — and under the jargon it rests on three ideas an engineer will recognize: the time value of money, the trade-off between risk and return, and no-arbitrage. This series builds quant finance from those foundations. (Educational, not financial advice.)

All posts on this site are written by Pratik Dhanave, an Agentic AI Architect with 7+ years building production distributed systems, multi-agent AI platforms, and cloud-native infrastructure. About the author → Each article includes working code, architecture diagrams, and references to the specific frameworks and standards discussed. Browse all posts or explore related topics using the tag cloud above.