Skip to content

martinklusacek/BlackScholesModel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Black Scholes Model Implementation in C# using Winforms

Overview This project provides an implementation of the Black Scholes Model using C#. The Black Scholes Model is a widely used mathematical model for pricing options contracts. With this implementation, you can calculate the premiums for both Call (CE) and Put (PE) options based on different parameters such as stock price, strike price, time period, rate of interest, and volatility.

How to Use To calculate the premium for a Call option using the Black Scholes Model, you can use the Call_bsm method provided in the code. Here's a brief overview of the parameters:

StockPrice: Current price of the underlying stock. StrikePrice: Price at which the option can be exercised. TimePeriod: Time to expiration of the option, in years. RateofInterest: Annual risk-free interest rate. roh_Volatility: Volatility of the underlying stock.

WinForms Interface:

The application utilizes WinForms, part of the .NET Framework, to provide an interactive interface for users to input instrument values and obtain option premiums. BSM

Note:

Ensure that all input parameters are accurate and consistent with financial market conventions to obtain reliable results. In case of any errors during computation, the application handles exceptions and provides appropriate error messages.

Contributions

Contributions and feedback are welcome! If you find any bugs, have suggestions for improvements, or want to contribute additional features, feel free to open an issue or submit a pull request.

About

Black Scholes Model Implementation in C#

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%