net.finmath.equities.products.AmericanOption Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of finmath-lib Show documentation
Show all versions of finmath-lib Show documentation
finmath lib is a Mathematical Finance Library in Java.
It provides algorithms and methodologies related to mathematical finance.
The newest version!
package net.finmath.equities.products;
import java.time.LocalDate;
/**
* Class for American options.
*
* @author Andreas Grotz
*/
public class AmericanOption extends AbstractOption {
public AmericanOption(LocalDate expiryDate, double strike, boolean isCallOption) {
super(expiryDate, strike, isCallOption);
}
@Override
public boolean isAmericanOption() {
return true;
}
}