Package org.knowm.xchange.derivative
Class FuturesContract
java.lang.Object
org.knowm.xchange.instrument.Instrument
org.knowm.xchange.derivative.FuturesContract
- All Implemented Interfaces:
Serializable
,Comparable<FuturesContract>
,Derivative
public class FuturesContract
extends Instrument
implements Derivative, Comparable<FuturesContract>, Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionFuturesContract
(String symbol) FuturesContract
(CurrencyPair currencyPair, String prompt) -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(FuturesContract that) boolean
getBase()
int
hashCode()
boolean
toString()
-
Constructor Details
-
FuturesContract
-
FuturesContract
-
-
Method Details
-
getCurrencyPair
- Specified by:
getCurrencyPair
in interfaceDerivative
-
getPrompt
-
isPerpetual
public boolean isPerpetual() -
compareTo
- Specified by:
compareTo
in interfaceComparable<FuturesContract>
-
equals
-
hashCode
public int hashCode() -
getBase
- Specified by:
getBase
in classInstrument
-
getCounter
- Specified by:
getCounter
in classInstrument
-
toString
-