A modern, interactive Black-Scholes options pricing calculator with real-time parameter controls and dynamic heatmap visualizations. Built for financial professionals, educators, and traders seeking intuitive options analysis tools.
- Real-time Options Pricing - Instant Call/Put price calculations using the Black-Scholes formula
- Interactive Parameter Controls - Real-time sliders for spot price, strike, volatility, time to expiration, and risk-free rate
- Dynamic Heatmaps - Interactive visualizations showing option price sensitivity across spot price and volatility ranges
- Greeks Calculations - Delta, Gamma, and other sensitivity metrics
- Professional UI - Clean, dark-themed interface optimized for financial analysis
- Educational Focus - Clear parameter explanations and intuitive design for learning options concepts
Backend
- FastAPI (Python) - High-performance API framework
- NumPy & SciPy - Mathematical computations
- Pydantic - Data validation and serialization
Frontend
- Next.js 14 - React framework with App Router
- TypeScript - Type-safe development
- Tailwind CSS - Utility-first styling
- Plotly.js - Interactive data visualizations
Deployment
- Vercel (Frontend) - Optimized for Next.js
- Railway/Render (Backend) - FastAPI hosting
- Python 3.11+
- Node.js 18+
- npm/yarn
# Clone repository and navigate to backend
cd backend
# Create virtual environment
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Start FastAPI server
uvicorn main:app --reload --host 0.0.0.0 --port 8000# Navigate to frontend directory
cd frontend
# Install dependencies
npm install
# Start development server
npm run dev- Frontend: http://localhost:3000
- Backend API: http://localhost:8000
- API Documentation: http://localhost:8000/docs
- Input Parameters - Adjust option parameters using the sidebar controls
- Real-time Calculation - Backend processes Black-Scholes formula instantly
- Visual Analysis - View results through price displays and interactive heatmaps
- Sensitivity Analysis - Explore how parameter changes affect option prices
- Educational - Learn Black-Scholes concepts through interactive visualization
- Professional Analysis - Analyze option pricing scenarios and sensitivities
- Strategy Development - Explore different market conditions and their impact
- Risk Assessment - Understand how Greeks affect option positions
blackscholes-dashboard/
βββ backend/ # FastAPI application
β βββ models/ # Black-Scholes calculation engine
β βββ routers/ # API endpoints
β βββ schemas/ # Request/response models
β βββ main.py # Application entry point
βββ frontend/ # Next.js application
βββ app/ # App Router pages
βββ components/ # React components
βββ lib/ # API client and utilities
βββ types/ # TypeScript definitions