Function to plot the option premium as a function of stock price/strike and time
The user inputs are as follows:
Type of Option: chosen between Call/Put
X-Y axis: chosen between Stock price-Time/Strike - Time
Risk free rate
Clicking on the '+'/'-' respectively increases/decreases the values.
A plot of the option premium as a function of stock price/strike and time
S Subramanian <email@example.com>
John C. Hull, "Options, Futures, and Other Derivatives", 8/E, Prentice Hall, 2012.