Class FuturesFitData
java.lang.Object
com.illumon.modelfarm.fitterfarm.CoreFitData
com.illumon.modelfarm.fitterfarm.futures.FuturesCoreFitData
com.illumon.modelfarm.fitterfarm.futures.FuturesFitData
- All Implemented Interfaces:
FitDataBase,FitDataOptionChain,FitDataOptionChainFutures,FitDataRates,FitDataUnderlying,FitDataUnderlyingFutures,Serializable
- Direct Known Subclasses:
FuturesFitDataOptionPrices
public abstract class FuturesFitData
extends FuturesCoreFitData
implements FitDataUnderlyingFutures, Serializable
A snapshot of market data needed to fit a futures option model.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a new, empty data set.FuturesFitData(FuturesFitData data) Copy the data. -
Method Summary
Modifier and TypeMethodDescriptiondouble[]Gets the future ask gaps.double[]Gets the future asks.double[]Gets the future ask sizes.double[]Gets the future bid gaps.double[]Gets the future bids.double[]Gets the future bid sizes.Gets the future expirations.long[]Gets the future ids.double[]Gets the future last prices.String[]Gets the future symbols.voidsetFutureAskGaps(double[] futureAskGaps) Sets the future ask gaps.voidsetFutureAsks(double[] futureAsks) Sets the future asks.voidsetFutureAskSizes(double[] futureAskSizes) Sets the future ask sizes.voidsetFutureBidGaps(double[] futureBidGaps) Sets the future bid gaps.voidsetFutureBids(double[] futureBids) Sets the future bids.voidsetFutureBidSizes(double[] futureBidSizes) Sets the future bid sizes.voidsetFutureExpirations(DBDateTime[] futureExpirations) Sets the future expirations.voidsetFutureIds(long[] futureIds) Sets the future IDs.voidsetFutureLasts(double[] futureLasts) Sets the future last prices.voidsetFutureSyms(String[] futureSyms) Sets the future syms.toString()protected StringMethods inherited from class com.illumon.modelfarm.fitterfarm.futures.FuturesCoreFitData
getUnderlyingFutureIds, setUnderlyingFutureIdsMethods 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, getUnderlyingTypeMethods inherited from interface com.illumon.modelfarm.fitterfarm.FitDataUnderlyingFutures
getFutureMids
-
Constructor Details
-
FuturesFitData
public FuturesFitData()Create a new, empty data set. -
FuturesFitData
Copy the data.- Parameters:
data- data to copy.
-
-
Method Details
-
getFutureIds
public long[] getFutureIds()Description copied from interface:FitDataUnderlyingFuturesGets the future ids.- Specified by:
getFutureIdsin interfaceFitDataUnderlyingFutures- Returns:
- future ids.
-
setFutureIds
public void setFutureIds(long[] futureIds) Sets the future IDs.- Parameters:
futureIds- future IDs
-
getFutureSyms
Description copied from interface:FitDataUnderlyingFuturesGets the future symbols.- Specified by:
getFutureSymsin interfaceFitDataUnderlyingFutures- Returns:
- future symbols.
-
setFutureSyms
Sets the future syms.- Parameters:
futureSyms- future syms
-
getFutureExpirations
Description copied from interface:FitDataUnderlyingFuturesGets the future expirations.- Specified by:
getFutureExpirationsin interfaceFitDataUnderlyingFutures- Returns:
- future expirations.
-
setFutureExpirations
Sets the future expirations.- Parameters:
futureExpirations- future expirations
-
getFutureBids
public double[] getFutureBids()Description copied from interface:FitDataUnderlyingFuturesGets the future bids.- Specified by:
getFutureBidsin interfaceFitDataUnderlyingFutures- Returns:
- future bids.
-
setFutureBids
public void setFutureBids(double[] futureBids) Sets the future bids.- Parameters:
futureBids- future bids
-
getFutureAsks
public double[] getFutureAsks()Description copied from interface:FitDataUnderlyingFuturesGets the future asks.- Specified by:
getFutureAsksin interfaceFitDataUnderlyingFutures- Returns:
- future asks.
-
setFutureAsks
public void setFutureAsks(double[] futureAsks) Sets the future asks.- Parameters:
futureAsks- future asks
-
getFutureLasts
public double[] getFutureLasts()Description copied from interface:FitDataUnderlyingFuturesGets the future last prices.- Specified by:
getFutureLastsin interfaceFitDataUnderlyingFutures- Returns:
- future last prices.
-
setFutureLasts
public void setFutureLasts(double[] futureLasts) Sets the future last prices.- Parameters:
futureLasts- future last prices
-
getFutureBidSizes
public double[] getFutureBidSizes()Description copied from interface:FitDataUnderlyingFuturesGets the future bid sizes.- Specified by:
getFutureBidSizesin interfaceFitDataUnderlyingFutures- Returns:
- future bid sizes.
-
setFutureBidSizes
public void setFutureBidSizes(double[] futureBidSizes) Sets the future bid sizes.- Parameters:
futureBidSizes- future bid sizes
-
getFutureAskSizes
public double[] getFutureAskSizes()Description copied from interface:FitDataUnderlyingFuturesGets the future ask sizes.- Specified by:
getFutureAskSizesin interfaceFitDataUnderlyingFutures- Returns:
- future ask sizes.
-
setFutureAskSizes
public void setFutureAskSizes(double[] futureAskSizes) Sets the future ask sizes.- Parameters:
futureAskSizes- future ask sizes
-
getFutureBidGaps
public double[] getFutureBidGaps()Description copied from interface:FitDataUnderlyingFuturesGets the future bid gaps.- Specified by:
getFutureBidGapsin interfaceFitDataUnderlyingFutures- Returns:
- future bid gaps.
-
setFutureBidGaps
public void setFutureBidGaps(double[] futureBidGaps) Sets the future bid gaps.- Parameters:
futureBidGaps- future bid gaps
-
getFutureAskGaps
public double[] getFutureAskGaps()Description copied from interface:FitDataUnderlyingFuturesGets the future ask gaps.- Specified by:
getFutureAskGapsin interfaceFitDataUnderlyingFutures- Returns:
- future ask gaps.
-
setFutureAskGaps
public void setFutureAskGaps(double[] futureAskGaps) Sets the future ask gaps.- Parameters:
futureAskGaps- future ask gaps.
-
toStringContents
- Overrides:
toStringContentsin classFuturesCoreFitData
-
toString
- Overrides:
toStringin classFuturesCoreFitData
-