Git Product home page Git Product logo

ma473-computational-finance-project's Introduction

Finite Difference Method for the Multi-Asset Black–Scholes Equations

The code runs through the driver code in src/driver_code.m. The code has been implemented for 3 dimensions. The driver code asks for the dimension as input and returns the plots and error analysis.

Folder Structure:

│
├── outputs                             # contains the outputs for the executed code
│   ├── plots
│   │   └── ...
│   └── outputs.txt                 
│
├── papers                              # reference papers
│   └── ...
│
├── src
│   ├── cash_or_nothing_dimension1.m    # numerical solution for the cash of nothing option involving 1 asset
│   ├── cash_or_nothing_dimension2.m    # numerical solution for the cash of nothing option involving 2 assets
│   ├── cash_or_nothing_dimension3.m    # numerical solution for the cash of nothing option involving 3 assets
│   ├── closed_form_solution_1d.m       # closed form solution for the cash of nothing option involving 1 asset
│   ├── closed_form_solution_2d.m       # closed form solution for the cash of nothing option involving 2 assets
│   ├── closed_form_solution_3d.m       # closed form solution for the cash of nothing option involving 3 assets
│   ├── compute_error.m                 # calculates error between the numerical and the closed form solution
│   ├── driver_code.m                   # driver code
│   ├── plot_graphs.m                   # helper function to plot the figures
│   └── tridiagonal_matrix.m            # helper function to construct the tridiagonal matrix
│
└── term paper                          # term paper pdf and the presentation
    └── ... 

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.