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
public class OptionsContract extends Instrument implements Derivative, Comparable<OptionsContract>, Serializable
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OptionsContract.Builder
static class
OptionsContract.OptionType
-
Constructor Summary
Constructors Constructor Description OptionsContract(String symbol)
-
Method Summary
Modifier and Type Method Description int
compareTo(OptionsContract that)
boolean
equals(Object o)
Currency
getBase()
Currency
getCounter()
CurrencyPair
getCurrencyPair()
Date
getExpireDate()
BigDecimal
getStrike()
OptionsContract.OptionType
getType()
int
hashCode()
String
toString()
-
Constructor Details
-
OptionsContract
-
-
Method Details
-
getCurrencyPair
- Specified by:
getCurrencyPair
in interfaceDerivative
-
getExpireDate
-
getStrike
-
getType
-
compareTo
- Specified by:
compareTo
in interfaceComparable<OptionsContract>
-
equals
-
hashCode
public int hashCode() -
getBase
- Specified by:
getBase
in classInstrument
-
getCounter
- Specified by:
getCounter
in classInstrument
-
toString
-