{"id":154703,"date":"2018-02-20T23:50:30","date_gmt":"2018-02-20T23:50:30","guid":{"rendered":"https:\/\/writemyessayfree.com\/programming-4"},"modified":"2017-08-17T18:26:25","modified_gmt":"2017-08-17T18:26:25","slug":"programming-4","status":"publish","type":"post","link":"https:\/\/www.benedictsol.com\/blogs\/programming-4\/","title":{"rendered":"programming"},"content":{"rendered":"<p><a class=\"programming-4\/\"><\/a> <\/p>\n<p>Based on the option pricer we developed in cpp22 write a C++ program (console application) that will run<\/p>\n<p>a Monte Carlo simulation to approximate the theoretical value of the straddle portfolio consisting of both<\/p>\n<p>call and put down-and-out arithmetic Asian options.<\/p>\n<p>Your code should be ready to price the option for any values of its characteristics, nevertheless please ?nd<\/p>\n<p>the theoretical price for the following values:<\/p>\n<p>? price of the underyling at the moment of option pricing: S0 = 195<\/p>\n<p>? strike price K = 200<\/p>\n<p>? annualized volatility rate ? = 0.2<\/p>\n<p>? annualized risk-free rate r = 0.06<\/p>\n<p>? annualized dividend rate d = 0<\/p>\n<p>? time to maturity t = 0.5<\/p>\n<p>As far as the barrier level b is concerned, it\u2019s up to you. Choose a reasonable value. Avoid the barrier that<\/p>\n<p>will make the portfolio price to be zero.<\/p>\n<p>Write a short report on it.<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Based on the option pricer we developed in cpp22 write a C++ program (console application) that will run a Monte Carlo simulation to approximate the theoretical value of the straddle portfolio consisting of both call and put down-and-out arithmetic Asian <a href=\"https:\/\/www.benedictsol.com\/blogs\/programming-4\/\" class=\"read-more\">Read More &#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-154703","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts\/154703","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/comments?post=154703"}],"version-history":[{"count":0,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts\/154703\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/media?parent=154703"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/categories?post=154703"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/tags?post=154703"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}