Class FuturesFitDataVolSurface
java.lang.Object
com.illumon.modelfarm.fitterfarm.CoreFitData
com.illumon.modelfarm.fitterfarm.futures.FuturesCoreFitData
com.illumon.modelfarm.fitterfarm.futures.FuturesFitData
com.illumon.modelfarm.fitterfarm.futures.FuturesFitDataOptionPrices
com.illumon.modelfarm.fitterfarm.futures.FuturesFitDataVolSurface
- All Implemented Interfaces:
FitDataBase,FitDataOptionChain,FitDataOptionChainFutures,FitDataOptionPrices,FitDataRates,FitDataUnderlying,FitDataUnderlyingFutures,FitDataVolSurface,Serializable
public class FuturesFitDataVolSurface
extends FuturesFitDataOptionPrices
implements FitDataVolSurface, Serializable
A snapshot of market data needed to fit a futures option model. Option prices are provided as a vol surface.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionGets an array of expirations associated with the vol surface.double[]Gets the forward price errors associated with the expirations in the vol surface.double[]Gets the forward prices associated with the expirations in the vol surface.double[][]Gets the implied vol errors of the vol surface.double[][]Gets the implied vols of the vol surface.double[][]Gets the strikes of the vol surface.voidsetVolSurfaceExpirations(DBDateTime[] volSurfaceExpirations) Sets an array of expirations associated with the vol surface.voidsetVolSurfaceForwardErrors(double[] volSurfaceForwardErrors) Sets the forward price errors associated with the expirations in the vol surface.voidsetVolSurfaceForwardPrices(double[] volSurfaceForwardPrices) Sets the forward prices associated with the expirations in the vol surface.voidsetVolSurfaceImpliedVolErrors(double[][] volSurfaceImpliedVolErrors) Sets the implied vol errors of the vol surface.voidsetVolSurfaceImpliedVols(double[][] volSurfaceImpliedVols) Sets the implied vols of the vol surface.voidsetVolSurfaceStrikes(double[][] volSurfaceStrikes) Sets the strikes of the vol surface.toString()protected StringMethods inherited from class com.illumon.modelfarm.fitterfarm.futures.FuturesFitDataOptionPrices
getOptionAskGaps, getOptionAsks, getOptionAskSizes, getOptionBidGaps, getOptionBids, getOptionBidSizes, setOptionAskGaps, setOptionAsks, setOptionAskSizes, setOptionBidGaps, setOptionBids, setOptionBidSizesMethods inherited from class com.illumon.modelfarm.fitterfarm.futures.FuturesFitData
getFutureAskGaps, getFutureAsks, getFutureAskSizes, getFutureBidGaps, getFutureBids, getFutureBidSizes, getFutureExpirations, getFutureIds, getFutureLasts, getFutureSyms, setFutureAskGaps, setFutureAsks, setFutureAskSizes, setFutureBidGaps, setFutureBids, setFutureBidSizes, setFutureExpirations, setFutureIds, setFutureLasts, setFutureSymsMethods 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
-
FuturesFitDataVolSurface
public FuturesFitDataVolSurface() -
FuturesFitDataVolSurface
-
-
Method Details
-
getVolSurfaceExpirations
Description copied from interface:FitDataVolSurfaceGets an array of expirations associated with the vol surface.- Specified by:
getVolSurfaceExpirationsin interfaceFitDataVolSurface- Returns:
- array of expirations associated with the vol surface.
-
setVolSurfaceExpirations
Sets an array of expirations associated with the vol surface.- Parameters:
volSurfaceExpirations- array of expirations associated with the vol surface.
-
getVolSurfaceForwardPrices
public double[] getVolSurfaceForwardPrices()Description copied from interface:FitDataVolSurfaceGets the forward prices associated with the expirations in the vol surface.- Specified by:
getVolSurfaceForwardPricesin interfaceFitDataVolSurface- Returns:
- forward prices associated with the expirations in the vol surface.
-
setVolSurfaceForwardPrices
public void setVolSurfaceForwardPrices(double[] volSurfaceForwardPrices) Sets the forward prices associated with the expirations in the vol surface.- Parameters:
volSurfaceForwardPrices- forward prices associated with the expirations in the vol surface.
-
getVolSurfaceForwardErrors
public double[] getVolSurfaceForwardErrors()Description copied from interface:FitDataVolSurfaceGets the forward price errors associated with the expirations in the vol surface.- Specified by:
getVolSurfaceForwardErrorsin interfaceFitDataVolSurface- Returns:
- forward price errors associated with the expirations in the vol surface.
-
setVolSurfaceForwardErrors
public void setVolSurfaceForwardErrors(double[] volSurfaceForwardErrors) Sets the forward price errors associated with the expirations in the vol surface.- Parameters:
volSurfaceForwardErrors- forward price errors associated with the expirations in the vol surface.
-
getVolSurfaceStrikes
public double[][] getVolSurfaceStrikes()Description copied from interface:FitDataVolSurfaceGets the strikes of the vol surface. The first index corresponds to the expiration.- Specified by:
getVolSurfaceStrikesin interfaceFitDataVolSurface- Returns:
- strikes of the vol surface.
-
setVolSurfaceStrikes
public void setVolSurfaceStrikes(double[][] volSurfaceStrikes) Sets the strikes of the vol surface. The first index corresponds to the expiration.- Parameters:
volSurfaceStrikes- strikes of the vol surface.
-
getVolSurfaceImpliedVols
public double[][] getVolSurfaceImpliedVols()Description copied from interface:FitDataVolSurfaceGets the implied vols of the vol surface. The first index corresponds to the expiration.- Specified by:
getVolSurfaceImpliedVolsin interfaceFitDataVolSurface- Returns:
- implied vols of the vol surface.
-
setVolSurfaceImpliedVols
public void setVolSurfaceImpliedVols(double[][] volSurfaceImpliedVols) Sets the implied vols of the vol surface. The first index corresponds to the expiration.- Parameters:
volSurfaceImpliedVols- implied vols of the vol surface.
-
getVolSurfaceImpliedVolErrors
public double[][] getVolSurfaceImpliedVolErrors()Description copied from interface:FitDataVolSurfaceGets the implied vol errors of the vol surface. The first index corresponds to the expiration.- Specified by:
getVolSurfaceImpliedVolErrorsin interfaceFitDataVolSurface- Returns:
- implied vol errors of the vol surface.
-
setVolSurfaceImpliedVolErrors
public void setVolSurfaceImpliedVolErrors(double[][] volSurfaceImpliedVolErrors) Sets the implied vol errors of the vol surface. The first index corresponds to the expiration.- Parameters:
volSurfaceImpliedVolErrors- implied vol errors of the vol surface.
-
toStringContents
- Overrides:
toStringContentsin classFuturesFitDataOptionPrices
-
toString
- Overrides:
toStringin classFuturesFitDataOptionPrices
-