Financial Mathematics I :Please answer full steps clearly Q1) Design and impleme
ID: 3803643 • Letter: F
Question
Financial Mathematics I:Please answer full steps clearly
Q1) Design and implement a computer program to value options using a binomial/trinomial tree. You can use a programming language of your choice. Do not use Excel/VBA for this exercise. Implement appropriate switches so that the program can value European or American options, options on stocks (dividend or non-dividend paying), stock indices, currencies, and futures. Calculate the Greeks in your program. Test your program using many of the examples in the book and the assignments. Please make sure to include complete instructions for me to install the software and test your program. If I am not able to test your program I cannot grade it and give you marks.
Note :the subject is Financial Mathematics I: options, futures and other derivatives (9th edition) Chapter 17: Options on stock indices and currencies, Chapter 18: Futures options ,Chapter 21: Basic numerical procedures ,Chapter 27: More on models and numerical procedures
Hi Please I give you above the text book and chapters and i will repost now again
Text book is :options, futures and other derivatives (John C.Hull ,9th edition) Chapter 17: Options on stock indices and currencies, Chapter 18: Futures options ,Chapter 21: Basic numerical procedures ,Chapter 27: More on models and numerical procedures
Explanation / Answer
Sub CreateReports() Dim modelWB As PTModelWorkbook Dim rptPlacement As PTReportPlacement Dim rptOverwrite As Boolean With PrecisionTree.ApplicationSettings ' Remember current settings rptPlacement = .ReportPlacement rptOverwrite = .ReportOverwriteExisting ' Change settings .ReportPlacement = PTActiveWorkbook ' The following must be set to False. Otherwise, each report ' requested below will overwrite the previous report. .ReportOverwriteExisting = False End With Set modelWB = PrecisionTree.ModelWorkbook ' Policy suggestion for entire tree With modelWB.NewPolicySuggestion Set .Model = modelWB.DecisionTrees("Oil Drilling Decisions") .IncludeDecisionTable = True .IncludeOptimalDecisionTree = True .GenerateReport End With ' Policy suggestion assuming decision to NOT test has been made With modelWB.NewPolicySuggestion Set .startingNode = modelWB.DecisionTrees("Oil Drilling Decisions") _ .Nodes("Drill Decision 4") .IncludeDecisionTable = True .IncludeOptimalDecisionTree = True .GenerateReport End With ' Risk profile for entire tree With modelWB.NewRiskProfile Set .Model = modelWB.DecisionTrees("Oil Drilling Decisions") .PathsToAnalyze = PTAnalyzeOptimumPath .IncludeCumulativeChart = False .IncludeProbabilityChart = True .IncludeStatisticalSummary = True .GenerateReport End With ' Risk profile assuming decision to not test has been made With modelWB.NewRiskProfile Set .startingNode = modelWB.DecisionTrees("Oil Drilling Decisions") _ .Nodes("Drill Decision 4") .PathsToAnalyze = PTAnalyzeOptimumPath .IncludeCumulativeChart = False .IncludeProbabilityChart = True .IncludeStatisticalSummary = True .GenerateReport End With With PrecisionTree.ApplicationSettings ' Restore original settings .ReportPlacement = rptPlacement .ReportOverwriteExisting = rptOverwrite End With End Sub
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.