org.jquantlib.instruments
Class ForwardTypePayoff
- java.lang.Object
-
- org.jquantlib.instruments.Payoff
-
- org.jquantlib.instruments.ForwardTypePayoff
-
- All Implemented Interfaces:
- PolymorphicVisitable
public class ForwardTypePayoff extends Payoff
Class for forward type payoffs
-
-
Constructor Summary
Constructors Constructor and Description ForwardTypePayoff(Position positionType, double strike)Constructs a typedPayoffwith a fixed strike price
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.Stringdescription()doubleget(double price)Returns the value of anInstrumentat maturity underPayoffconditionsjava.lang.Stringname()doublestrike()
-
-
-
Method Detail
-
strike
public final double strike()
- Returns:
- the strike value
-
description
public java.lang.String description()
- Specified by:
descriptionin classPayoff
-
get
public final double get(double price)
Description copied from class:PayoffReturns the value of anInstrumentat maturity underPayoffconditions
-
-
DataMelt 3.0 © DataMelt by jWork.ORG