This project leverages the Black-Scholes model to calculate option prices based on inputs such as underlying asset price, strike price, time to expiration, volatility, and the risk-free interest rate. The core model is implemented in C++ and compiled into WebAssembly using Emscripten and CMake. The WebAssembly module is integrated into a React application via a JavaScript wrapper, enabling high-performance computations. A heatmap visualizes how call and put prices fluctuate based on volatility and strike price.
The key performance metric is model execution time.
The project successfully demonstrates real-time option pricing using the Black-Scholes model. It visualizes price sensitivity through a dynamic heatmap, offering insights into how volatility and strike price affect option values. Notably, the application runs efficiently on mobile devices, with real-time UI updates and responsive performance.
In future work, the project will expand its capabilities by incorporating additional option pricing models, such as binomial models and Monte Carlo simulations. Integration of live market data will enable real-time input updates, enhancing the system's responsiveness to current market conditions. To improve the user experience, the platform will offer more customizable visualizations and a wider array of analytical tools, empowering users with greater flexibility in analysis. Performance optimization will also be a priority, focusing on handling larger datasets and more complex financial scenarios with increased efficiency.