Class FuturesCoreFitData
java.lang.Object
com.illumon.modelfarm.fitterfarm.CoreFitData
com.illumon.modelfarm.fitterfarm.futures.FuturesCoreFitData
- All Implemented Interfaces:
FitDataBase,FitDataOptionChain,FitDataOptionChainFutures,FitDataRates,FitDataUnderlying,Serializable
- Direct Known Subclasses:
FuturesFitData
public abstract class FuturesCoreFitData
extends CoreFitData
implements FitDataOptionChainFutures, Serializable
A snapshot of market data needed to fit a futures option model.
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreate a new, empty data set.Copy the data. -
Method Summary
Modifier and TypeMethodDescriptionlong[]Gets the ids for the underlying futures of the options.voidsetUnderlyingFutureIds(long[] underlyingFutureIds) Sets the ids for the underlying futures of the options.toString()protected StringMethods 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.FitDataOptionChain
getOptionExerciseTypes, getOptionExpirations, getOptionIds, getOptionPayoffTypes, getOptionRoots, getOptionSettlementTypes, getOptionStrikes, getOptionSymsMethods inherited from interface com.illumon.modelfarm.fitterfarm.FitDataUnderlying
getTimestamp, getUnderlyingId, getUnderlyingSym, getUnderlyingType
-
Constructor Details
-
FuturesCoreFitData
protected FuturesCoreFitData()Create a new, empty data set. -
FuturesCoreFitData
Copy the data.- Parameters:
data- data to copy.
-
-
Method Details
-
getUnderlyingFutureIds
public long[] getUnderlyingFutureIds()Gets the ids for the underlying futures of the options.- Specified by:
getUnderlyingFutureIdsin interfaceFitDataOptionChainFutures- Returns:
- ids for the underlying futures of the options.
-
setUnderlyingFutureIds
public void setUnderlyingFutureIds(long[] underlyingFutureIds) Sets the ids for the underlying futures of the options.- Parameters:
underlyingFutureIds- ids for the underlying futures of the options
-
toStringContents
- Overrides:
toStringContentsin classCoreFitData
-
toString
- Overrides:
toStringin classCoreFitData
-