Package org.knowm.xchange.derivative
Class OptionsContract
java.lang.Object
org.knowm.xchange.instrument.Instrument
org.knowm.xchange.derivative.OptionsContract
- All Implemented Interfaces:
Serializable,Comparable<OptionsContract>,Derivative
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic enum -
Constructor Summary
ConstructorsConstructorDescriptionOptionsContract(String symbol) OptionsContract(CurrencyPair currencyPair, Date expireDate, BigDecimal strike, OptionsContract.OptionType type) -
Method Summary
-
Constructor Details
-
OptionsContract
public OptionsContract(CurrencyPair currencyPair, Date expireDate, BigDecimal strike, OptionsContract.OptionType type) -
OptionsContract
-
-
Method Details
-
getCurrencyPair
- Specified by:
getCurrencyPairin interfaceDerivative
-
getExpireDate
-
getStrike
-
getType
-
compareTo
- Specified by:
compareToin interfaceComparable<OptionsContract>
-
equals
-
hashCode
public int hashCode() -
getBase
- Specified by:
getBasein classInstrument
-
getCounter
- Specified by:
getCounterin classInstrument
-
toString
-