May 19th, 2004, 8:21 am
Here's a word document containing formula and my VBA implementation for discretely sampled geometric asians...just copy-paste to your excel workbook (VBA module) and try itSince this is for educational purposes only: Use at your own risk! (please let me know if you find any errors)...allthough I'm pretty confident that it works...(knock-knock on wood)Note that DateArray and PriceArray are vectors (same size). First entry in DateArray must be start date and corresponding entry in PriceArray must be the start value (this price is not used for averageing). Second entry in DateArray should be the first averageing date i.e: if the averageing starts from the start date this should be set equal to start date. If second entry is the maturity date then function returns the price of a european call (or put). These Arrays take care of the passage of time and running average calculations...Hope this helpsIf you have any comments, please shareKane
-
Attachments
-
Geometric_Asian_Option_with_tail.zip
- (13.56 KiB) Downloaded 99 times