asianbyls
Price European or American Asian options using Monte Carlo simulations
Syntax
Description
Price = asianbyls(RateSpec,StockSpec,OptSpec,Strike,Settle,ExerciseDates)asianbyls computes prices of European and American Asian options. 
For American options, the Longstaff-Schwartz least squares method is used to calculate the early exercise premium.
To compute the value of a floating-strike Asian option, Strike
          should be specified as NaN. Fixed-strike Asian options are also known
          as average price options and floating-strike Asian options are also known as average
          strike options.
Note
Alternatively, you can use the Asian object to price Asian
              options. For more information, see Get Started with Workflows Using Object-Based Framework for Pricing Financial Instruments.
Price = asianbyls(___,Name,Value)
[
          adds optional name-value pair arguments. Price,Paths,Times,Z]
= asianbyls(___,Name,Value)
Examples
Input Arguments
Name-Value Arguments
Output Arguments
More About
Version History
Introduced in R2013bSee Also
asiansensbyls | asianbycrr | intenvset | stockspec | asianbykv | asianbylevy | Asian