Class EquityFitData
java.lang.Object
com.illumon.modelfarm.fitterfarm.CoreFitData
com.illumon.modelfarm.fitterfarm.equity.EquityFitData
- All Implemented Interfaces:
FitDataBase,FitDataOptionChain,FitDataRates,FitDataUnderlying,FitDataUnderlyingPrices,Serializable
- Direct Known Subclasses:
EquityFitDataOptionPrices
public abstract class EquityFitData extends CoreFitData implements FitDataUnderlyingPrices, Serializable
A snapshot of market data needed to fit an equity option model.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description EquityFitData()Create a new, empty data set.EquityFitData(EquityFitData data)Copy the data. -
Method Summary
Modifier and Type Method Description doublegetUnderlyingAsk()Gets the underlying ask price.doublegetUnderlyingAskGap()Gets the underlying ask gap.doublegetUnderlyingAskSize()Gets the underlying ask size.doublegetUnderlyingBid()Gets the underlying bid price.doublegetUnderlyingBidGap()Gets the underlying bid gap.doublegetUnderlyingBidSize()Gets the underlying bid size.doublegetUnderlyingLast()Gets the underlying last price.voidsetUnderlyingAsk(double underlyingAsk)Sets the underlying ask price.voidsetUnderlyingAskGap(double underlyingAskGap)Sets the underlying ask gap.voidsetUnderlyingAskSize(double underlyingAskSize)Sets the underlying ask size.voidsetUnderlyingBid(double underlyingBid)Sets the underlying bid price.voidsetUnderlyingBidGap(double underlyingBidGap)Sets the underlying bid gap.voidsetUnderlyingBidSize(double underlyingBidSize)Sets the underlying bid size.voidsetUnderlyingLast(double underlyingLast)Sets the underlying last price.StringtoString()protected StringtoStringContents()Methods inherited from class com.illumon.modelfarm.fitterfarm.CoreFitData
clone2d, getCarryCurveDates, getCarryCurveErrors, getCarryCurveRates, getDivCashAmounts, getDivExDates, getDivProportionalAmounts, getFitGroup, getFitScope, getOptionExerciseTypes, getOptionExpirations, getOptionIds, getOptionPayoffTypes, getOptionRoots, getOptionSettlementTypes, getOptionStrikes, getOptionSyms, getTimestamp, getUnderlyingId, getUnderlyingSym, getUnderlyingType, getYieldCurveDates, getYieldCurveRates, setCarryCurveDates, setCarryCurveErrors, setCarryCurveRates, setDivCashAmounts, setDivExDates, setDivProportionalAmounts, setFitGroup, setOptionExerciseTypes, setOptionExpirations, setOptionIds, setOptionPayoffTypes, setOptionRoots, setOptionSettlementTypes, setOptionStrikes, setOptionSyms, setTimestamp, setUnderlyingId, setUnderlyingSym, setUnderlyingType, setYieldCurveDates, setYieldCurveRatesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.illumon.modelfarm.fitterfarm.FitDataUnderlyingPrices
getUnderlyingMid
-
Constructor Details
-
EquityFitData
public EquityFitData()Create a new, empty data set. -
EquityFitData
Copy the data.- Parameters:
data- data to copy.
-
-
Method Details
-
getUnderlyingBid
public double getUnderlyingBid()Description copied from interface:FitDataUnderlyingPricesGets the underlying bid price.- Specified by:
getUnderlyingBidin interfaceFitDataUnderlyingPrices- Returns:
- underlying bid price.
-
setUnderlyingBid
public void setUnderlyingBid(double underlyingBid)Sets the underlying bid price.- Parameters:
underlyingBid- underlying bid price.
-
getUnderlyingAsk
public double getUnderlyingAsk()Description copied from interface:FitDataUnderlyingPricesGets the underlying ask price.- Specified by:
getUnderlyingAskin interfaceFitDataUnderlyingPrices- Returns:
- underlying ask price.
-
setUnderlyingAsk
public void setUnderlyingAsk(double underlyingAsk)Sets the underlying ask price.- Parameters:
underlyingAsk- underlying ask price.
-
getUnderlyingLast
public double getUnderlyingLast()Description copied from interface:FitDataUnderlyingPricesGets the underlying last price.- Specified by:
getUnderlyingLastin interfaceFitDataUnderlyingPrices- Returns:
- underlying last price.
-
setUnderlyingLast
public void setUnderlyingLast(double underlyingLast)Sets the underlying last price.- Parameters:
underlyingLast- underlying last price.
-
getUnderlyingBidSize
public double getUnderlyingBidSize()Description copied from interface:FitDataUnderlyingPricesGets the underlying bid size.- Specified by:
getUnderlyingBidSizein interfaceFitDataUnderlyingPrices- Returns:
- underlying bid size.
-
setUnderlyingBidSize
public void setUnderlyingBidSize(double underlyingBidSize)Sets the underlying bid size.- Parameters:
underlyingBidSize- underlying bid size.
-
getUnderlyingAskSize
public double getUnderlyingAskSize()Description copied from interface:FitDataUnderlyingPricesGets the underlying ask size.- Specified by:
getUnderlyingAskSizein interfaceFitDataUnderlyingPrices- Returns:
- underlying ask size.
-
setUnderlyingAskSize
public void setUnderlyingAskSize(double underlyingAskSize)Sets the underlying ask size.- Parameters:
underlyingAskSize- underlying ask size.
-
getUnderlyingBidGap
public double getUnderlyingBidGap()Description copied from interface:FitDataUnderlyingPricesGets the underlying bid gap.- Specified by:
getUnderlyingBidGapin interfaceFitDataUnderlyingPrices- Returns:
- underlying bid gap.
-
setUnderlyingBidGap
public void setUnderlyingBidGap(double underlyingBidGap)Sets the underlying bid gap.- Parameters:
underlyingBidGap- underlying bid gap.
-
getUnderlyingAskGap
public double getUnderlyingAskGap()Description copied from interface:FitDataUnderlyingPricesGets the underlying ask gap.- Specified by:
getUnderlyingAskGapin interfaceFitDataUnderlyingPrices- Returns:
- underlying ask gap.
-
setUnderlyingAskGap
public void setUnderlyingAskGap(double underlyingAskGap)Sets the underlying ask gap.- Parameters:
underlyingAskGap- underlying ask gap.
-
toStringContents
- Overrides:
toStringContentsin classCoreFitData
-
toString
- Overrides:
toStringin classCoreFitData
-