Uses of Class
com.opengamma.strata.product.common.LongShort
-
Packages that use LongShort Package Description com.opengamma.strata.loader Tools for loading data from files.com.opengamma.strata.product.bond Entity objects describing bonds.com.opengamma.strata.product.common Entity objects shared between other packages.com.opengamma.strata.product.fxopt Entity objects describing options in the foreign exchange market.com.opengamma.strata.product.swaption Entity objects describing options on swaps, known as swaptions. -
-
Uses of LongShort in com.opengamma.strata.loader
Methods in com.opengamma.strata.loader that return LongShort Modifier and Type Method Description static LongShortLoaderUtils. parseLongShort(String str)Parses long/short from the input string. -
Uses of LongShort in com.opengamma.strata.product.bond
Methods in com.opengamma.strata.product.bond that return LongShort Modifier and Type Method Description LongShortFixedCouponBondOption. getLongShort()Gets whether the option is long or short.LongShortResolvedFixedCouponBondOption. getLongShort()Gets whether the option is long or short.Methods in com.opengamma.strata.product.bond that return types with arguments of type LongShort Modifier and Type Method Description org.joda.beans.MetaProperty<LongShort>FixedCouponBondOption.Meta. longShort()The meta-property for thelongShortproperty.org.joda.beans.MetaProperty<LongShort>ResolvedFixedCouponBondOption.Meta. longShort()The meta-property for thelongShortproperty.Methods in com.opengamma.strata.product.bond with parameters of type LongShort Modifier and Type Method Description FixedCouponBondOption.BuilderFixedCouponBondOption.Builder. longShort(LongShort longShort)Sets whether the option is long or short.ResolvedFixedCouponBondOption.BuilderResolvedFixedCouponBondOption.Builder. longShort(LongShort longShort)Sets whether the option is long or short. -
Uses of LongShort in com.opengamma.strata.product.common
Methods in com.opengamma.strata.product.common that return LongShort Modifier and Type Method Description static LongShortLongShort. of(String name)Obtains an instance from the specified name.static LongShortLongShort. ofLong(boolean isLong)Converts a boolean "is long" flag to the enum value.LongShortLongShort. opposite()Supplies the opposite of this value.static LongShortLongShort. valueOf(String name)Returns the enum constant of this type with the specified name.static LongShort[]LongShort. values()Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of LongShort in com.opengamma.strata.product.fxopt
Methods in com.opengamma.strata.product.fxopt that return LongShort Modifier and Type Method Description LongShortFxVanillaOption. getLongShort()Gets whether the option is long or short.LongShortResolvedFxVanillaOption. getLongShort()Gets whether the option is long or short.Methods in com.opengamma.strata.product.fxopt that return types with arguments of type LongShort Modifier and Type Method Description org.joda.beans.MetaProperty<LongShort>FxVanillaOption.Meta. longShort()The meta-property for thelongShortproperty.org.joda.beans.MetaProperty<LongShort>ResolvedFxVanillaOption.Meta. longShort()The meta-property for thelongShortproperty.Methods in com.opengamma.strata.product.fxopt with parameters of type LongShort Modifier and Type Method Description FxVanillaOption.BuilderFxVanillaOption.Builder. longShort(LongShort longShort)Sets whether the option is long or short.ResolvedFxVanillaOption.BuilderResolvedFxVanillaOption.Builder. longShort(LongShort longShort)Sets whether the option is long or short.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 LongShort in com.opengamma.strata.product.swaption
Methods in com.opengamma.strata.product.swaption that return LongShort Modifier and Type Method Description LongShortResolvedSwaption. getLongShort()Gets whether the option is long or short.LongShortSwaption. getLongShort()Gets whether the option is long or short.Methods in com.opengamma.strata.product.swaption that return types with arguments of type LongShort Modifier and Type Method Description org.joda.beans.MetaProperty<LongShort>ResolvedSwaption.Meta. longShort()The meta-property for thelongShortproperty.org.joda.beans.MetaProperty<LongShort>Swaption.Meta. longShort()The meta-property for thelongShortproperty.Methods in com.opengamma.strata.product.swaption with parameters of type LongShort Modifier and Type Method Description ResolvedSwaption.BuilderResolvedSwaption.Builder. longShort(LongShort longShort)Sets whether the option is long or short.Swaption.BuilderSwaption.Builder. longShort(LongShort longShort)Sets whether the option is long or short.
-