{"id":8191,"date":"2022-07-10T22:23:25","date_gmt":"2022-07-10T21:23:25","guid":{"rendered":"https:\/\/www.simtrade.fr\/blog_simtrade\/?p=8191"},"modified":"2026-02-10T23:01:06","modified_gmt":"2026-02-10T23:01:06","slug":"pricing-barrier-options-simulations-sensitivity-analysis-greeks","status":"publish","type":"post","link":"https:\/\/www.simtrade.fr\/blog_simtrade\/pricing-barrier-options-simulations-sensitivity-analysis-greeks\/","title":{"rendered":"Pricing barrier options with simulations and sensitivity analysis with Greeks"},"content":{"rendered":"<p><a href=\"https:\/\/www.linkedin.com\/in\/shengyu-zheng-39878810b\/\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"padding: 5px;\" title=\"\" src=\"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2022\/07\/img_SimTrade_Photo1_Shengyu_Zheng.jpg\" alt=\"Shengyu ZHENG\" width=\"133\" align=\"right\" \/><\/a><\/p>\n<p>In this article, <a href=\"https:\/\/www.linkedin.com\/in\/shengyu-zheng-39878810b\/\" target=\"_blank\" rel=\"noopener\">Shengyu ZHENG<\/a> (ESSEC Business School, <i>Grande Ecole<\/i> Program &#8211; Master in Management, 2020-2023) explains the pricing of barrier options with Monte-Carlo simulations and the sensitivity analysis of barrier options from the perspective of Greeks.<\/p>\n<h2>Pricing of discretely monitored barrier options with Monte-Carlo simulations<\/h2>\n<p>With the simulation method, only the pricing of discretely monitored barrier options can be handled since it is impossible to simulate continuous price trajectories with no intervals. Here the method is illustrated with a down-and-out put option. The general setup of economic details of the down-and-out put option and related market information are presented as follows:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2022\/08\/img_SimTrade_pic13_barrier_option_pricing_r_general_setup.png\" alt=\"General setup of simulation for barrier option pricing\" width=\"600\" \/><\/p>\n<p>Similar to the simulation method for pricing standard vanilla options, Monte Carlo simulations based on Geometric Brownian Motion could also be employed to analyze the pricing of barrier options.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2022\/08\/img_SimTrade_pic14_barrier_option_pricing_r_simulation_1.png\" width=\"600\" \/><\/p>\n<p style=\"text-align: center;\">Figure 1. Trajectories of 600 price simulations.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2022\/07\/img_SimTrade_pic15_barrier_option_pricing_r_trajectories_600_simulations.png\" width=\"600\" \/><\/p>\n<p>With the R script presented above, we can simulate 6,000 times with the simprice() function from the derivmkts package. Trajectories of 600 price simulations are presented above, with the black line representing the mean of the final prices, the green dashed lines 1x and 2x standard deviation above the mean, the red dashed lines 1x and 2x derivation below the mean, the blue dashed line the strike level and the brown line the knock-out level.<\/p>\n<p>The simprice() function, according to the documentation, computes simulated lognormal price paths with the given parameters.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2022\/08\/img_SimTrade_pic16_barrier_option_pricing_r_simulation_2.png\" width=\"600\" \/><\/p>\n<p>With this simulation of 6,000 price paths, we arrive at a price of 0.6720201, which is quite close to the one calculated from the formulaic approach from the previous post.<\/p>\n<h2>Analysis of Greeks<\/h2>\n<p>The Greeks are the measures representing the sensitivity of the price of derivative products including options to a change in parameters such as the price and the volatility of the underlying asset, the risk-free interest rate, the passage of time, etc. Greeks are important elements to look at for risk management and hedging purposes, especially for market makers (dealers) since they do not essentially take these risks for themselves.<\/p>\n<p>In R, with the combination of the greeks() function and a barrier pricing function, putdownout() in this case, we can easily arrive at the Greeks for this option.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2022\/08\/img_SimTrade_pic17_barrier_option_r_code_sensitivity_Greeks.png\" alt=\"Barrier option R code Sensitivity Greeks\" width=\"600\" \/><\/p>\n<p style=\"text-align: center;\">Table 1. Greeks of the Down-and-Out Put<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2022\/07\/img_SimTrade_pic18_barrier_option_sensitivity_Greeks_table.png\" alt=\"Barrier Option Greeks Summary\" width=\"600\" \/><\/p>\n<p>We can also have a look at the evolutions of the Greeks with the change of one of the parameters. The following R script presents an example of the evolutions of the Greeks along with the changes in the strike price of the down-and-out put option.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2022\/08\/img_SimTrade_pic19_barrier_option_r_code_sensitivity_Greeks_evolution.png\" alt=\"Barrier option R code Sensitivity Greeks Evolution\" width=\"600\" \/><\/p>\n<p style=\"text-align: center;\">Figure 2. Evolution of Greeks with the change of Strike Price of a Down-and-Out Put<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2022\/07\/img_SimTrade_pic20_barrier_option_sensitivity_Greeks_evolution.png\" alt=\"Evolution Greeks Barrier Price\" width=\"600\" \/><\/p>\n<h2>Download R file to price barrier options<\/h2>\n<p>You can find below an R file (file with txt format) to price barrier options.<\/p>\n<p><a href=\"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2022\/08\/Barrier-Option-Pricing.txt\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"aligncenter\" style=\"padding: 3px;\" title=\"Download R file to price barrier options\" src=\"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2022\/07\/img_SimTrade_Btn_Download_R_file_US.png\" alt=\"Download R file to price barrier options\" width=\"200\" align=\"center\" \/><\/a><\/p>\n<h2>Why should I be interested in this post?<\/h2>\n<p>As one of the most traded but the simplest exotic derivative products, barrier options open an avenue for different applications. They are also very often incorporated in structured products, such as reverse convertibles. It is, therefore, important to be equipped with knowledge of this product and to understand the pricing logics if one aspires to work in the domain of market finance.<\/p>\n<p>Simulation methods are very common in pricing derivative products, especially for those without closed-formed pricing formulas. This post only presents a simple example of pricing barrier options and much optimization is needed for pricing more complex products with more rounds of simulations.<\/p>\n<h2>Related posts on the SimTrade blog<\/h2>\n<p>\u25b6 <a href=\"https:\/\/www.simtrade.fr\/blog_simtrade\/tag\/options\/\" target=\"_parent\" rel=\"noopener\">All posts about Options<\/a><\/p>\n<p>\u25b6 Shengyu ZHENG <a href=\"https:\/\/www.simtrade.fr\/blog_simtrade\/barrier-options\/\" target=\"_parent\" rel=\"noopener\">Barrier options<\/a><\/p>\n<p>\u25b6 Shengyu ZHENG <a href=\"https:\/\/www.simtrade.fr\/blog_simtrade\/pricing-barrier-options-analytical-formulas\/\" target=\"_parent\" rel=\"noopener\">Pricing barrier options with analytical formulas<\/a><\/p>\n<h2>Useful resources<\/h2>\n<h3>Academic articles<\/h3>\n<p>Broadie, M., Glasserman P., Kou S. (1997) A Continuity Correction for Discrete Barrier Option. <i>Mathematical Finance<\/i>, 7:325-349.<\/p>\n<p>Merton, R. (1973) Theory of Rational Option Pricing. <i>The Bell Journal of Economics and Management Science<\/i>, 4:141-183.<\/p>\n<p>Paixao, T. (2012) A Guide to Structured Products \u2013 Reverse Convertible on S&amp;P500<\/p>\n<p>Reiner, E.S., Rubinstein, M. (1991) Breaking down the barriers. <i>Risk Magazine<\/i>, 4(8), 28\u201335.<\/p>\n<p>Rich, D. R. (1994) The Mathematical Foundations of Barrier Option-Pricing Theory. <i>Advances in Futures and Options Research: A Research Annual<\/i>, 7:267-311.<\/p>\n<p>Wang, B., Wang, L. (2011) Pricing Barrier Options using Monte Carlo Methods, Working paper.<\/p>\n<h3>Books<\/h3>\n<p>Haug, E. (1997) The Complete Guide to Option Pricing. London\/New York: McGraw-Hill.<\/p>\n<p>Hull, J. (2006) Options, Futures, and Other Derivatives. Upper Saddle River, N.J: Pearson\/Prentice Hall.<\/p>\n<h2>About the author<\/h2>\n<p>The article was written in June 2022 by <a href=\"https:\/\/www.linkedin.com\/in\/shengyu-zheng-39878810b\/\" target=\"_blank\" rel=\"noopener\">Shengyu ZHENG<\/a> (ESSEC Business School, <i>Grande Ecole<\/i> Program &#8211; Master in Management, 2020-2023).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, Shengyu ZHENG (ESSEC Business School, Grande Ecole Program &#8211; Master in Management, 2020-2023) explains the pricing of barrier options with Monte-Carlo simulations and the sensitivity analysis of barrier options from the perspective of Greeks. Pricing of discretely monitored barrier options with Monte-Carlo simulations With the simulation method, only the pricing of discretely &#8230; <a title=\"Pricing barrier options with simulations and sensitivity analysis with Greeks\" class=\"read-more\" href=\"https:\/\/www.simtrade.fr\/blog_simtrade\/pricing-barrier-options-simulations-sensitivity-analysis-greeks\/\" aria-label=\"Read more about Pricing barrier options with simulations and sensitivity analysis with Greeks\">Read more<\/a><\/p>\n","protected":false},"author":70,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5,10],"tags":[73,191,192,403,435,437,486,604,605],"class_list":["post-8191","post","type-post","status-publish","format-standard","hentry","category-contributors","category-financial-techniques","tag-barrier-options","tag-down-and-in","tag-down-and-out","tag-monte-carlo-simulations","tag-option-pricing","tag-options","tag-r-file","tag-up-and-in","tag-up-and-out"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.3 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Pricing barrier options with simulations and sensitivity analysis with Greeks - SimTrade blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.simtrade.fr\/blog_simtrade\/pricing-barrier-options-simulations-sensitivity-analysis-greeks\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pricing barrier options with simulations and sensitivity analysis with Greeks\" \/>\n<meta property=\"og:description\" content=\"In this article, Shengyu ZHENG (ESSEC Business School, Grande Ecole Program &#8211; Master in Management, 2020-2023) explains the pricing of barrier options with Monte-Carlo simulations and the sensitivity analysis of barrier options from the perspective of Greeks. Pricing of discretely monitored barrier options with Monte-Carlo simulations With the simulation method, only the pricing of discretely ... Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.simtrade.fr\/blog_simtrade\/pricing-barrier-options-simulations-sensitivity-analysis-greeks\/\" \/>\n<meta property=\"og:site_name\" content=\"SimTrade blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/fr-fr.facebook.com\/simtrade.fr\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-07-10T21:23:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-10T23:01:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2022\/07\/img_SimTrade_Photo1_Shengyu_Zheng.jpg\" \/>\n<meta name=\"author\" content=\"Shengyu ZHENG\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@simtrade\" \/>\n<meta name=\"twitter:site\" content=\"@simtrade\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Shengyu ZHENG\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/pricing-barrier-options-simulations-sensitivity-analysis-greeks\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/pricing-barrier-options-simulations-sensitivity-analysis-greeks\/\"},\"author\":{\"name\":\"Shengyu ZHENG\",\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/#\/schema\/person\/f645930dc8df2747dbbe1996c2165e7e\"},\"headline\":\"Pricing barrier options with simulations and sensitivity analysis with Greeks\",\"datePublished\":\"2022-07-10T21:23:25+00:00\",\"dateModified\":\"2026-02-10T23:01:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/pricing-barrier-options-simulations-sensitivity-analysis-greeks\/\"},\"wordCount\":729,\"publisher\":{\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/pricing-barrier-options-simulations-sensitivity-analysis-greeks\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2022\/07\/img_SimTrade_Photo1_Shengyu_Zheng.jpg\",\"keywords\":[\"Barrier options\",\"down-and-in\",\"down-and-out\",\"Monte carlo simulations\",\"Option pricing\",\"Options\",\"R file\",\"up-and-in\",\"up-and-out\"],\"articleSection\":[\"Contributors\",\"Financial techniques\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/pricing-barrier-options-simulations-sensitivity-analysis-greeks\/\",\"url\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/pricing-barrier-options-simulations-sensitivity-analysis-greeks\/\",\"name\":\"Pricing barrier options with simulations and sensitivity analysis with Greeks - SimTrade blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/pricing-barrier-options-simulations-sensitivity-analysis-greeks\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/pricing-barrier-options-simulations-sensitivity-analysis-greeks\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2022\/07\/img_SimTrade_Photo1_Shengyu_Zheng.jpg\",\"datePublished\":\"2022-07-10T21:23:25+00:00\",\"dateModified\":\"2026-02-10T23:01:06+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/pricing-barrier-options-simulations-sensitivity-analysis-greeks\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.simtrade.fr\/blog_simtrade\/pricing-barrier-options-simulations-sensitivity-analysis-greeks\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/pricing-barrier-options-simulations-sensitivity-analysis-greeks\/#primaryimage\",\"url\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2022\/07\/img_SimTrade_Photo1_Shengyu_Zheng.jpg\",\"contentUrl\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2022\/07\/img_SimTrade_Photo1_Shengyu_Zheng.jpg\",\"width\":1080,\"height\":1080},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/pricing-barrier-options-simulations-sensitivity-analysis-greeks\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Pricing barrier options with simulations and sensitivity analysis with Greeks\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/#website\",\"url\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/\",\"name\":\"SimTrade blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/#organization\",\"name\":\"SimTrade\",\"url\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2014\/01\/cropped-cropped-Banner_blog_SimTrade2.jpg\",\"contentUrl\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2014\/01\/cropped-cropped-Banner_blog_SimTrade2.jpg\",\"width\":940,\"height\":126,\"caption\":\"SimTrade\"},\"image\":{\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/fr-fr.facebook.com\/simtrade.fr\/\",\"https:\/\/x.com\/simtrade\",\"https:\/\/www.linkedin.com\/company\/sim-trade\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/#\/schema\/person\/f645930dc8df2747dbbe1996c2165e7e\",\"name\":\"Shengyu ZHENG\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/9aa76220e4c63a231eb55e6b23070a4f31e8e4139c7ea1c4d4be5cfcf5de4cd6?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9aa76220e4c63a231eb55e6b23070a4f31e8e4139c7ea1c4d4be5cfcf5de4cd6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9aa76220e4c63a231eb55e6b23070a4f31e8e4139c7ea1c4d4be5cfcf5de4cd6?s=96&d=mm&r=g\",\"caption\":\"Shengyu ZHENG\"},\"url\":\"https:\/\/www.simtrade.fr\/blog_simtrade\/author\/szheng\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Pricing barrier options with simulations and sensitivity analysis with Greeks - SimTrade blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.simtrade.fr\/blog_simtrade\/pricing-barrier-options-simulations-sensitivity-analysis-greeks\/","og_locale":"en_US","og_type":"article","og_title":"Pricing barrier options with simulations and sensitivity analysis with Greeks","og_description":"In this article, Shengyu ZHENG (ESSEC Business School, Grande Ecole Program &#8211; Master in Management, 2020-2023) explains the pricing of barrier options with Monte-Carlo simulations and the sensitivity analysis of barrier options from the perspective of Greeks. Pricing of discretely monitored barrier options with Monte-Carlo simulations With the simulation method, only the pricing of discretely ... Read more","og_url":"https:\/\/www.simtrade.fr\/blog_simtrade\/pricing-barrier-options-simulations-sensitivity-analysis-greeks\/","og_site_name":"SimTrade blog","article_publisher":"https:\/\/fr-fr.facebook.com\/simtrade.fr\/","article_published_time":"2022-07-10T21:23:25+00:00","article_modified_time":"2026-02-10T23:01:06+00:00","og_image":[{"url":"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2022\/07\/img_SimTrade_Photo1_Shengyu_Zheng.jpg","type":"","width":"","height":""}],"author":"Shengyu ZHENG","twitter_card":"summary_large_image","twitter_creator":"@simtrade","twitter_site":"@simtrade","twitter_misc":{"Written by":"Shengyu ZHENG","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/pricing-barrier-options-simulations-sensitivity-analysis-greeks\/#article","isPartOf":{"@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/pricing-barrier-options-simulations-sensitivity-analysis-greeks\/"},"author":{"name":"Shengyu ZHENG","@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/#\/schema\/person\/f645930dc8df2747dbbe1996c2165e7e"},"headline":"Pricing barrier options with simulations and sensitivity analysis with Greeks","datePublished":"2022-07-10T21:23:25+00:00","dateModified":"2026-02-10T23:01:06+00:00","mainEntityOfPage":{"@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/pricing-barrier-options-simulations-sensitivity-analysis-greeks\/"},"wordCount":729,"publisher":{"@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/#organization"},"image":{"@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/pricing-barrier-options-simulations-sensitivity-analysis-greeks\/#primaryimage"},"thumbnailUrl":"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2022\/07\/img_SimTrade_Photo1_Shengyu_Zheng.jpg","keywords":["Barrier options","down-and-in","down-and-out","Monte carlo simulations","Option pricing","Options","R file","up-and-in","up-and-out"],"articleSection":["Contributors","Financial techniques"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/pricing-barrier-options-simulations-sensitivity-analysis-greeks\/","url":"https:\/\/www.simtrade.fr\/blog_simtrade\/pricing-barrier-options-simulations-sensitivity-analysis-greeks\/","name":"Pricing barrier options with simulations and sensitivity analysis with Greeks - SimTrade blog","isPartOf":{"@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/pricing-barrier-options-simulations-sensitivity-analysis-greeks\/#primaryimage"},"image":{"@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/pricing-barrier-options-simulations-sensitivity-analysis-greeks\/#primaryimage"},"thumbnailUrl":"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2022\/07\/img_SimTrade_Photo1_Shengyu_Zheng.jpg","datePublished":"2022-07-10T21:23:25+00:00","dateModified":"2026-02-10T23:01:06+00:00","breadcrumb":{"@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/pricing-barrier-options-simulations-sensitivity-analysis-greeks\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.simtrade.fr\/blog_simtrade\/pricing-barrier-options-simulations-sensitivity-analysis-greeks\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/pricing-barrier-options-simulations-sensitivity-analysis-greeks\/#primaryimage","url":"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2022\/07\/img_SimTrade_Photo1_Shengyu_Zheng.jpg","contentUrl":"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2022\/07\/img_SimTrade_Photo1_Shengyu_Zheng.jpg","width":1080,"height":1080},{"@type":"BreadcrumbList","@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/pricing-barrier-options-simulations-sensitivity-analysis-greeks\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.simtrade.fr\/blog_simtrade\/"},{"@type":"ListItem","position":2,"name":"Pricing barrier options with simulations and sensitivity analysis with Greeks"}]},{"@type":"WebSite","@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/#website","url":"https:\/\/www.simtrade.fr\/blog_simtrade\/","name":"SimTrade blog","description":"","publisher":{"@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.simtrade.fr\/blog_simtrade\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/#organization","name":"SimTrade","url":"https:\/\/www.simtrade.fr\/blog_simtrade\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/#\/schema\/logo\/image\/","url":"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2014\/01\/cropped-cropped-Banner_blog_SimTrade2.jpg","contentUrl":"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-content\/uploads\/2014\/01\/cropped-cropped-Banner_blog_SimTrade2.jpg","width":940,"height":126,"caption":"SimTrade"},"image":{"@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/fr-fr.facebook.com\/simtrade.fr\/","https:\/\/x.com\/simtrade","https:\/\/www.linkedin.com\/company\/sim-trade"]},{"@type":"Person","@id":"https:\/\/www.simtrade.fr\/blog_simtrade\/#\/schema\/person\/f645930dc8df2747dbbe1996c2165e7e","name":"Shengyu ZHENG","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/9aa76220e4c63a231eb55e6b23070a4f31e8e4139c7ea1c4d4be5cfcf5de4cd6?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/9aa76220e4c63a231eb55e6b23070a4f31e8e4139c7ea1c4d4be5cfcf5de4cd6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9aa76220e4c63a231eb55e6b23070a4f31e8e4139c7ea1c4d4be5cfcf5de4cd6?s=96&d=mm&r=g","caption":"Shengyu ZHENG"},"url":"https:\/\/www.simtrade.fr\/blog_simtrade\/author\/szheng\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-json\/wp\/v2\/posts\/8191","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-json\/wp\/v2\/users\/70"}],"replies":[{"embeddable":true,"href":"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-json\/wp\/v2\/comments?post=8191"}],"version-history":[{"count":1,"href":"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-json\/wp\/v2\/posts\/8191\/revisions"}],"predecessor-version":[{"id":18009,"href":"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-json\/wp\/v2\/posts\/8191\/revisions\/18009"}],"wp:attachment":[{"href":"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-json\/wp\/v2\/media?parent=8191"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-json\/wp\/v2\/categories?post=8191"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.simtrade.fr\/blog_simtrade\/wp-json\/wp\/v2\/tags?post=8191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}