Skip to content

In order to know more information about a stock option, this options calculator with Black-Scholes Model, the first widely used model for option pricing, can provide the call/put option price, d1, d2, and Greek letters. It can assist investors in establishing an option trading strategy. Certain assumptions must be made due to this calculator is …

License

Notifications You must be signed in to change notification settings

pepelawycliffe/Options_Calculator_with_Black_Scholes_model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Options_Calculator_with_Black_Scholes_model

In order to know more information about a stock option, this options calculator with Black-Scholes Model, the first widely used model for option pricing, can provide the call/put option price, d1, d2, and Greek letters. It can assist investors in establishing an option trading strategy. Certain assumptions must be made due to this calculator is modeled by Black-Scholes model. * It works on European options that can only be exercised at expiration. * No dividends are paid out during the option’s life. * Stock markets are efficient. The movement of the markets cannot be predicted, and there is continuous trading * There are no transaction and commissions costs in buying the option. * The risk-free rate and volatility of the underlying are known and constant. * The returns on the underlying are normally distributed.

Input variables:

  1. Underlying price (per share)
  2. Strike price of the option (per share)
  3. Time to maturity (years)
  4. Continuously compounding risk-free interest rate (%)
  5. Volatility (%)

Output Variables:

* d1: N(d2), the cumulative density function of normal distribution, is the risk-adjusted probability that the option will be exercised. * d2: N(d1), the cumulative density function of normal distribution, is the probability of receiving the stock at expiration of the option.
  • The Greek letters, including delta, gamma, vega, rho, and theta, represent the sensitivities of the option price to a single –unit change in the value of either a state variable or a parameter.
    • The delta of an option is defined as the rate of change of the option price respected to the rate of the change of underlying asset price.
    • The gamma is defined as the rate of change of delta respected to the rate of change of underlying asset price.
    • The vega of an option is defined as the rate of change of the option price respected to the volatility of the underlying asset.
    • The rho of an option is defined as the rate of the option price respected to the interest rate.
    • The theta of an option is defined as the rate of change of the option price respected to the passage of time.

Python Resources:

  • Pandas: Pandas is a Python package for data analysis. In particular, it offers data structures and operations for manipulating numerical tables and time series.

  • Numpy: Numpy is a fundamental package to support for multi-dimensional arrays and matrices. It is not only used for scientific computing, but also for multi-dimensional container of generic data.

  • Math: Math provides access to the mathematical functions, such as pi, log, exp, sqrt, and other mathematical functions.

  • Statistics: Statistics provides access to the statistics functions, such as norm_pdf, norm_cdf, mean, stdev, and other statistics functions.

  • matplotlib.pyplot

  • datetime

About

In order to know more information about a stock option, this options calculator with Black-Scholes Model, the first widely used model for option pricing, can provide the call/put option price, d1, d2, and Greek letters. It can assist investors in establishing an option trading strategy. Certain assumptions must be made due to this calculator is …

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published