Skip to content

Interactive Black-Scholes option price dashboard. Generated visuals include implied volatility plots and heatmaps reflecting premium changes based on volatility and spot price variations. Incorporates data storage in a relational database with referential integrity.

Notifications You must be signed in to change notification settings

tmfreiberg/black-scholes-option-pricer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

black-scholes-option-pricer

A dashboard for plots, heatmaps etc., related to option prices, per the Black-Scholes model.

In Python, we employ Streamlit to create a sleek user interface allowing the user to input values for spot, strike, interest, time to maturity, and volatility. We compute corresponding European call option price according to Black-Scholes. We display a heatmap (matplotlib) reflecting the change in premium given a change in volatility and a change in spot price. The user can save this data to a database (SQLite) and retrieve it later on (database contains two tables related by primary/foreign key relation). The heatmap data can also be displayed in a pandas DataFrame.

We also allow the user to compute/plot implied volatility, and spot vs premium contours of the Black-Scholes solution surface for chosen times to maturity.

SegmentLocal

SegmentLocal

SegmentLocal

About

Interactive Black-Scholes option price dashboard. Generated visuals include implied volatility plots and heatmaps reflecting premium changes based on volatility and spot price variations. Incorporates data storage in a relational database with referential integrity.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages