net.finmath.equities.products.Option 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;
/**
* Interface to handle American and European options.
*
* @author Andreas Grotz
*/
public interface Option extends Cloneable {
double getStrike();
LocalDate getExpiryDate();
boolean isCallOption();
boolean isAmericanOption();
double callPutFactor();
double getPayoff(double spot);
}