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 Details

    • FuturesCoreFitData

      protected FuturesCoreFitData()
      Create a new, empty data set.
    • FuturesCoreFitData

      public FuturesCoreFitData(FuturesCoreFitData data)
      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:
      getUnderlyingFutureIds in interface FitDataOptionChainFutures
      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

      protected String toStringContents()
      Overrides:
      toStringContents in class CoreFitData
    • toString

      public String toString()
      Overrides:
      toString in class CoreFitData