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 LongShort
LoaderUtils. 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 LongShort
FixedCouponBondOption. getLongShort()
Gets whether the option is long or short.LongShort
ResolvedFixedCouponBondOption. 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 thelongShort
property.org.joda.beans.MetaProperty<LongShort>
ResolvedFixedCouponBondOption.Meta. longShort()
The meta-property for thelongShort
property.Methods in com.opengamma.strata.product.bond with parameters of type LongShort Modifier and Type Method Description FixedCouponBondOption.Builder
FixedCouponBondOption.Builder. longShort(LongShort longShort)
Sets whether the option is long or short.ResolvedFixedCouponBondOption.Builder
ResolvedFixedCouponBondOption.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 LongShort
LongShort. of(String name)
Obtains an instance from the specified name.static LongShort
LongShort. ofLong(boolean isLong)
Converts a boolean "is long" flag to the enum value.LongShort
LongShort. opposite()
Supplies the opposite of this value.static LongShort
LongShort. 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 LongShort
FxVanillaOption. getLongShort()
Gets whether the option is long or short.LongShort
ResolvedFxVanillaOption. 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 thelongShort
property.org.joda.beans.MetaProperty<LongShort>
ResolvedFxVanillaOption.Meta. longShort()
The meta-property for thelongShort
property.Methods in com.opengamma.strata.product.fxopt with parameters of type LongShort Modifier and Type Method Description FxVanillaOption.Builder
FxVanillaOption.Builder. longShort(LongShort longShort)
Sets whether the option is long or short.ResolvedFxVanillaOption.Builder
ResolvedFxVanillaOption.Builder. longShort(LongShort longShort)
Sets whether the option is long or short.static FxVanillaOption
FxVanillaOption. of(LongShort longShort, ZonedDateTime expiry, CurrencyPair currencyPair, PutCall putCall, double strike, double baseNotional, LocalDate paymentDate)
Creates an equivalentFxVanillaOption
using 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 LongShort
ResolvedSwaption. getLongShort()
Gets whether the option is long or short.LongShort
Swaption. 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 thelongShort
property.org.joda.beans.MetaProperty<LongShort>
Swaption.Meta. longShort()
The meta-property for thelongShort
property.Methods in com.opengamma.strata.product.swaption with parameters of type LongShort Modifier and Type Method Description ResolvedSwaption.Builder
ResolvedSwaption.Builder. longShort(LongShort longShort)
Sets whether the option is long or short.Swaption.Builder
Swaption.Builder. longShort(LongShort longShort)
Sets whether the option is long or short.
-