org.jquantlib.instruments
Class Stock
- java.lang.Object
-
- org.jquantlib.util.LazyObject
-
- org.jquantlib.instruments.Instrument
-
- org.jquantlib.instruments.Stock
-
- All Implemented Interfaces:
- Observable, Observer
public class Stock extends Instrument
Simple stock class
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jquantlib.instruments.Instrument
Instrument.Arguments, Instrument.Results, Instrument.ResultsImpl
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanisExpired()-
Methods inherited from class org.jquantlib.instruments.Instrument
errorEstimate, NPV, setPricingEngine
-
Methods inherited from class org.jquantlib.util.LazyObject
addObserver, countObservers, deleteObserver, deleteObservers, freeze, getObservers, notifyObservers, notifyObservers, recalculate, unfreeze, update
-
-
-
-
Method Detail
-
isExpired
public boolean isExpired()
- Specified by:
isExpiredin classInstrument- Returns:
trueif the instrument is still tradeable.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG