Giter Club home page Giter Club logo

lookback-pricer-cpp-vba_wt8a's Introduction

Lookback Option Pricer based on Monte Carlo approach:

Description:

The pricer returns the values of the price of the options and the greeks with the Price and Delta curves as a function of the underlying at 0.

This repository contains the visual studio implementation of a lookback pricer in C++ and the user interface written in VBA.

A dll library is created using C++ which is then used by the VBA code.

Please note that this project works only on 64bits windows devices.

Steps:

Before testing the program:

Make sure to update the paths in the VBA code of the user interface.

The user interface is accessible by opening the excel in: C++\lookback\x64

Then in Excel, select Developer => Visual Basic => Right click on ModernUserForm and select code

The Lib (dll C++) directory must be changed by adding the correct path to the C++ folder

"path_to_C++_folder\C++\lookback\x64\Debug\lookback.dll"

Do not remove the images from the folder.

Theory:

The report explains in details the implementation of the Pricer.

Screenshots:

The user has to specify the characteristics of the option for the price and the greeks to be returned. The use of the interface is intuitive and don't require prior knowledge of how to code in C++ or in VBA.

Here you'll find a screenshot of user interface.

The user interface detects the compatibility of the values entrered by the user:

When the values entered are correct, the price is deduced based on the code of the C++ library.

lookback-pricer-cpp-vba_wt8a's People

Contributors

sarrme avatar trellixvulnteam 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.