Option Strategies Pricing & Risk

Welcome to the core quantitative simulation engine of the program. This asset contains the complete source code for a dynamic, production-grade Market Risk Sandbox built with Streamlit and QuantLib.

Instead of reading about options Greeks in a dry textbook, this sandbox allows you to physically construct complex multi-leg portfolios (spreads, straddles, butterflies), adjust real-time market risk scenarios, and instantly observe how risk vectors fluctuate across your structures.

🧠 What You Will Learn & Master

  • Dynamic Portfolio Composition: Build and manipulate complex options architectures on the fly using a multi-leg trade entry engine.
  • Intuitive Risk Visualization: Analyze combined vs. constituent payoff models with real-time tracking of your position relative to current spot boundaries.
  • Advanced Greek Symmetries: Explore full 2D grid matrix charting mapping out Net Portfolio Value (NPV), Delta, Gamma, Vega, and Theta against fluctuating price and volatility shifts.

🛠️ Core Sandbox Features

  1. Dynamic Booking Engine: Add, delete, and modify structural components seamlessly. Change option types, contract sizes, and expirations on a live, reactive interface.
  2. Live Position Tracker: View integrated payoff profiles featuring dynamic spot tracking indicator dots that slide across your risk frontier as you shift market controls.
  3. Symmetrical Risk Matrix: View a layout charting total structure risk across both localized spot parameters and non-linear implied volatility ranges.
  4. Sidebar Glossary Integration: Instant access to institutional risk definitions and industry conventions for core portfolio Greeks.