Implementation of argumentlist class

Assignment Help C/C++ Programming
Reference no: EM133141421

FE545 Design, Patterns and Derivatives Pricing - Stevens Institute of Technology

Pricing a derivative security entails calculating the expected discounted value of its payoff. This reduces, in principle, to a problem of numerical integration; but in practice this calculation is often difficult for high- dimensional pricing problems. Broadie and Glasserman (1997) proposed the method of the simulated tree to price American options, which can derive the upper and lower bounds for American options. This combination makes it possible to measure and control errors as the computational effort increases. The main drawback of the random tree method is that its computational requirements grow exponentially in the number of exercise dates m, so the method is applicable only when m is small. Nevertheless, for problems with small m it is very effective, and it also serves to illustrate a theme of managing scores of high and low bias.

I) Please price the American Call and Put options using the above parameters using the BinomialTree method using the four exercising times. In this part, you will resume the BinomialTree class provided in the sample for both American Call and Put options.

II) Please add RandomHighTree and RandomLowTree classes and use GetGBMNextPrice(...) function in Random.h provided in this assignment to build random trees. These two classes should have void BuildTree() and double GetThePrice() member functions.

Please Note:

a). These two classes should have different algorithms to build and update theTree member and get the op- tion prices. Please reuse the classes provided in the random tree project.zip file for this assignment.

b). Please run 100 times to get averages of the high and low estimators of the American Call and Put option prices and compare them with the results from the BinomialTree

III) Please add PayOff Factory class using the singleton pat- tern to register "BNCall" (Binomial Tree American Call Option), "BNPut" (Binomial Tree American Put Option), "RTCallH" (Random Tree American Call Option High Es- timator), "RTCallL" (Random Tree American Call Op- tion Low Estimator), "RTPutH" (Random Tree Ameri- can Put Option High Estimator), and "RTPutL" (Random Tree American Put Option Low Estimator) classes. Gen- erate American option prices using the parameter specified above.

Please Note:

a). Please use the PayOff Constructible and PayOff Factory (sample of these classes are provided along with this assignment in the factory arglist solution.zip file) to manage the class registration and object creation for all the tree option pricing classes. It means that you need to register the 6 classes for the 6 IDs specified in the problem exactly e.g. ‘BNCall", "BNPut", "RTCallH", "RTCallL", ‘RTPutH", and ‘RTPutL".

b). Please run ArgumentList class to pass the parameters for all the class registration with the factory class. The implementation of ArgumentList class is provided in ArgList.h and ArgList.cpp respectively.

Attachment:- Patterns and Derivatives Pricing.rar

 

Reference no: EM133141421

Questions Cloud

Calculate the weighted average flotation costs : The company is planning to do an expansion project for $5,000,000 plus $200,000 of installation costs. Calculate the weighted average flotation costs
Prepare the entry in journal form with explanation : On July 1, 2010, Boston Corporation issued bonds with a face value of $500,000. Prepare the entry in journal form with explanation
Whole foods case study : Analyze effects of the democratic approach to store operation and hiring new associates on store performance. Analyze effects of the democratic approach to sto
Which is the equation for ebit in terms of p : Assume the project can be financed at 8% (before-tax) using debt. Tax Rate is 30%. If P is the rental price, which is the equation for EBIT in terms of P
Implementation of argumentlist class : High and low estimators of the American Call and Put option prices and compare them with the results from the BinomialTree
What are the benefits and costs of outsourcing : What are the benefits and costs of outsourcing part of your operations to an external firm. What are some things that the company should consider
What factors would you consider in making this decision : If the net income of the bank exceeds $10 million, you get a bonus. What factors would you consider in making this decision
What is the current price on this bond : Silicone Ltd bonds have a coupon rate of 6%, paid semi-annually, face value of $1,000, What is the current price on this bond
Organizational behavior : Review and reflect on what you learned in the past 8 weeks. What is the most practical and easily applied lesson you learned? What was the hardest to grasp? Why

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd