Uses of Class
com.opengamma.strata.product.common.PutCall
-
Packages that use PutCall Package Description com.opengamma.strata.loader Tools for loading data from files.com.opengamma.strata.pricer.capfloor Calculators for Ibor cap-floor.com.opengamma.strata.pricer.fxopt Calculators for FX options.com.opengamma.strata.pricer.impl.option Internal implementations of option pricing.com.opengamma.strata.pricer.impl.tree com.opengamma.strata.pricer.swaption Calculators for swaptions.com.opengamma.strata.product.bond Entity objects describing bonds.com.opengamma.strata.product.capfloor Entity objects describing Ibor cap/floor.com.opengamma.strata.product.common Entity objects shared between other packages.com.opengamma.strata.product.etd Entity objects describing Exchange Traded Derivatives (ETDs).com.opengamma.strata.product.fxopt Entity objects describing options in the foreign exchange market.com.opengamma.strata.product.index Entity objects describing contracts based on rate indices. -
-
Uses of PutCall in com.opengamma.strata.loader
Methods in com.opengamma.strata.loader that return PutCall Modifier and Type Method Description static PutCallLoaderUtils. parsePutCall(String str)Parses put/call from the input string. -
Uses of PutCall in com.opengamma.strata.pricer.capfloor
Methods in com.opengamma.strata.pricer.capfloor with parameters of type PutCall Modifier and Type Method Description doubleBlackIborCapletFloorletExpiryFlatVolatilities. price(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleBlackIborCapletFloorletExpiryStrikeVolatilities. price(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleIborCapletFloorletVolatilities. price(double expiry, PutCall putCall, double strike, double forward, double volatility)Calculates the price.doubleNormalIborCapletFloorletExpiryFlatVolatilities. price(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleNormalIborCapletFloorletExpiryStrikeVolatilities. price(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleNormalSabrParametersIborCapletFloorletVolatilities. price(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleSabrParametersIborCapletFloorletVolatilities. price(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleShiftedBlackIborCapletFloorletExpiryStrikeVolatilities. price(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleBlackIborCapletFloorletExpiryFlatVolatilities. priceDelta(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleBlackIborCapletFloorletExpiryStrikeVolatilities. priceDelta(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleIborCapletFloorletVolatilities. priceDelta(double expiry, PutCall putCall, double strike, double forward, double volatility)Calculates the price delta.doubleNormalIborCapletFloorletExpiryFlatVolatilities. priceDelta(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleNormalIborCapletFloorletExpiryStrikeVolatilities. priceDelta(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleNormalSabrParametersIborCapletFloorletVolatilities. priceDelta(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleSabrParametersIborCapletFloorletVolatilities. priceDelta(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleShiftedBlackIborCapletFloorletExpiryStrikeVolatilities. priceDelta(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleBlackIborCapletFloorletExpiryFlatVolatilities. priceGamma(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleBlackIborCapletFloorletExpiryStrikeVolatilities. priceGamma(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleIborCapletFloorletVolatilities. priceGamma(double expiry, PutCall putCall, double strike, double forward, double volatility)Calculates the price gamma.doubleNormalIborCapletFloorletExpiryFlatVolatilities. priceGamma(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleNormalIborCapletFloorletExpiryStrikeVolatilities. priceGamma(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleNormalSabrParametersIborCapletFloorletVolatilities. priceGamma(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleSabrParametersIborCapletFloorletVolatilities. priceGamma(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleShiftedBlackIborCapletFloorletExpiryStrikeVolatilities. priceGamma(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleBlackIborCapletFloorletExpiryFlatVolatilities. priceTheta(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleBlackIborCapletFloorletExpiryStrikeVolatilities. priceTheta(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleIborCapletFloorletVolatilities. priceTheta(double expiry, PutCall putCall, double strike, double forward, double volatility)Calculates the price theta.doubleNormalIborCapletFloorletExpiryFlatVolatilities. priceTheta(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleNormalIborCapletFloorletExpiryStrikeVolatilities. priceTheta(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleNormalSabrParametersIborCapletFloorletVolatilities. priceTheta(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleSabrParametersIborCapletFloorletVolatilities. priceTheta(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleShiftedBlackIborCapletFloorletExpiryStrikeVolatilities. priceTheta(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleBlackIborCapletFloorletExpiryFlatVolatilities. priceVega(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleBlackIborCapletFloorletExpiryStrikeVolatilities. priceVega(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleIborCapletFloorletVolatilities. priceVega(double expiry, PutCall putCall, double strike, double forward, double volatility)Calculates the price vega.doubleNormalIborCapletFloorletExpiryFlatVolatilities. priceVega(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleNormalIborCapletFloorletExpiryStrikeVolatilities. priceVega(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleNormalSabrParametersIborCapletFloorletVolatilities. priceVega(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleSabrParametersIborCapletFloorletVolatilities. priceVega(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleShiftedBlackIborCapletFloorletExpiryStrikeVolatilities. priceVega(double expiry, PutCall putCall, double strike, double forward, double volatility) -
Uses of PutCall in com.opengamma.strata.pricer.fxopt
Methods in com.opengamma.strata.pricer.fxopt with parameters of type PutCall Modifier and Type Method Description doubleBlackFxOptionFlatVolatilities. price(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleBlackFxOptionSmileVolatilities. price(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleBlackFxOptionSurfaceVolatilities. price(double expiry, PutCall putCall, double strike, double forward, double volatility)doubleFxOptionVolatilities. price(double expiry, PutCall putCall, double strike, double forward, double volatility)Calculates the price. -
Uses of PutCall in com.opengamma.strata.pricer.impl.option
Methods in com.opengamma.strata.pricer.impl.option with parameters of type PutCall Modifier and Type Method Description static doubleNormalFormulaRepository. delta(double forward, double strike, double timeToExpiry, double normalVol, PutCall putCall)Computes the delta.static doubleNormalFormulaRepository. gamma(double forward, double strike, double timeToExpiry, double normalVol, PutCall putCall)Computes the gamma.static doubleNormalFormulaRepository. impliedVolatility(double optionPrice, double forward, double strike, double timeToExpiry, double initialNormalVol, double numeraire, PutCall putCall)Computes the implied volatility.static doubleNormalFormulaRepository. price(double forward, double strike, double timeToExpiry, double normalVol, PutCall putCall)Computes the forward price.doubleSabrExtrapolationRightFunction. price(double strike, PutCall putCall)Computes the option price with numeraire=1.static ValueDerivativesNormalFormulaRepository. priceAdjoint(double forward, double strike, double timeToExpiry, double normalVol, double numeraire, PutCall putCall)Computes the price and first order derivatives.ValueDerivativesSabrExtrapolationRightFunction. priceAdjointSabr(double strike, PutCall putCall)Computes the option price derivative with respect to the SABR parameters.doubleSabrExtrapolationRightFunction. priceDerivativeForward(double strike, PutCall putCall)Computes the option price derivative with respect to the forward.doubleSabrExtrapolationRightFunction. priceDerivativeStrike(double strike, PutCall putCall)Computes the option price derivative with respect to the strike.static doubleNormalFormulaRepository. theta(double forward, double strike, double timeToExpiry, double normalVol, PutCall putCall)Computes the theta.static doubleNormalFormulaRepository. vega(double forward, double strike, double timeToExpiry, double normalVol, PutCall putCall)Computes the vega. -
Uses of PutCall in com.opengamma.strata.pricer.impl.tree
Methods in com.opengamma.strata.pricer.impl.tree with parameters of type PutCall Modifier and Type Method Description static ConstantContinuousSingleBarrierKnockoutFunctionConstantContinuousSingleBarrierKnockoutFunction. of(double strike, double timeToExpiry, PutCall putCall, int numberOfSteps, BarrierType barrierType, double barrierLevel, DoubleArray rebate)Obtains an instance.static EuropeanVanillaOptionFunctionEuropeanVanillaOptionFunction. of(double strike, double timeToExpiry, PutCall putCall, int numberOfSteps)Obtains an instance. -
Uses of PutCall in com.opengamma.strata.pricer.swaption
Methods in com.opengamma.strata.pricer.swaption with parameters of type PutCall Modifier and Type Method Description doubleBlackSwaptionExpiryTenorVolatilities. price(double expiry, double tenor, PutCall putCall, double strike, double forwardRate, double volatility)doubleNormalSwaptionExpirySimpleMoneynessVolatilities. price(double expiry, double tenor, PutCall putCall, double strike, double forward, double volatility)doubleNormalSwaptionExpiryStrikeVolatilities. price(double expiry, double tenor, PutCall putCall, double strike, double forward, double volatility)doubleNormalSwaptionExpiryTenorVolatilities. price(double expiry, double tenor, PutCall putCall, double strike, double forward, double volatility)doubleSabrParametersSwaptionVolatilities. price(double expiry, double tenor, PutCall putCall, double strike, double forward, double volatility)doubleSwaptionVolatilities. price(double expiry, double tenor, PutCall putCall, double strike, double forward, double volatility)Calculates the price.doubleBlackSwaptionExpiryTenorVolatilities. priceDelta(double expiry, double tenor, PutCall putCall, double strike, double forward, double volatility)doubleNormalSwaptionExpirySimpleMoneynessVolatilities. priceDelta(double expiry, double tenor, PutCall putCall, double strike, double forward, double volatility)doubleNormalSwaptionExpiryStrikeVolatilities. priceDelta(double expiry, double tenor, PutCall putCall, double strike, double forward, double volatility)doubleNormalSwaptionExpiryTenorVolatilities. priceDelta(double expiry, double tenor, PutCall putCall, double strike, double forward, double volatility)doubleSabrParametersSwaptionVolatilities. priceDelta(double expiry, double tenor, PutCall putCall, double strike, double forward, double volatility)doubleSwaptionVolatilities. priceDelta(double expiry, double tenor, PutCall putCall, double strike, double forward, double volatility)Calculates the price delta.doubleBlackSwaptionExpiryTenorVolatilities. priceGamma(double expiry, double tenor, PutCall putCall, double strike, double forward, double volatility)doubleNormalSwaptionExpirySimpleMoneynessVolatilities. priceGamma(double expiry, double tenor, PutCall putCall, double strike, double forward, double volatility)doubleNormalSwaptionExpiryStrikeVolatilities. priceGamma(double expiry, double tenor, PutCall putCall, double strike, double forward, double volatility)doubleNormalSwaptionExpiryTenorVolatilities. priceGamma(double expiry, double tenor, PutCall putCall, double strike, double forward, double volatility)doubleSabrParametersSwaptionVolatilities. priceGamma(double expiry, double tenor, PutCall putCall, double strike, double forward, double volatility)doubleSwaptionVolatilities. priceGamma(double expiry, double tenor, PutCall putCall, double strike, double forward, double volatility)Calculates the price gamma.doubleBlackSwaptionExpiryTenorVolatilities. priceTheta(double expiry, double tenor, PutCall putCall, double strike, double forward, double volatility)doubleNormalSwaptionExpirySimpleMoneynessVolatilities. priceTheta(double expiry, double tenor, PutCall putCall, double strike, double forward, double volatility)doubleNormalSwaptionExpiryStrikeVolatilities. priceTheta(double expiry, double tenor, PutCall putCall, double strike, double forward, double volatility)doubleNormalSwaptionExpiryTenorVolatilities. priceTheta(double expiry, double tenor, PutCall putCall, double strike, double forward, double volatility)doubleSabrParametersSwaptionVolatilities. priceTheta(double expiry, double tenor, PutCall putCall, double strike, double forward, double volatility)doubleSwaptionVolatilities. priceTheta(double expiry, double tenor, PutCall putCall, double strike, double forward, double volatility)Calculates the price theta.doubleBlackSwaptionExpiryTenorVolatilities. priceVega(double expiry, double tenor, PutCall putCall, double strike, double forward, double volatility)doubleNormalSwaptionExpirySimpleMoneynessVolatilities. priceVega(double expiry, double tenor, PutCall putCall, double strike, double forward, double volatility)doubleNormalSwaptionExpiryStrikeVolatilities. priceVega(double expiry, double tenor, PutCall putCall, double strike, double forward, double volatility)doubleNormalSwaptionExpiryTenorVolatilities. priceVega(double expiry, double tenor, PutCall putCall, double strike, double forward, double volatility)doubleSabrParametersSwaptionVolatilities. priceVega(double expiry, double tenor, PutCall putCall, double strike, double forward, double volatility)doubleSwaptionVolatilities. priceVega(double expiry, double tenor, PutCall putCall, double strike, double forward, double volatility)Calculates the price vega. -
Uses of PutCall in com.opengamma.strata.product.bond
Methods in com.opengamma.strata.product.bond that return PutCall Modifier and Type Method Description PutCallBondFutureOption. getPutCall()Gets whether the option is put or call.PutCallBondFutureOptionSecurity. getPutCall()Gets whether the option is put or call.PutCallResolvedBondFutureOption. getPutCall()Gets whether the option is put or call.Methods in com.opengamma.strata.product.bond that return types with arguments of type PutCall Modifier and Type Method Description org.joda.beans.MetaProperty<PutCall>BondFutureOption.Meta. putCall()The meta-property for theputCallproperty.org.joda.beans.MetaProperty<PutCall>BondFutureOptionSecurity.Meta. putCall()The meta-property for theputCallproperty.org.joda.beans.MetaProperty<PutCall>ResolvedBondFutureOption.Meta. putCall()The meta-property for theputCallproperty.Methods in com.opengamma.strata.product.bond with parameters of type PutCall Modifier and Type Method Description BondFutureOption.BuilderBondFutureOption.Builder. putCall(PutCall putCall)Sets whether the option is put or call.BondFutureOptionSecurity.BuilderBondFutureOptionSecurity.Builder. putCall(PutCall putCall)Sets whether the option is put or call.ResolvedBondFutureOption.BuilderResolvedBondFutureOption.Builder. putCall(PutCall putCall)Sets whether the option is put or call. -
Uses of PutCall in com.opengamma.strata.product.capfloor
Methods in com.opengamma.strata.product.capfloor that return PutCall Modifier and Type Method Description PutCallIborCapletFloorletBinaryPeriod. getPutCall()Gets put or call.PutCallIborCapletFloorletPeriod. getPutCall()Gets put or call.PutCallOvernightInArrearsCapletFloorletBinaryPeriod. getPutCall()Gets put or call.PutCallOvernightInArrearsCapletFloorletPeriod. getPutCall()Gets put or call. -
Uses of PutCall in com.opengamma.strata.product.common
Methods in com.opengamma.strata.product.common that return PutCall Modifier and Type Method Description static PutCallPutCall. of(String name)Obtains an instance from the specified name.static PutCallPutCall. ofPut(boolean isPut)Converts a boolean "is put" flag to the enum value.PutCallPutCall. opposite()Supplies the opposite of this value.static PutCallPutCall. valueOf(String name)Returns the enum constant of this type with the specified name.static PutCall[]PutCall. values()Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of PutCall in com.opengamma.strata.product.etd
Methods in com.opengamma.strata.product.etd that return PutCall Modifier and Type Method Description PutCallEtdOptionSecurity. getPutCall()Gets whether the option is a put or call.PutCallSplitEtdOption. getPutCall()Gets whether the option is a put or call.Methods in com.opengamma.strata.product.etd that return types with arguments of type PutCall Modifier and Type Method Description org.joda.beans.MetaProperty<PutCall>EtdOptionSecurity.Meta. putCall()The meta-property for theputCallproperty.Methods in com.opengamma.strata.product.etd with parameters of type PutCall Modifier and Type Method Description EtdOptionSecurityEtdContractSpec. createOption(YearMonth expiryMonth, EtdVariant variant, int version, PutCall putCall, double strikePrice)Creates an option security based on this contract specification.EtdOptionSecurityEtdContractSpec. createOption(YearMonth expiryMonth, EtdVariant variant, int version, PutCall putCall, double strikePrice, YearMonth underlyingExpiryMonth)Creates an option security based on this contract specification.static EtdOptionSecurityEtdOptionSecurity. of(EtdContractSpec spec, YearMonth expiry, EtdVariant variant, int version, PutCall putCall, double strikePrice)Obtains an instance from a contract specification, expiry year-month, variant, version, put/call and strike price.static EtdOptionSecurityEtdOptionSecurity. of(EtdContractSpec spec, YearMonth expiry, EtdVariant variant, int version, PutCall putCall, double strikePrice, YearMonth underlyingExpiryMonth)Obtains an instance from a contract specification, expiry year-month, variant, version, put/call, strike price and underlying expiry.static SplitEtdOptionSplitEtdOption. of(int version, PutCall putCall, double strikePrice)Obtains an instance.static SplitEtdOptionSplitEtdOption. of(int version, PutCall putCall, double strikePrice, YearMonth underlyingExpiryMonth)Obtains an instance.static SecurityIdEtdIdUtils. optionId(ExchangeId exchangeId, EtdContractCode contractCode, YearMonth expiryMonth, EtdVariant variant, int version, PutCall putCall, double strikePrice)Creates an identifier for an ETD option instrument.static SecurityIdEtdIdUtils. optionId(ExchangeId exchangeId, EtdContractCode contractCode, YearMonth expiryMonth, EtdVariant variant, int version, PutCall putCall, double strikePrice, YearMonth underlyingExpiryMonth)Creates an identifier for an ETD option instrument.EtdOptionSecurity.BuilderEtdOptionSecurity.Builder. putCall(PutCall putCall)Sets whether the option is a put or call. -
Uses of PutCall in com.opengamma.strata.product.fxopt
Methods in com.opengamma.strata.product.fxopt that return PutCall Modifier and Type Method Description PutCallResolvedFxVanillaOption. getPutCall()Returns the put/call flag.Methods in com.opengamma.strata.product.fxopt with parameters of type PutCall Modifier and Type Method Description static FxVanillaOptionFxVanillaOption. of(LongShort longShort, ZonedDateTime expiry, CurrencyPair currencyPair, PutCall putCall, double strike, double baseNotional, LocalDate paymentDate)Creates an equivalentFxVanillaOptionusing currency pair, option expiry, call/put flag, strike, base currency notional, and underlying payment date. -
Uses of PutCall in com.opengamma.strata.product.index
Methods in com.opengamma.strata.product.index that return PutCall Modifier and Type Method Description PutCallIborFutureOption. getPutCall()Gets whether the option is put or call.PutCallIborFutureOptionSecurity. getPutCall()Gets whether the option is put or call.PutCallResolvedIborFutureOption. getPutCall()Gets whether the option is put or call.Methods in com.opengamma.strata.product.index that return types with arguments of type PutCall Modifier and Type Method Description org.joda.beans.MetaProperty<PutCall>IborFutureOption.Meta. putCall()The meta-property for theputCallproperty.org.joda.beans.MetaProperty<PutCall>IborFutureOptionSecurity.Meta. putCall()The meta-property for theputCallproperty.org.joda.beans.MetaProperty<PutCall>ResolvedIborFutureOption.Meta. putCall()The meta-property for theputCallproperty.Methods in com.opengamma.strata.product.index with parameters of type PutCall Modifier and Type Method Description IborFutureOption.BuilderIborFutureOption.Builder. putCall(PutCall putCall)Sets whether the option is put or call.IborFutureOptionSecurity.BuilderIborFutureOptionSecurity.Builder. putCall(PutCall putCall)Sets whether the option is put or call.ResolvedIborFutureOption.BuilderResolvedIborFutureOption.Builder. putCall(PutCall putCall)Sets whether the option is put or call.
-