## Uses of Interfacecom.opengamma.strata.basics.value.Rounding

• Packages that use Rounding
Package Description
com.opengamma.strata.basics.value
Basic financial tools for working with values.
com.opengamma.strata.product.bond
Entity objects describing bonds.
com.opengamma.strata.product.index
Entity objects describing contracts based on rate indices.
• ### Uses of Rounding in com.opengamma.strata.basics.value

Methods in com.opengamma.strata.basics.value that return Rounding
Modifier and Type Method Description
static Rounding Rounding.none()
Obtains an instance that performs no rounding.
static Rounding Rounding.of​(Currency currency)
Obtains an instance that rounds to the number of minor units in the currency.
static Rounding Rounding.ofDecimalPlaces​(int decimalPlaces)
Obtains an instance that rounds to the specified number of decimal places.
static Rounding Rounding.ofFractionalDecimalPlaces​(int decimalPlaces, int fraction)
Obtains an instance from the number of decimal places and fraction.
• ### Uses of Rounding in com.opengamma.strata.product.bond

Methods in com.opengamma.strata.product.bond that return Rounding
Modifier and Type Method Description
Rounding BondFuture.getRounding()
Gets the definition of how to round the futures price, defaulted to no rounding.
Rounding BondFutureOption.getRounding()
Gets the definition of how to round the option price, defaulted to no rounding.
Rounding BondFutureOptionSecurity.getRounding()
Gets the definition of how to round the option price, defaulted to no rounding.
Rounding BondFutureSecurity.getRounding()
Gets the definition of how to round the futures price, defaulted to no rounding.
Rounding ResolvedBondFuture.getRounding()
Gets the definition of how to round the futures price, defaulted to no rounding.
Rounding ResolvedBondFutureOption.getRounding()
Gets the definition of how to round the option price, defaulted to no rounding.
Methods in com.opengamma.strata.product.bond that return types with arguments of type Rounding
Modifier and Type Method Description
MetaProperty<Rounding> BondFuture.Meta.rounding()
The meta-property for the rounding property.
MetaProperty<Rounding> BondFutureOption.Meta.rounding()
The meta-property for the rounding property.
MetaProperty<Rounding> BondFutureOptionSecurity.Meta.rounding()
The meta-property for the rounding property.
MetaProperty<Rounding> BondFutureSecurity.Meta.rounding()
The meta-property for the rounding property.
MetaProperty<Rounding> ResolvedBondFuture.Meta.rounding()
The meta-property for the rounding property.
MetaProperty<Rounding> ResolvedBondFutureOption.Meta.rounding()
The meta-property for the rounding property.
Methods in com.opengamma.strata.product.bond with parameters of type Rounding
Modifier and Type Method Description
BondFuture.Builder BondFuture.Builder.rounding​(Rounding rounding)
Sets the definition of how to round the futures price, defaulted to no rounding.
BondFutureOption.Builder BondFutureOption.Builder.rounding​(Rounding rounding)
Sets the definition of how to round the option price, defaulted to no rounding.
BondFutureOptionSecurity.Builder BondFutureOptionSecurity.Builder.rounding​(Rounding rounding)
Sets the definition of how to round the option price, defaulted to no rounding.
BondFutureSecurity.Builder BondFutureSecurity.Builder.rounding​(Rounding rounding)
Sets the definition of how to round the futures price, defaulted to no rounding.
ResolvedBondFuture.Builder ResolvedBondFuture.Builder.rounding​(Rounding rounding)
Sets the definition of how to round the futures price, defaulted to no rounding.
ResolvedBondFutureOption.Builder ResolvedBondFutureOption.Builder.rounding​(Rounding rounding)
Sets the definition of how to round the option price, defaulted to no rounding.
• ### Uses of Rounding in com.opengamma.strata.product.index

Methods in com.opengamma.strata.product.index that return Rounding
Modifier and Type Method Description
Rounding IborFuture.getRounding()
Gets the definition of how to round the futures price, defaulted to no rounding.
Rounding IborFutureOption.getRounding()
Gets the definition of how to round the option price, defaulted to no rounding.
Rounding IborFutureOptionSecurity.getRounding()
Gets the definition of how to round the option price, defaulted to no rounding.
Rounding IborFutureSecurity.getRounding()
Gets the definition of how to round the futures price, defaulted to no rounding.
Rounding OvernightFuture.getRounding()
Gets the definition of how to round the futures price, defaulted to no rounding.
Rounding OvernightFutureSecurity.getRounding()
Gets the definition of how to round the futures price, defaulted to no rounding.
Rounding ResolvedIborFuture.getRounding()
Gets the definition of how to round the futures price, defaulted to no rounding.
Rounding ResolvedIborFutureOption.getRounding()
Gets the definition of how to round the option price, defaulted to no rounding.
Rounding ResolvedOvernightFuture.getRounding()
Gets the definition of how to round the futures price, defaulted to no rounding.
Methods in com.opengamma.strata.product.index that return types with arguments of type Rounding
Modifier and Type Method Description
MetaProperty<Rounding> IborFuture.Meta.rounding()
The meta-property for the rounding property.
MetaProperty<Rounding> IborFutureOption.Meta.rounding()
The meta-property for the rounding property.
MetaProperty<Rounding> IborFutureOptionSecurity.Meta.rounding()
The meta-property for the rounding property.
MetaProperty<Rounding> IborFutureSecurity.Meta.rounding()
The meta-property for the rounding property.
MetaProperty<Rounding> OvernightFuture.Meta.rounding()
The meta-property for the rounding property.
MetaProperty<Rounding> OvernightFutureSecurity.Meta.rounding()
The meta-property for the rounding property.
MetaProperty<Rounding> ResolvedIborFuture.Meta.rounding()
The meta-property for the rounding property.
MetaProperty<Rounding> ResolvedIborFutureOption.Meta.rounding()
The meta-property for the rounding property.
MetaProperty<Rounding> ResolvedOvernightFuture.Meta.rounding()
The meta-property for the rounding property.
Methods in com.opengamma.strata.product.index with parameters of type Rounding
Modifier and Type Method Description
IborFuture.Builder IborFuture.Builder.rounding​(Rounding rounding)
Sets the definition of how to round the futures price, defaulted to no rounding.
IborFutureOption.Builder IborFutureOption.Builder.rounding​(Rounding rounding)
Sets the definition of how to round the option price, defaulted to no rounding.
IborFutureOptionSecurity.Builder IborFutureOptionSecurity.Builder.rounding​(Rounding rounding)
Sets the definition of how to round the option price, defaulted to no rounding.
IborFutureSecurity.Builder IborFutureSecurity.Builder.rounding​(Rounding rounding)
Sets the definition of how to round the futures price, defaulted to no rounding.
OvernightFuture.Builder OvernightFuture.Builder.rounding​(Rounding rounding)
Sets the definition of how to round the futures price, defaulted to no rounding.
OvernightFutureSecurity.Builder OvernightFutureSecurity.Builder.rounding​(Rounding rounding)
Sets the definition of how to round the futures price, defaulted to no rounding.
ResolvedIborFuture.Builder ResolvedIborFuture.Builder.rounding​(Rounding rounding)
Sets the definition of how to round the futures price, defaulted to no rounding.
ResolvedIborFutureOption.Builder ResolvedIborFutureOption.Builder.rounding​(Rounding rounding)
Sets the definition of how to round the option price, defaulted to no rounding.
ResolvedOvernightFuture.Builder ResolvedOvernightFuture.Builder.rounding​(Rounding rounding)
Sets the definition of how to round the futures price, defaulted to no rounding.