Giter VIP home page Giter VIP logo

amayadav / black-scholes-option-pricing-model Goto Github PK

View Code? Open in Web Editor NEW

This project forked from esterhlav/black-scholes-option-pricing-model

0.0 0.0 0.0 29.41 MB

Black Scholes Option Pricing calculator with Greeks and implied volatility computations. Geometric Brownian Motion simulator with payoff value diagram and volatility smile plots. Java GUI.

License: MIT License

Java 100.00%

black-scholes-option-pricing-model's Introduction

Black-Scholes Option Pricing Model

Simulation of a Geometric Brownian Motion with Java


Ester Hlav, May 2017

This program is an Option Pricing Model based on the Black-Scholes formula. It includes both an Option Pricing Calculator as well as a Geometric Brownian Motion Simulator based on a random generator. Additionaly, based on parameters given by the user, the program can calculate implied volatility and Greeks (i.e. the derivatives of an option value regarding the different factors such as stock price, strike price, volatility etc.) as well as output diagrams of option payoff and volatility smile. All calculated and simulated outputs are well-known concepts in the field of quantitative finance and derivative contracts and are using parameters from the Black-Scholes formula. Finally, a GUI with a brief introduction to options and option pricing was developed for users new to the field of quantiative finance.

Figure1


Modules

PART A - Introduction to Calls and Puts

  • Slides
  • Quizz Figure2

Demo

gif animation

PART B - Option Pricing Calcualtor and Brownian Motion Simulator

1- Computation

  • Computing the Option Price
  • Computing the Implied Volatility
  • Computing the Greeks

2 - Simulation

  • Geometric Brownian Motion
  • Payoff/Value Diagram
  • Volatility Smile

Figure4

Demo

gif animation

Run the code

In directory /Code/.

To compile:

$ javac OptionPricing.java

To run:

$ java OptionPricing

black-scholes-option-pricing-model's People

Contributors

esterhlav avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.