LSEG Data Library for Python

bond.RoundingParameters

Creates a bond.RoundingParameters object.

Syntax

bond.RoundingParameters(accrued_rounding, accrued_rounding_type, ...)

Parameters

Value Description Data type Optional Default value
accrued_rounding The number of digits to apply for accrued rounding.(See Rounding.) enum Yes -
accrued_rounding_type The type of rounding for accrued rounding. (See RoundingType) enum Yes -
price_rounding The number of digits to apply for accrued rounding. (See Rounding) enum Yes -
price_rounding_type The type of rounding for accrued rounding.(See RoundingType) enum Yes -
yield_rounding The number of digits to apply for accrued rounding.(See Rounding) enum Yes -
yield_rounding_type The type of rounding for accrued rounding. (See RoundingType) enum Yes -
spread_rounding The type of rounding for accrued rounding. (See RoundingType) enum Yes -
spread_rounding_type The type of rounding for accrued rounding. (See RoundingType) enum Yes -
120 words (0:38 mins)